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
ba9b384f58
fix obvious fault in ast_separate_app_args
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5573 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 15:26:03 +00:00
Kevin P. Fleming
6f118fe66a
remove extraneous manual string termination
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 14:03:47 +00:00
Kevin P. Fleming
7d6ba573e5
move some debugging output to a higher debug level (bug #4119 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5571 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 04:49:32 +00:00
Kevin P. Fleming
9bd5c1d95b
don't report EAGAIN as an error (bug #4128 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 04:43:30 +00:00
Kevin P. Fleming
aba598c26f
fix build on FreeBSD (bug #4125 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5569 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 04:35:27 +00:00
Kevin P. Fleming
2be3c7ab57
add GROUP_COUNT and GROU_MATCH_COUNT functions, deprecate GroupCount and GroupMatchCount apps, remove GROUPCOUNT variable from README.variables (bug #4133 , with doc update)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5568 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 04:13:31 +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
523911c9b0
re-implement ast_separate_app_args with clearer code and in a way that doesn't fail with certain combinations of array size and delimiter count
...
add doxygen docs for ast_separate_app_args
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 03:43:10 +00:00
Kevin P. Fleming
135f392c62
solve memory leak and allow chan_mgcp to be unloaded (bug #4148 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 00:40:14 +00:00
Kevin P. Fleming
54da34ff0a
return proper string from description function (bug #4150 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 00:33:46 +00:00
Kevin P. Fleming
1518301885
update doxygen configuration file to current version (bug #4144 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 00:18:35 +00:00
Kevin P. Fleming
38c513fd02
ensure the SIP socket is closed on module unload (bug #4149 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 00:14:58 +00:00
Kevin P. Fleming
50b9f0e970
fix breakage when ast_copy_string is used to copy substrings (bug #4146 , but a different fix)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-03 23:51:20 +00:00
Jeremy McNamara
09ed70fcaf
Fix one-way audio issues with CCM and possibly other [broken] endpoints. Bug #4135
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5560 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-03 18:58:50 +00:00
Jeremy McNamara
f0c47a88ba
Fix one-way audio issues with CCM and possibly other [broken] endpoints. Bug #4135
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-03 15:47:35 +00:00
Kevin P. Fleming
a813234dcd
simplify argument parsing in sip_prune_realtime
...
don't force register expiration when pruning realtime peers
provide feedback for successful single item prune operations
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-03 03:22:14 +00:00
Kevin P. Fleming
ba04eb12ef
use symbolic constants for RTP method flags, and add debugging output to sip_alloc to indicate when RTP is/is not allocated (bug #3986 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5557 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-03 02:32:50 +00:00
Kevin P. Fleming
deb3c32a49
correct documentation for ast_sched_add (bug #4136 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5556 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-03 02:21:57 +00:00
Kevin P. Fleming
98a973007d
ensure astdb registration entries are parsed properly (bug #4126 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-03 02:16:45 +00:00
Kevin P. Fleming
cd9a1226b5
ensure buffer size is computed properly for ast_copy_string
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5554 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-03 02:09:16 +00:00
Mark Spencer
7b576dd5cf
Update README to discuss file descriptors (bug #4134 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-02 20:24:57 +00:00
Mark Spencer
f2c734ba04
Add support for native DTMF
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-02 20:16:21 +00:00
Jeremy McNamara
931e1debff
Fix dtmfmode, dtmfcodec capability, Faststart for users and peers. Bug #4112
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-02 18:46:36 +00:00
Kevin P. Fleming
9a7b3b0347
testing has shown that ast_copy_string is nearly twice as fast as strncpy for the common use cases in Asterisk, so convert chan_sip over...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5550 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-02 13:44:38 +00:00
Kevin P. Fleming
fe6517959e
change (iax2,sip) show (peers,users) to use 'like <pattern>' for pattern-matching to be consistent with other CLI commands
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-02 01:34:21 +00:00
Kevin P. Fleming
f0df8b7172
attempt to not allocate RTP ports for SIP private structures unless they are needed (bug #3986 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-02 01:15:23 +00:00
Kevin P. Fleming
abec217a1b
add experimental ast_copy_string() function to be used in place of strncpy() (see discussion on asterisk-dev)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-02 00:27:54 +00:00
Kevin P. Fleming
405000c897
ensure that 'static' members of source files are documented too
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5546 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-01 23:57:12 +00:00
Kevin P. Fleming
dfd4f13f55
ensure object reference is removed after unlinking from container
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5545 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-01 23:17:12 +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
f07020fa1c
clean up reg_source_db
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5543 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-01 23:07:05 +00:00
Kevin P. Fleming
6cd346ebe1
add some notes regarding the distinction between applications and functions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-01 19:34:50 +00:00
Kevin P. Fleming
ce6a7846c0
properly check for error from pri_timer2idx (bug #4117 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5541 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-01 18:47:53 +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
7d4b53c57a
add direct object unlink macro to ASTOBJ api
...
various minor cleanups in chan_sip
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-01 18:08:14 +00:00
Anthony Minessale II
fc619c1402
keep 3710 patch in working condition
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5538 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-01 02:35:32 +00:00
Kevin P. Fleming
0a93667e9c
ensure that old modules warning does not occur when 'make install' is run directly after 'make clean'
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5537 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-01 01:43:44 +00:00
Kevin P. Fleming
82f888f457
enhance 'sip prune realtime' to support users as well as peers, and regex-based filtering
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5536 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 20:42:48 +00:00
Kevin P. Fleming
4319ece167
fix typo
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5535 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 17:28:27 +00:00
Kevin P. Fleming
9b1eb11a3a
fix *BSD breakage from include-order changes (bug #4067 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5534 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 17:24:58 +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
bef7a3ea37
formatting cleanup (bug #4109 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5532 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 16:13:04 +00:00
Kevin P. Fleming
ae90c1a014
make write() failures on Zap channels more prominent than 'debug' messages (bug #4107 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5531 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 15:32:44 +00:00
Kevin P. Fleming
57e4310265
support various other formats for Asterisk manual page (bug #4113 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5530 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 15:18:10 +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
Jeremy McNamara
8cd6529426
Rework astersk make process to be compatable with the Open H.323 build process. Bug #3981
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5528 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 04:37:02 +00:00
Jeremy McNamara
1ebd942a88
Rework astersk make process to be compatable with the Open H.323 build process. Bug #3981
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5527 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 04:30:51 +00:00
Jeremy McNamara
45f7567d70
Fix codec negiocation on inbound calls. Bugs 3980, 4021, 4045
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5526 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 04:22:47 +00:00
Kevin P. Fleming
b2c3f0464f
unregister reload command (bug #4102 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-28 16:21:00 +00:00