Commit Graph

338 Commits (f95db061fd9f34b7dc5a50d9fc136dda9df42dd1)

Author SHA1 Message Date
Kevin P. Fleming 4d2537ae11 major re-work of dialplan functions, including:
20 years ago
Kevin P. Fleming a0f2a2e7c4 remove hardcoded CDR() support from pbx_builtin_setvar_helper in favor of already-implemented CDR() function
20 years ago
Kevin P. Fleming b9bda6aa41 add MD5 and CHECK_MD5 functions, deprecate MD5 and MD5Check apps (bug #4123)
20 years ago
Kevin P. Fleming 8c087b7d73 make verbosity of function registration match apps/manager events/etc.
20 years ago
Kevin P. Fleming b1826af735 add SIP_HEADER function, mark SIPGetHeader app deprecated (will be removed on 2005-05-31)
20 years ago
Kevin P. Fleming 8634ef9e4a don't use '%i' at all, since we have no current use cases that need non base-10 parsing (bug #4110)
20 years ago
Kevin P. Fleming bced63033d make 'goto' APIs aware of auto-processing loops, so they know exactly when to set the requested priority or one priority lower
20 years ago
Kevin P. Fleming fefe2e8b4f protect ResponseTimeout and DigitTimeout apps from crashing when called in non-PBX channels (bug #4078)
20 years ago
Kevin P. Fleming 199add9567 phase 1 of header include cleanup (bug #4067)
20 years ago
Kevin P. Fleming 06de953fbc add ability to send transferring party to a dialplan target after they blind transfer another party (bug #4056, with mods)
20 years ago
Kevin P. Fleming 1f9ab2380a use double-quotes instead of angle-brackets for non-system include files (bug #4058)
20 years ago
Kevin P. Fleming 6d05d785be correct default language setting for Background() app (bug #4044)
20 years ago
Mark Spencer f933db8c24 Fix docs for digit/response timeout to mention default values (bug #4050)
20 years ago
Mark Spencer d3213d7f47 Fix locking issue (bug #4041)
20 years ago
Mark Spencer 4b7e548d92 Add MusicOnHold to waitexten, update Background to use newstyle options (bug #4000)
20 years ago
Russell Bryant 7bffc0459c add missing newlines, fix misspelling of nonexistent (bug #4027)
20 years ago
Kevin P. Fleming 7e3e619497 further thought says '!' is a better early-match wildcard (bug #3889, take 2)
20 years ago
Kevin P. Fleming ee9c852b4d add 'early-match' wildcard for extension patterns (bug #3889)
20 years ago
Kevin P. Fleming 0403510bbd Fix up formatting and a few typos/poor grammar in pbx.c (bug #3924)
20 years ago
Kevin P. Fleming 793040a782 revert previous commit... was the wrong fix (my first oops)
20 years ago
Kevin P. Fleming 3cc8b20876 ensure that variables supplied to ast_pbx_outgoing_exten are applied to the channel even in 'sync' mode (bug #3922, for HEAD only)
20 years ago
Mark Spencer b02fd7a66d Make sure ExecIf stuff returns properly (bug #3864)
20 years ago
Mark Spencer eb91006b7c Allow functions to be written to (bug #2278, with mods)
20 years ago
Russell Bryant cd0655bf89 formatting fixes
20 years ago
Mark Spencer 6546acebfb Add comments for hints (bug #3783)
20 years ago
Mark Spencer 0b23f4a6a7 Merge builtin If function (bug #3779)
20 years ago
Mark Spencer 5e8a912baf Fix serious typo (code segment was only enabled with verbose!)
20 years ago
Mark Spencer d42e070073 Unbreak expression handling from addition of function variables
21 years ago
Mark Spencer 18d9b26cf9 Rework channel structure to eliminate "pvt" portion of channel (bug #3573)
21 years ago
Mark Spencer fba0b595ab Add registerable functional variables (bug #3636, with doc mods)
21 years ago
Mark Spencer 233e26b112 Fix SetVar (bug #3668) and g + transfer (#3650)
21 years ago
Mark Spencer 5a9f337de0 Add execiftime, remove duplicate agent logoff CLI
21 years ago
Mark Spencer b6c4282a03 Merge anthm's CDR updates (bug #3595)
21 years ago
Mark Spencer 56e13139d4 Add "show hints" to CLI (bug #3631)
21 years ago
Mark Spencer a06c6bf412 Fix ${CALLINGSUBADDR}
21 years ago
Mark Spencer 2887217560 Fix colon expansion (bug #3572)
21 years ago
Mark Spencer 3ed0a01068 Fix (in an admittedly icky way) the CALL variable broken issues (bug #3549)
21 years ago
Mark Spencer ad369fa974 Optimize variable lookups (bug #3541)
21 years ago
Mark Spencer ab0566923b Include uniqueid in response for ManagerOriginate stuff (bug #3439)
21 years ago
Mark Spencer 6ed8f15260 Allow hints to have names (bug #3471)
21 years ago
Russell Bryant 0c30452423 update copyright headers for 2005
21 years ago
Mark Spencer 278a0a0891 Implement eswitch for evalulating variables at runtime (bug #3168)
21 years ago
Mark Spencer 74deb4f9e0 Restore functionality of "show dialplan" with no arguments
21 years ago
Mark Spencer ca4c644403 Improve show dialplan support to support patterns and also to select contexts (bug #3230)
21 years ago
Mark Spencer 7abe9e6c16 List improvements from kpfleming (bugs #3166,#3140)
21 years ago
Mark Spencer 658000cc9a Increase max stack size for context searches (bug #3182)
21 years ago
Mark Spencer ccead56701 Log execution stack if option_debug is enabled (bug #3177)
21 years ago
Mark Spencer ed18567073 Allow Answer(delay) to create delay after answering (bug #3160)
21 years ago
Mark Spencer eda2d325b7 Fix pbx.c to be able to display hints (bug #3074)
21 years ago
Anthony Minessale II 886ebab04a fix transfer goto issue
21 years ago
Mark Spencer cecda3fb67 Speed up ast_list macros (bug #3135)
21 years ago
Mark Spencer 3fde2e56b8 Fix AGI to know about "builtin" variables, too (bug #2737)
21 years ago
Mark Spencer 374c9c1789 SMS fix, pbx optimization (bug #3098)
21 years ago
Mark Spencer b3a0ef24ed Fix comment issues (bug #3089)
21 years ago
Mark Spencer 343ef16d4f Make sure context is passed properly on _exec (bug #2969)
21 years ago
Russell Bryant 9470de1b49 Show some counters with 'show dialplan' (bug #2968)
21 years ago
Anthony Minessale II 8708f19e39 fix bug 2994 (off by 1 error)
21 years ago
Mark Spencer c46e21252c Big diet for struct ast_channel
21 years ago
Anthony Minessale II 3253f72193 fix small goto logic issue
21 years ago
Mark Spencer 4a42b24900 Print number of applications (bug #2961)
21 years ago
Mark Spencer 8c42a49ec8 Merge tony's ampersand patch (bug #2934)
21 years ago
Mark Spencer 8f2b687a95 Make realtime pbx understand patterns.
21 years ago
Anthony Minessale II 2a1bf5efd9 fix inherited softhangup issue in ast_goto_if_exists()
21 years ago
Mark Spencer d456e6ba54 Little dial typo fix and make WaitExten continue if nothing entered and there is a step n+1
21 years ago
Mark Spencer d7da317979 Add improved macro functionality (bug #2905)
21 years ago
Mark Spencer 066d22ae0d Add incremental/decremental priorities (bug #2906)
21 years ago
Mark Spencer 6b72043074 Add "ImportVar" application
21 years ago
Mark Spencer c86ee49fde Documentation fixup (thanks, drumkilla)
21 years ago
Mark Spencer dffb2566bc Big agent / queue fixes
21 years ago
Mark Spencer d5c7dd696e Allow dashes in extensions (bug #2835)
21 years ago
Mark Spencer c5c331ab15 Make timing stuff generic (bug #2839)
21 years ago
Mark Spencer 668001f9c8 Make channel variables inheritable by _ (bug #928)
21 years ago
Anthony Minessale II 827df5e987 even more paranoid serialize code
21 years ago
Anthony Minessale II 5e5c478934 add more paranoid handling to pbx_builtin_serialize_variables
21 years ago
Mark Spencer 82cbf28993 Add "Loopback" switch
21 years ago
Anthony Minessale II 4f2438acab This patch adds a new api call:
21 years ago
Mark Spencer 12e2fe4d94 Thread fixes, vm fix (bug #2665)
21 years ago
Mark Spencer 996c8e7126 Add autofallthrough mode
21 years ago
Mark Spencer 94ba880548 Generate CDR's for failed outbound spool
21 years ago
James Golovich 8b8d26f9bc Fix pbx_builtin_setlanguage to not seg when data is a NULL ptr. Also fix AGI so we dont run into this with other specific problems as well. (bug 2641)
21 years ago
Mark Spencer b70b531699 Fix small verboseness bugs (bug #2602)
21 years ago
Mark Spencer b4142e0cd2 Allow you to use labels with + to be nice to Tilghman.
21 years ago
Mark Spencer fce17976e9 Major PBX revamps (including labels, update examples)
21 years ago
Mark Spencer 04fc29c8b2 Huge callerid rework (might break H.323, others)
21 years ago
Anthony Minessale II 255ce93616 add app_forkcdr
21 years ago
Mark Spencer 238b9d24c6 Make sure patterns are always last (bug #2435)
21 years ago
Mark Spencer 5e0b84633e Make ${CALLINGPRES} available (bug #2409)
21 years ago
Mark Spencer 9e96cb612b Fix GotoIf logging level (bug #2396)
21 years ago
James Golovich 8d457d07c4 Formatting cleanups
21 years ago
Mark Spencer 3454b5927f Make background support a language override (bug #2378)
21 years ago
Mark Spencer 082f628401 Slightly more verbose detail on PBX startup (bug #2339)
21 years ago
Mark Spencer c7541bd672 Merge "show applications" from corydon76 (bug #2291)
21 years ago
Mark Spencer de3528f0be Save CID and switches in "save dialplan" command (bug #2279)
21 years ago
Mark Spencer d0ab0358aa Fix small memory leak... (bug #2277)
21 years ago
Mark Spencer 7acee329e1 Merge BSD stack size work (bug #2067)
21 years ago
Mark Spencer f3522b6c01 Plane commits (a.k.a. the Delta deltas): 1) Make muted reconnect 2) Add "X" option to meetme and add ${MEETME_EXIT_CONTEXT}, 3) Allow SIP call parking with supervised transfer, 4) Only create parking entries when calls actually get parked, 5) Add "sunshine" song, 6) Update hardware documentation, 7) Don't load empty strings from history file
21 years ago
Malcolm Davenport a322c6f411 chan_h323 Makefile change for Bug #2064. Also back out changes for Bug #2115..next time read carefully. :)
21 years ago
Malcolm Davenport 9b0b4bf041 Bug # 2115: Allow Caller TON to be retrieved in the dialplan
21 years ago
Mark Spencer d3499da6fd Merge tilghman's app/appdata in newexten patch (bug #2104)
21 years ago
Mark Spencer daf76979ca Add options to background (bug #2075) and update documentation
21 years ago
Mark Spencer f202a8dbb3 Typo / whitespace fixes (bug #2052)
21 years ago
Mark Spencer 8ed49644a6 Remaining rgagnon source audit improvements (bug #2011)
21 years ago
Mark Spencer 7c97de2611 Give Busy() and Congestion() an optional timeout
21 years ago
Anthony Minessale II b1d9a040d4 bring justice to gotoif's always true bug
21 years ago
Mark Spencer eb6b35b75f Display invalid extension when there is one, fix minor OSP typo, Don't send 200 OK after 403 Forbidden on SUBSCRIBE
21 years ago
Jeremy McNamara 6f0a7f7a15 Add new built-in app 'SetAMAFlags'
21 years ago
Mark Spencer c9f168ed0f Add subaddress support (bug #1877)
21 years ago
Mark Spencer e6de64a5a9 Cleanup handling of complex expressions (bug #1919)
21 years ago
Mark Spencer 42ad569376 Commit remaining changes
21 years ago
Mark Spencer 27bb1601d3 Generate "failed" context on busy, too
21 years ago
Mark Spencer 5546e32355 Merge major BSD mutex and symbol conflict patches (bug #1816) (link patch still pending)
21 years ago
Mark Spencer 9cb185e126 Add "Progress" application
21 years ago
Mark Spencer d208532e6e x86-64 compile fixes and cleanups
21 years ago
Mark Spencer a3355d9fe2 Add "LOW_MEMORY" option and increase some buffer sizes (bug #1827)
21 years ago
Mark Spencer 727abcdec7 Merge FreeBSD locking fixes (bug #1411)
21 years ago
James Golovich 7baf86bc8b Fix comment in pbx.c
21 years ago
Mark Spencer 6195dd35e0 Make ast_channel_walk become ast_channel_walk_locked
21 years ago
James Golovich 4b56cf02f0 Fix compiler warning
21 years ago
James Golovich 668f8161ab Make variables work in manager originate again
21 years ago
James Golovich 3e3642433b Code formatting fixes in pbx.c (still more todo)
21 years ago
James Golovich 9bb1b64d48 Change strlen calls to ast_strlen_zero in pbx.c
21 years ago
Mark Spencer 73b389da6c Add SayPhonetic and SayAlpha applications (bug #793)
21 years ago
Mark Spencer 5192a1a054 Add support for French, Danish, Portuguese, Spanish, Italian, and Dutch numbers
21 years ago
Mark Spencer ce44c6ec41 More select/poll updates for various applications
21 years ago
Mark Spencer e30e0c5135 Use ast_strdupa instead of strdup in goto (bug #1465)
21 years ago
Mark Spencer 8a7f4bcd7a Hold the lock properly on async goto now that we have recursive mutex support.
21 years ago
James Golovich 295ce9fc8d Make extension matching non case sensitive. So 'T' and 't' are
21 years ago
Mark Spencer 13bca43aa8 Get rid of all that old needlock garbage now that we're using recursive mutexes
21 years ago
Mark Spencer 852422f4ab Add "WaitExten" application
21 years ago
Mark Spencer ef1f39d29e Save appl and data around exec (bug #1301)
21 years ago
Mark Spencer a925c1b306 Update security document, work on threading with pbx.c and small SIP fixes
21 years ago
Mark Spencer 61d1fd9a0e Make FAX enableable/disablabable, fix async goto support properly
21 years ago
Mark Spencer ce9e964c5f Fix LEN segfault (bug #1228)
21 years ago
James Golovich 146469ab19 Allow multiple switches in the same context (bug #1171)
22 years ago
James Golovich d97cc460b0 Fix pbx_builtin_atimeout comment
22 years ago
James Golovich a51ca42b18 Make the Wait application accept time with fractions of a second
22 years ago
Mark Spencer 550785ba29 Fix GotoIfTime if time is bad
22 years ago
Malcolm Davenport 3439c08170 Fix Bug # 981
22 years ago
James Golovich a23c89dd75 Fix some comments in pbx.c and pbx_config.c
22 years ago
James Golovich c278f09897 Fix ast_add_extension2 updating ast_exten correctly in certain cases
22 years ago
James Golovich d03dbf91a6 Add ${LANGUAGE} channel variable (bug #1078)
22 years ago
Mark Spencer bac2215fb6 Fix several memory leaks
22 years ago
Mark Spencer 28d980de3d Force update of the CDR before clearing channel (bug #974)
22 years ago
Mark Spencer 0cadef62c1 Stop searching once we find a match
22 years ago
Jeremy McNamara 8a8b2d0684 Make output more readable
22 years ago
Jeremy McNamara dade45942c temp fix for timed includes and GotoIfTime
22 years ago
Jeremy McNamara 4042e0f832 Out of memory conditions should be errors, not warnings. Bug #670
22 years ago
Mark Spencer 4468124abd Add ${TIMESTAMP} (bug #607) and don't ever ast_log from within handler
22 years ago
Jeremy McNamara 541568fbb6 deal with accountcode correctly and update CDR on a goto
22 years ago
Mark Spencer bfb27d0836 Make CALLTYPE available
22 years ago