Mark Spencer
38b7f7b4a4
Add optional call limit
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5712 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-18 01:49:13 +00:00
Kevin P. Fleming
9cea81b035
rename SetVar application to Set, deprecate SetVar
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5688 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 23:32:38 +00:00
Kevin P. Fleming
fa60672d58
add dialplan functions for Caller ID, language and timeouts (bug #4219 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5679 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 17:45:30 +00:00
Russell Bryant
15623c07d1
clarify docs on ImportVar (that's for you, mog :p)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-14 00:36:55 +00:00
Mark Spencer
fa2381c19c
Fix formatting of functions (bug #4196 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5605 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-08 17:10:58 +00:00
Mark Spencer
087eb40b76
Fix double unlock of hintlock (bug #4205 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-08 16:54:53 +00:00
Anthony Minessale II
6b7677e842
expose function execution routines and warn about trying to set a read-only cdr var
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-05 15:07:49 +00:00
Kevin P. Fleming
4d2537ae11
major re-work of dialplan functions, including:
...
- locking of functions list during registration/unregistration/searching
- rename of function description structure to be consistent with the rest of the API
- addition of 'desc' element to description structure, for detailed description (like applications)
- addition of 'show function' CLI command to show function details
- conversion of existing functions to use uppercase names to match policy
- creation of new 'pbx_functions.so' module to contain standard 'builtin' functions
- removal of all builtin functions from pbx.c and apps and placement into new 'funcs' directory
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5583 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-05 05:39:33 +00:00
Kevin P. Fleming
a0f2a2e7c4
remove hardcoded CDR() support from pbx_builtin_setvar_helper in favor of already-implemented CDR() function
...
make SetVar() options actually work as documented
remove SetVar() 'c' and 'r' options, since the CDR() function can provide this functionality
add 'r' option to CDR() function to control recursive retrieval/storage
(inspired by bug #4143 , but without the SetVar syntax changes)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5574 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 15:56:44 +00:00
Kevin P. Fleming
b9bda6aa41
add MD5 and CHECK_MD5 functions, deprecate MD5 and MD5Check apps (bug #4123 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 04:05:34 +00:00
Kevin P. Fleming
8c087b7d73
make verbosity of function registration match apps/manager events/etc.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5544 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-01 23:09:28 +00:00
Kevin P. Fleming
b1826af735
add SIP_HEADER function, mark SIPGetHeader app deprecated (will be removed on 2005-05-31)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5540 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-01 18:37:37 +00:00
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 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 17:00:33 +00:00
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
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5529 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 15:04:26 +00:00
Kevin P. Fleming
fefe2e8b4f
protect ResponseTimeout and DigitTimeout apps from crashing when called in non-PBX channels (bug #4078 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5510 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-27 02:48:25 +00:00
Kevin P. Fleming
199add9567
phase 1 of header include cleanup (bug #4067 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-22 13:11:34 +00:00
Kevin P. Fleming
06de953fbc
add ability to send transferring party to a dialplan target after they blind transfer another party (bug #4056 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-22 02:55:14 +00:00
Kevin P. Fleming
1f9ab2380a
use double-quotes instead of angle-brackets for non-system include files (bug #4058 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21 06:02:45 +00:00
Kevin P. Fleming
6d05d785be
correct default language setting for Background() app (bug #4044 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5487 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-20 16:11:16 +00:00
Mark Spencer
f933db8c24
Fix docs for digit/response timeout to mention default values (bug #4050 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5485 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-20 14:40:47 +00:00
Mark Spencer
d3213d7f47
Fix locking issue (bug #4041 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5481 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-17 03:44:19 +00:00
Mark Spencer
4b7e548d92
Add MusicOnHold to waitexten, update Background to use newstyle options (bug #4000 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5469 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-15 05:47:40 +00:00
Russell Bryant
7bffc0459c
add missing newlines, fix misspelling of nonexistent (bug #4027 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-13 23:33:47 +00:00
Kevin P. Fleming
7e3e619497
further thought says '!' is a better early-match wildcard (bug #3889 , take 2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-03 22:24:17 +00:00
Kevin P. Fleming
ee9c852b4d
add 'early-match' wildcard for extension patterns (bug #3889 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-03 21:32:33 +00:00
Kevin P. Fleming
0403510bbd
Fix up formatting and a few typos/poor grammar in pbx.c (bug #3924 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5347 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01 19:56:35 +00:00
Kevin P. Fleming
793040a782
revert previous commit... was the wrong fix (my first oops)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01 19:39:58 +00:00
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)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01 19:24:29 +00:00
Mark Spencer
b02fd7a66d
Make sure ExecIf stuff returns properly (bug #3864 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-29 06:18:58 +00:00
Mark Spencer
eb91006b7c
Allow functions to be written to (bug #2278 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5296 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-29 06:16:49 +00:00
Russell Bryant
cd0655bf89
formatting fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-26 21:01:59 +00:00
Mark Spencer
6546acebfb
Add comments for hints (bug #3783 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5191 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-17 21:05:10 +00:00
Mark Spencer
0b23f4a6a7
Merge builtin If function (bug #3779 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5189 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-17 20:20:37 +00:00
Mark Spencer
5e8a912baf
Fix serious typo (code segment was only enabled with verbose!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5178 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-14 05:51:20 +00:00
Mark Spencer
d42e070073
Unbreak expression handling from addition of function variables
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-05 05:21:45 +00:00
Mark Spencer
18d9b26cf9
Rework channel structure to eliminate "pvt" portion of channel (bug #3573 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-04 06:47:24 +00:00
Mark Spencer
fba0b595ab
Add registerable functional variables (bug #3636 , with doc mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5136 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-04 06:36:18 +00:00
Mark Spencer
233e26b112
Fix SetVar (bug #3668 ) and g + transfer ( #3650 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5083 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-26 03:57:10 +00:00
Mark Spencer
5a9f337de0
Add execiftime, remove duplicate agent logoff CLI
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5074 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-25 00:25:28 +00:00
Mark Spencer
b6c4282a03
Merge anthm's CDR updates (bug #3595 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-23 22:48:47 +00:00
Mark Spencer
56e13139d4
Add "show hints" to CLI (bug #3631 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-21 06:31:01 +00:00
Mark Spencer
a06c6bf412
Fix ${CALLINGSUBADDR}
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5044 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-17 19:41:23 +00:00
Mark Spencer
2887217560
Fix colon expansion (bug #3572 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-13 20:57:52 +00:00
Mark Spencer
3ed0a01068
Fix (in an admittedly icky way) the CALL variable broken issues (bug #3549 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5001 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-10 16:38:39 +00:00
Mark Spencer
ad369fa974
Optimize variable lookups (bug #3541 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-09 21:10:41 +00:00
Mark Spencer
ab0566923b
Include uniqueid in response for ManagerOriginate stuff (bug #3439 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4948 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-02 02:54:15 +00:00
Mark Spencer
6ed8f15260
Allow hints to have names (bug #3471 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4938 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-01 01:53:25 +00:00
Russell Bryant
0c30452423
update copyright headers for 2005
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-21 07:06:25 +00:00
Mark Spencer
278a0a0891
Implement eswitch for evalulating variables at runtime (bug #3168 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4780 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-13 05:14:56 +00:00
Mark Spencer
74deb4f9e0
Restore functionality of "show dialplan" with no arguments
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4768 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-12 16:28:25 +00:00