dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

275 Commits

Author SHA1 Message Date
kpfleming 95fe2b8fd4 update MANY more files with proper copyright/license info (thanks Ian!)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 20:46:50 +00:00
kpfleming 48f8b7d7ca slightly clear argument processing
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6592 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 17:19:55 +00:00
kpfleming 7f896eb326 check call limit in ast_pbx_start(), instead of waiting until background thread has been launched (needed for issue #5131)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6568 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-13 21:59:45 +00:00
kpfleming e72564ce33 remove useless buffer initializations (issue #5134)
convert pbx_dundi to use ast_copy_string) (issue #5134)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6540 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-07 21:01:31 +00:00
kpfleming 6bb9060003 remove unused header and old comment
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6503 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-02 18:07:26 +00:00
kpfleming 22cabc5da6 don't unlock a channel we didn't lock
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6486 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-01 20:15:58 +00:00
kpfleming 9fc16d81a1 massive upgrade to SUBSCRIBE, device state and messaging support (issue #3644)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6446 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-29 23:53:29 +00:00
kpfleming 558f8be1b8 don't make expression evaluator allocate a memory buffer for each result
to
be returned; use the buffers already present in the PBX for this purpose
update testexpr2/check_expr to allocate buffers for expression
evaluation


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6440 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-29 22:03:37 +00:00
kpfleming add83c2ba6 preserve hint watchers and laststate across 'extensions reload' (issue #2522)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6431 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-27 23:55:14 +00:00
kpfleming e581c47f2e add count to 'show functions' CLI command (issue #4991)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6351 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-22 18:47:19 +00:00
russell 08b6c1f394 fix execiftime and include some code cleanup while we're at it (bug #4380)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6343 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-19 07:12:53 +00:00
twisted a5e963bbe3 Fix misspelling of "Launching" in pbx.c (Bug #<4964)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6333 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-15 01:56:40 +00:00
russell b2f03b949c formatting fixes (bug #4736)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6162 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-19 15:54:17 +00:00
russell 1952459258 Allow manager originate to specifiy more than one variable to be set.
Allow manager originate and spool files to set writable dialplan functions,
including those that use the pipe symbol to seperate arguments.
Allow CDR dialplan function to be able to set the account code and userfield.
This deprecates the use of the Account header in manager originate and spool
files, as well as the SetAccount and SetCDRUserField applications.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6147 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 23:24:51 +00:00
kpfleming 63a6a077da phase two of string portability stuff:
don't need ast_ prefixes on functions
  use individual #defines for function presence
  add vasprintf to portability library


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6143 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 22:06:15 +00:00
kpfleming bf3fcafdae ensure that channels that are busy/congested are marked AST_STATE_BUSY (bug #4706)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6136 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 16:02:37 +00:00
kpfleming 95b685631f add 'exit context' and 'only stop on match' options to Background app (bug #4511)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6093 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-12 01:34:06 +00:00
russell 72af60b3e6 define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSION
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6076 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-10 23:49:57 +00:00
kpfleming 1945cc0f81 queue device state changes and handle them serially in a background thread
optimize device state related functions
add ast_get_channel_by_name_prefix to allow searching for matching channels in O(1) operation


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6062 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-08 21:14:34 +00:00
kpfleming ec0590611f use ast_build_string() to build strings into buffers, and general cleanup of variable serializing functions used by 'show channel' (bug #4558)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5944 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-20 23:37:01 +00:00
kpfleming 6f0f46299c more file version tags
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 22:12:19 +00:00
kpfleming b2cbb6a75d remove experimental module version tags
add per-file revision tags and 'show version files' CLI command


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5864 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 20:27:51 +00:00
kpfleming 7b1b9f53ef more efficient (and understandable) ast_channel_walk_locked, and vastly more efficient ast_channel_by_name_locked (bug #4265)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5853 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 02:29:18 +00:00
kpfleming 2dd14b8c0e more ast_copy_string() conversion
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5849 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-05 16:32:16 +00:00
kpfleming ad9520e6b0 don't try to copy NULL appdata (bug #4422)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5848 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-05 16:08:44 +00:00
kpfleming 62d73d678b make ast_waitstream_* return value compatible with platforms that use unsigned char by default (bug #4455)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5846 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-05 15:04:43 +00:00
kpfleming c96557a70e use ast_cli_register_multiple() for pbx CLI commands
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5829 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-03 03:09:20 +00:00
kpfleming 787c08a3fc allow ast_add_extension2 to accept a NULL destructor (bug #4411)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5824 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-03 02:21:07 +00:00
kpfleming 46d0533b99 support configurable batch posting of CDRs (off by default) (bug #3883)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5823 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-03 01:42:31 +00:00
russell 2c1f5ac39f fix return value for ExecIfTime when time is outside of the specified range (bug #4380)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5773 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-26 15:50:50 +00:00
markster e2c8bb9c44 Add optional call limit
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5712 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-18 01:49:13 +00:00
kpfleming 8dfde59f95 rename SetVar application to Set, deprecate SetVar
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5688 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15 23:32:38 +00:00
kpfleming 025aeb8f62 add dialplan functions for Caller ID, language and timeouts (bug #4219, with mods)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5679 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15 17:45:30 +00:00
russell 5126f2d6e0 clarify docs on ImportVar (that's for you, mog :p)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5647 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-14 00:36:55 +00:00
markster 349ba3ca9b Fix formatting of functions (bug #4196, with mods)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5605 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-08 17:10:58 +00:00
markster 278f8fd014 Fix double unlock of hintlock (bug #4205)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5602 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-08 16:54:53 +00:00
anthm d4dd060a57 expose function execution routines and warn about trying to set a read-only cdr var
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5589 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-05 15:07:49 +00:00
kpfleming 6a262d98ee 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: http://svn.digium.com/svn/asterisk/trunk@5583 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-05 05:39:33 +00:00
kpfleming efd31e2e0a 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: http://svn.digium.com/svn/asterisk/trunk@5574 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-04 15:56:44 +00:00
kpfleming ce9a0b7459 add MD5 and CHECK_MD5 functions, deprecate MD5 and MD5Check apps (bug #4123)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5567 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-04 04:05:34 +00:00
kpfleming f53c8a8efd make verbosity of function registration match apps/manager events/etc.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5544 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-01 23:09:28 +00:00
kpfleming 72e9551305 add SIP_HEADER function, mark SIPGetHeader app deprecated (will be removed on 2005-05-31)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5540 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-01 18:37:37 +00:00
kpfleming b7e6d89aa2 don't use '%i' at all, since we have no current use cases that need non base-10 parsing (bug #4110)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5533 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-29 17:00:33 +00:00
kpfleming 1cbba5607c 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: http://svn.digium.com/svn/asterisk/trunk@5529 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-29 15:04:26 +00:00
kpfleming 946dec8bcd protect ResponseTimeout and DigitTimeout apps from crashing when called in non-PBX channels (bug #4078)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5510 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-27 02:48:25 +00:00
kpfleming d6e1341f9b phase 1 of header include cleanup (bug #4067)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5498 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-22 13:11:34 +00:00
kpfleming 4692a24b4d add ability to send transferring party to a dialplan target after they blind transfer another party (bug #4056, with mods)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5495 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-22 02:55:14 +00:00
kpfleming 31e8dcf4fe use double-quotes instead of angle-brackets for non-system include files (bug #4058)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21 06:02:45 +00:00
kpfleming 4908764c59 correct default language setting for Background() app (bug #4044)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5487 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-20 16:11:16 +00:00
markster 1603833ac7 Fix docs for digit/response timeout to mention default values (bug #4050)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5485 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-20 14:40:47 +00:00