Commit Graph

531 Commits (ad0e70ba83d3b7d08127b0a32b73d977dff0dac5)

Author SHA1 Message Date
Brett Bryant 9de3352554 Merged revisions 285711 via svnmerge from
15 years ago
Russell Bryant 2c75d02066 Merged revisions 282015 via svnmerge from
15 years ago
Russell Bryant a5ccfb570c Merged revisions 281982 via svnmerge from
15 years ago
Tilghman Lesher af43e57821 Merged revisions 280984 via svnmerge from
15 years ago
Matthew Nicholson 1c848835aa Merged revisions 277327 via svnmerge from
15 years ago
Richard Mudgett ec37ffbdaf ast_callerid restructuring
15 years ago
Eliel C. Sardanons a1b89a6a50 Implement AstData API data providers as part of the GSOC 2010 project,
15 years ago
Tilghman Lesher 8fe8d98dba Uh, yeah.
15 years ago
Tilghman Lesher a3342f0c67 Send DialPlanComplete as a response, not as a separate event.
15 years ago
Tilghman Lesher 7037dd6680 Merged revisions 270583 via svnmerge from
15 years ago
Leif Madsen c672763af8 Fix some doxygen warnings.
15 years ago
Tilghman Lesher 815d7bfe44 Let ExtensionState resolve dynamic hints.
15 years ago
Mark Michelson 10d65ad6b1 Fix potential invalid reads that could occur in pbx.c
15 years ago
Russell Bryant a0d74cef66 Use memmove() instead of memcpy() for a case where the buffers overlap.
15 years ago
Mark Michelson 630b8027c3 Merged revisions 243486 via svnmerge from
15 years ago
Olle Johansson 7c61a7105f Change api for pbx_builtin_setvar to actually return error code if a function can't be written to.
15 years ago
Alec L Davis c7be027151 Update CDR variables as pbx starts
15 years ago
Jeff Peeler 8fd9401e3d Initialize data on the stack so that Park doesn't interpret random arguments.
15 years ago
Sean Bright 9e02292e5c Avoid a crash on Solaris when running 'core show functions.'
15 years ago
Sean Bright e612d87695 Convert a few places to use ast_calloc_with_stringfields where applicable.
16 years ago
Tilghman Lesher 3eb8f0a8dc Similarly, ensure that matchcid is duplicated correctly when merging contexts.
16 years ago
Tilghman Lesher 20e57b12e8 Ensure that the callerid is NULL when the parent is effectively NULL.
16 years ago
Tilghman Lesher 87ea570ef1 Oops, another tag error
16 years ago
Tilghman Lesher b01df91513 Oops, missed a closing tag
16 years ago
Tilghman Lesher ecbe7eff7a Add the TESTTIME() dialplan function, which permits testing GotoIfTime.
16 years ago
Tilghman Lesher d80a38310a Blank callerid and NULL callerid should not compare equal.
16 years ago
David Vossel bebe42f3a7 fixes subscriptions being lost after 'module reload'
16 years ago
Tilghman Lesher 7acf8196d0 Merged revisions 237493 via svnmerge from
16 years ago
Tilghman Lesher 386b847075 Merged revisions 237405 via svnmerge from
16 years ago
Tilghman Lesher e4c1fc1e4a Merged revisions 235421 via svnmerge from
16 years ago
Tilghman Lesher d32c333f7c Trim leading/trailing spaces from the filename, to deal with common user error.
16 years ago
David Vossel 176c8a0185 Merged revisions 231853 via svnmerge from
16 years ago
David Brooks bac499e521 Merged revisions 229498 via svnmerge from
16 years ago
Tilghman Lesher 4c8319190b Merged revisions 229360 via svnmerge from
16 years ago
Tilghman Lesher d8e0c58437 Expand codec bitfield from 32 bits to 64 bits.
16 years ago
Tilghman Lesher 496282194c Merged revisions 225105 via svnmerge from
16 years ago
Tilghman Lesher c74a2d0b45 Create an API for adding an optional time unit onto the ends of time periods.
16 years ago
David Vossel 9456ab2724 Deadlock in channel masquerade handling
16 years ago
Tilghman Lesher 1cf5422dc8 Merged revisions 220288 via svnmerge from
16 years ago
David Brooks 077b44c43f Merged revisions 218867 via svnmerge from
16 years ago
Tilghman Lesher 1ca9bc4e1e Check the origination priority for more matches, not the current priority.
16 years ago
Tilghman Lesher ad69df830d Enable turning off the application delimiter warning with the 'dontwarn' option.
16 years ago
Olle Johansson 98f18d56b8 Merged revisions 216430 via svnmerge from
16 years ago
Tilghman Lesher c1b4f0c4c9 Merged revisions 213970 via svnmerge from
16 years ago
Tilghman Lesher 642bec4d6f AST-2009-005
16 years ago
Matthew Nicholson a638000451 Fix a CEL related regression with hints updating by subscribing to AST_DEVICE_STATE instead of AST_DEVICE_STATE_CHANGED.
16 years ago
David Vossel e39a252b1e Merged revisions 205409 via svnmerge from
16 years ago
David Vossel 48c9a85d91 Merged revisions 204681 via svnmerge from
16 years ago
Russell Bryant cce4fad522 Make invalid hints report Unavailable instead of Idle.
16 years ago
Russell Bryant 0264eef115 Merge the new Channel Event Logging (CEL) subsystem.
16 years ago
David Brooks df649a8671 Fixes the argument order in definition of new_find_extension().
16 years ago
Sean Bright 3abe8a963e Add new ast_complete_applications function so that we can use it with the
16 years ago
Eliel C. Sardanons 2c882626a0 Implement a new element in AstXML for AMI actions documentation.
16 years ago
Sean Bright fcda626f3c Fix build under dev mode and remove some casts that are no longer necessary as
16 years ago
Eliel C. Sardanons bb838bc67a Avoid using prototypes when not necessary (it is already defined in the header
16 years ago
Kevin P. Fleming e6b2e9a750 Const-ify the world (or at least a good part of it)
16 years ago
Eliel C. Sardanons d24179825f Warn about the use of the application WaitExten() within a Macro().
16 years ago
Eliel C. Sardanons 766972a3cd Fix a missing unlock in case of error, and a missing free().
16 years ago
Tilghman Lesher 5a3797643c If the timing ended on a zero, then we would loop forever.
16 years ago
Tilghman Lesher b399b5389d Merged revisions 194137 via svnmerge from
16 years ago
Tilghman Lesher c524f905a6 Two fixes found while debugging with ast_backtrace():
16 years ago
Kevin P. Fleming 1c988d8996 add 'const' qualifiers in various places where they should have been
16 years ago
Tilghman Lesher 9cd0a94aeb Merged revisions 193119 via svnmerge from
16 years ago
Jeff Peeler 658f81cb57 If no extension was found in the pattern tree, don't crash.
16 years ago
Tilghman Lesher ec37b8e527 Part of the merge did not happen correctly, which resulted in a compile error
16 years ago
Tilghman Lesher a866a75900 Merge str_substitution branch.
16 years ago
Tilghman Lesher b88343b248 Don't warn on pipe in the System call.
16 years ago
Russell Bryant cba19c8a67 Convert the ast_channel data structure over to the astobj2 framework.
16 years ago
Tilghman Lesher d6c48bc134 Labels are sometimes (most of the time?) NULL for extensions.
16 years ago
Matthew Nicholson 37213d492e Merged revisions 189009 via svnmerge from
16 years ago
Mark Michelson f7292de7ba Fix a spacing issue that I claimed I would when I committed this code.
16 years ago
Mark Michelson 6c29f76d2c Several fixes to the extenpatternmatchnew logic.
16 years ago
Tilghman Lesher a74fda63fd As suggested by Russell, warn users when their dialplan arguments contain pipes, but not commas.
16 years ago
Tilghman Lesher 1030a25ac9 Modify headers and macros, according to Russell's suggestions on the -dev list
16 years ago
Jeff Peeler de4af72f9f Add ability for dialplan execution to continue when caller hangs up.
16 years ago
Russell Bryant b564b2105f Change g_eid to ast_eid_default.
16 years ago
Tilghman Lesher ac7e490b94 Spacing changes only
16 years ago
Tilghman Lesher 4ec79becd3 Merged revisions 177786 via svnmerge from
16 years ago
Steve Murphy 0fe1df19df This patch fixes merge_contexts_and_delete so it does not deadlock when hints are present.
16 years ago
Russell Bryant a844cfa904 Fix a number of incorrect uses of strncpy().
16 years ago
Russell Bryant 4ec301360c Merge a large set of updates to the Asterisk indications API.
16 years ago
Russell Bryant 184872fdfd Fix a race condition that caused device states to become incorrect for hints.
16 years ago
Russell Bryant 6a0773602a add missing </para>
16 years ago
Mark Michelson 47ebea6a8d Fix 'd' option for app_dial and add new option to Answer application
16 years ago
Tilghman Lesher f90021fdd0 Ensure that commas placed in the middle of extension character classes do not
16 years ago
Steve Murphy 268ac221a2 Merged revisions 172030 via svnmerge from
16 years ago
Joshua Colp 49785e775e Merged revisions 170050 via svnmerge from
16 years ago
Joshua Colp 99f31b91cf Merged revisions 169867 via svnmerge from
16 years ago
Russell Bryant ef6ad2b53c Merged revisions 168561 via svnmerge from
17 years ago
Steve Murphy aa905e347e Merged revisions 166093 via svnmerge from
17 years ago
Russell Bryant 50a25ac847 Remove the need for AST_PBX_KEEPALIVE with the GoSub option from Dial.
17 years ago
Tilghman Lesher 27cbfc1bd5 Add timezone to the possible fields in a timespec.
17 years ago
Steve Murphy 9de00f16f6 (closes issue #14076)
17 years ago
Steve Murphy eb73f5673a Merged revisions 164634 via svnmerge from
17 years ago
Tilghman Lesher c8223fc957 Merge ast_str_opaque branch (discontinue usage of ast_str internals)
17 years ago
Tilghman Lesher 8c89090160 Previously missing line, now the substitution works correctly
17 years ago
Tilghman Lesher 689465ba98 Checking global variables here actually overwrote the previous substitution by
17 years ago
Mark Michelson 5f4dc23293 Merged revisions 162265 via svnmerge from
17 years ago
Brandon Kruse 390b5bbcd6 Note that the recently changed waittime parameter is in milliseconds.
17 years ago
Joshua Colp db99faa00d Fix a regression introduced when the PBX timeouts were converted to milliseconds. collect_digits now gets milliseconds fed to it, not seconds.
17 years ago
Russell Bryant de811c9490 Merged revisions 161287 via svnmerge from
17 years ago
Eliel C. Sardanons 1e8e12efcf Janitor, use ARRAY_LEN() when possible.
17 years ago
Tilghman Lesher 3d4c0cd421 Merged revisions 160207 via svnmerge from
17 years ago
Russell Bryant bcde91337b Make a formatting change to test a new post-commit hook for reviewboard.
17 years ago
Russell Bryant bd341895b3 Make a formatting change to test a new post-commit hook for reviewboard.
17 years ago
Russell Bryant 40a52b50fa Make a formatting change to test a new post-commit hook for reviewboard.
17 years ago
Tilghman Lesher f9461535d3 Don't limit the length of the hint at the final step (from ~8100 chars max
17 years ago
Tilghman Lesher 35213dff98 Allow space within an extension, when the space is within a character class.
17 years ago
Tilghman Lesher 7bd6f1744b Merged revisions 158600 via svnmerge from
17 years ago
Jeff Peeler 93a59f5bda (closes issue #13891)
17 years ago
Steve Murphy 449c012c68 Merged revisions 156297 via svnmerge from
17 years ago
Michiel van Baak 86f900b201 This commit does two things:
17 years ago
Eliel C. Sardanons 23adb8e509 Move all the XML documentation API from pbx.c to xmldoc.c.
17 years ago
Russell Bryant 1a239454f1 Fix some code in chan_sip that was intended to unlink multiple objects from a
17 years ago
Eliel C. Sardanons 9cc7bc998b If 'asterisk.conf' is not found, instead of giving up,
17 years ago
Eliel C. Sardanons 65d4d1eb0f Fix an asterisk crash if no asterisk.conf configuration file is present.
17 years ago
Eliel C. Sardanons e771f08f60 Simplify the output of [See Also].
17 years ago
Eliel C. Sardanons 990a6bebe8 Add more SeeAlso references based on TFOT.
17 years ago
Eliel C. Sardanons f18699be24 - Add more <see-also> based on TFOT.
17 years ago
Sean Bright f349f18eaa GLOB_BRACE is already added to MY_GLOB_FLAGS if it is supported on the
17 years ago
Russell Bryant 5b168ee34b Merge changes from team/group/appdocsxml
17 years ago
Tilghman Lesher fa06ce2e6c Track down and fix annoying lock errors
17 years ago
Steve Murphy db7299f4bc Hmmm. Nobody (but me) is interested in seeing
17 years ago
Steve Murphy e235a07376 (closes issue #13557)
17 years ago
Steve Murphy 579177ae80 Merged revisions 144677 via svnmerge from
17 years ago
Steve Murphy e74584ca3c (closes issue #13557)
17 years ago
Steve Murphy 67f7ac0499 Merged revisions 142675 via svnmerge from
17 years ago
Russell Bryant 1452b6dd97 Merged revisions 141806 via svnmerge from
17 years ago
Steve Murphy 068859119a In these changes, I have added some explanation
17 years ago
Russell Bryant 4e105063a8 Formatting change to test something on the svn server
17 years ago
Steve Murphy 1c79a23b8e Merged revisions 140670 via svnmerge from
17 years ago
Steve Murphy ea898dc6c3 Merged revisions 139764 via svnmerge from
17 years ago
Steve Murphy 2488366a75 Merged revisions 139347 via svnmerge from
17 years ago
Steve Murphy 04795d963f These changes are in regards to bug 13249, where users are being surprised by the changes made
17 years ago
Tilghman Lesher f4586f3018 Also make sure hinting won't crash on reload.
17 years ago
Tilghman Lesher 3a5eb27579 Remove deprecated syntax from sample config file
17 years ago
Tilghman Lesher d5c673e441 Change free to ast_free_ptr, too
17 years ago
Tilghman Lesher af69ec03ed e->data can be NULL, so use the safe version of ast_strdup()
17 years ago
Sean Bright 790fde68d9 Another batch of files from RSW. The remaining apps and a few more
17 years ago
Mark Michelson 316fb598d2 Don't allow Answer() to accept a negative argument.
17 years ago
Kevin P. Fleming 7df8b8b848 make datastore creation and destruction a generic API since it is not really channel related, and add the ability to add/find/remove datastores to manager sessions
17 years ago
Steve Murphy 9051edfa4a (closes issue #13202)
17 years ago
Steve Murphy 1adecc56eb (closes issue #13144)
17 years ago
Tilghman Lesher 1517710d7e Change several 'core' commands to be 'dialplan' commands (with appropriate
17 years ago
Steve Murphy a1fe3d917f (closes issue #12960)
17 years ago
Tilghman Lesher 49715c05f1 Merged revisions 130959 via svnmerge from
17 years ago
Steve Murphy 42942b790d (closes issue #13041)
17 years ago
Steve Murphy 2ca242b2ba (closes issue #13041)
17 years ago
Matthew Fredrickson 0b185a2276 Add Proceeding() application (#13025)
17 years ago
Tilghman Lesher 4ff527903e Code wasn't ready to be merged - see -dev list discussion
17 years ago
Brett Bryant d185405755 Janitor project to convert sizeof to ARRAY_LEN macro.
17 years ago
Olle Johansson 6f400edeab Changing name of global api call to ast_*
17 years ago
Olle Johansson 45e79490ba Implement flags for AGI in the channel structure so taht "show channels" and
17 years ago
Tilghman Lesher 12e5c68622 Merged revisions 127973 via svnmerge from
17 years ago
Steve Murphy bc2cfb3e81 Merged revisions 127663 via svnmerge from
17 years ago
Tilghman Lesher 6d5b1d76ab If we don't match registrar when destroying a context, it can cause a crash.
17 years ago
Steve Murphy f4c85ebd22 (closes issue #12689)
17 years ago
Russell Bryant e9d72e0cb2 Merge another big set of changes from team/russell/events
17 years ago
Russell Bryant 42c1e3601e Merge another change from team/russell/events
17 years ago
Russell Bryant f4a8062e93 Merge another change from team/russell/events ...
17 years ago
Tilghman Lesher 2d825ed7de Implement FINDLABEL matching for the new extension matching engine.
17 years ago
Tilghman Lesher ab988ac6f4 Make extension match characters case-insensitive.
17 years ago
Steve Murphy d0384ab3aa a small fix for a crash that occurs when compiling AEL with global vars
17 years ago
Tilghman Lesher 12cf254253 MSet doesn't necessarily need chan to be set
17 years ago
Tilghman Lesher 76506b7baa Move compatibility options into asterisk.conf, default them to on for upgrades,
17 years ago
Tilghman Lesher 316e334751 Change space-zero to now evaluate to false, as is expected by a great many.
17 years ago
Joshua Colp 0d85a0eff7 Add a missing context unlock.
17 years ago
Jeff Peeler 4729632721 Fixed a few problems with multiparking: call not being parked in the correct parking spot, caller not being notified of parking spot position, and improperly hanging up the call during a transfer due to timing out (not providing the extension in which to transfer).
17 years ago
Russell Bryant e40c662a06 Merged revisions 115551 via svnmerge from
17 years ago
Dwayne M. Hubbard ca4ae77c91 pbx uses a taskprocessor for device state changes
17 years ago
Tilghman Lesher b5a127daac Modify TIMEOUT() to be accurate down to the millisecond.
17 years ago
Tilghman Lesher 6a81da594d Add incomplete matching to PBX code and app_dial
17 years ago
Joshua Colp c3dd5e3e27 Merged revisions 114579 via svnmerge from
17 years ago
Steve Murphy 76155d60ce (closes issue #12469)
17 years ago
Jason Parker 6f549bc324 Allow setqueuevar=yes (et al) to work, after changes to pbx_builtin_setvar()
17 years ago
Steve Murphy 5b4222c9de These changes:
17 years ago
Mark Michelson 28bd5d88c1 There was a subtle logical difference between 1.4 and trunk with regards to how timeouts
17 years ago
Steve Murphy da41d47a83 Bumped across another test set for the new exten pattern matcher, which revealed a problem with the CANMATCH/MATCHMORE modes. Direct matches were getting in the way. Fixed.
17 years ago
Steve Murphy 2fb0bfba35 (closes issue #12298)
17 years ago
Steve Murphy 3d4cb09ae8 comment cleanup and iron out a really dumb mistake in handling the '.'-wildcard in the new exten pattern matcher.
17 years ago
Steve Murphy 6928ccfa02 Merged revisions 111391 via svnmerge from
17 years ago
Joshua Colp e097cc7221 Add the ability to use a pattern match for a hint.
17 years ago
Russell Bryant 4c6486782f Fix some more breakage that I introduced when changing extension state callbacks to the list macros.
17 years ago
Russell Bryant 89ad4ace67 Remove an unneeded variable. This compiled, but I missed the uninitialized warning
17 years ago
Russell Bryant b47eee2187 Convert handling of extension state callbacks to the list macros.
17 years ago
Russell Bryant e1bd198bc0 Minor coding style changes, including adding handling for memory allocation failure
17 years ago
Steve Murphy 0af58d3f5c (closes issue #12238)
17 years ago
Russell Bryant 072eb8a913 Remove a double write lock of the contexts lock in ast_wrlock_contexts().
17 years ago
Tilghman Lesher bdad3c9889 (closes issue #6019)
17 years ago
Russell Bryant 0ee1f43b4a Merged revisions 107161 via svnmerge from
17 years ago
Russell Bryant 2d95fb33bd Merged revisions 107158 via svnmerge from
17 years ago
Steve Murphy 377e51c4d4 (closes issue #6002)
17 years ago
Mark Michelson 924b7d3636 Merged revisions 106437 via svnmerge from
17 years ago
Tilghman Lesher cfc1df4c1a Whitespace changes only
17 years ago
Russell Bryant 6d3b251588 - Add curly braces around the while loop
17 years ago
Russell Bryant 71173779dc Use ast_copy_string() instead of strncpy(), and use sizeof() instead of
17 years ago
Jason Parker 62c63a8412 Merged revisions 105005 via svnmerge from
17 years ago
Joshua Colp 2a7eac9940 Add an 'e' option to ResetCDR which re-enables a CDR that has been disabled.
17 years ago
Joshua Colp e6a260c747 Add an API call (ast_async_parseable_goto) which parses a goto string and does an async goto instead of an explicit goto.
17 years ago
Tilghman Lesher 26755e3882 Context tracing for channels
17 years ago