Commit Graph

297 Commits (b605bdff0c8788330368b8863d95dfb51b7df677)

Author SHA1 Message Date
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.
18 years ago
Tilghman Lesher 26755e3882 Context tracing for channels
18 years ago
Mark Michelson 566a005512 Add proper "false" case behavior to GotoIfTime
18 years ago
Joshua Colp c81350d6f6 Just some minor coding style cleanup...
18 years ago
Joshua Colp ef267cd838 Fix Manager Redirect while in an AGI.
18 years ago
Russell Bryant 1ec8cb41a8 Merge changes from team/mvanbaak/cli-command-audit
18 years ago
Mark Michelson fe9821cc10 Get rid of any remaining ast_verbose calls in the code in favor of
18 years ago
Jason Parker dc6e5d6aae Change where priority of a goto is adjusted.
18 years ago
Joshua Colp c6fc44f927 Update handling of asyncgoto so it properly works on channels that are currently executing a PBX.
18 years ago
Steve Murphy 671c08af6d Merged revisions 101480 via svnmerge from
18 years ago
Tilghman Lesher 2f44f53ea4 Merged revisions 100675 via svnmerge from
18 years ago
Russell Bryant f877028d76 Clean up some formatting, and simplify a bit of code using ast_str
18 years ago
Joshua Colp 3a37332880 Print out a warning when spaces are used in the variable name in Set and MSet. It is extremely hard to debug this issue so this should make it easier.
18 years ago
Russell Bryant d0c89ab7ed Add a new CLI command, "core set chanvar", which allows you to set a channel
18 years ago
Tilghman Lesher 857e3412f4 Several manager changes:
18 years ago
Russell Bryant 3e28c57081 Print out the name of a function being registered in color, just like the name
18 years ago
Mark Michelson 3b830da053 Merged revisions 95577 via svnmerge from
18 years ago
Mark Michelson 74577dd091 I needed to increment the numbers used on the VERBOSITY_ATLEAST calls by 1.
18 years ago
Mark Michelson 83f152b95c Changed VERBOSITY_LEVEL to VERBOSITY_ATLEAST to be more accurate.
18 years ago
Mark Michelson 4f75e15665 After reading Russell's e-mail to the dev list stating that checking option_verbose is not
18 years ago
Tilghman Lesher d5b454bf8d Convert ast_verbose to ast_verb.
18 years ago
Jason Parker 7dbfcdecae Merged revisions 92809 via svnmerge from
18 years ago
Jason Parker 02ea9face7 Add count of total number of calls processed by asterisk during it's lifetime.
18 years ago
Russell Bryant f52c068605 Merged revisions 90967 via svnmerge from
18 years ago
Olle Johansson 25cbb792b9 (closes issue #11422)
18 years ago
Mark Michelson e3c122863d Removing a pointless check of option_debug
18 years ago
Mark Michelson 0b3ab17bfa Merged revisions 90059 via svnmerge from
18 years ago
Jason Parker aa0f63d65f Remove "old"-style CLI handler, since nothing uses it anymore.
18 years ago
Russell Bryant 880fb1ece9 Merged revisions 89893 via svnmerge from
18 years ago
Russell Bryant 79bc5ede5f Merged revisions 89839 via svnmerge from
18 years ago
Steve Murphy 1f792f1745 closes issue #11294; missed the conditional unlock of the contexts when the hash table is used instead; also, used the ast_free_ptr as advised.
18 years ago
Russell Bryant 21a22fa584 Merged revisions 89790 via svnmerge from
18 years ago
Russell Bryant b11f846e7e Merged revisions 89594 via svnmerge from
18 years ago
Steve Murphy 2ec4b57622 Thanks to pnlarsson for noting the spelling error in the cli commands. Also, added some verbage about the new algorithm to CHANGES.
18 years ago
Steve Murphy a63f6be669 closes issue #11363; where the pattern _20x. buried in an included context, didn't match 2012; There were a small set of problems to fix: 1. I needed NOT to score patterns unless you are at the end of the data string. 2. Capital N,X,Z and small n,x,z are OK in patterns. I canonicalize the patterns in the trie to caps. 3. When a pattern ends with dot or exclamation, CANMATCH/MATCHMORE should always report this pattern, no matter the length. With this commit, I also supplied the wish of Luigi, where the user can select which pattern matching algorithm to use, the old (legacy) pattern matcher, or the new, trie based matcher. The OLD matcher is the default. A new [general] section variable, extenpatternmatchnew, is added to the extensions.conf, and the example config has it set to false. If true, the new matcher is used. In all other respects, the context/exten structs are the same; the tries and hashtabs are formed, but in the new mode the tries are not used. A new CLI command 'dialplan set extenpatternmatch true/false' is provided to allow switching at run time. I beg users that are forced to return to the old matcher to please report the reason in the bug tracker. Measured the speed benefit of the new matcher against an impossibly large context with 10,000 extensions: the new matcher is 374 times faster.
18 years ago
Luigi Rizzo e0ff5fef5c remove a bunch of useless #include "options.h"
18 years ago