Mark Spencer
5b55f3600b
Fix attended transfer crash (bug #4404 with changes)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5787 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-30 13:51:04 +00:00
Mark Spencer
db99849187
Fix reply digest selection of size (bug #4409 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-30 13:27:12 +00:00
Mark Spencer
ed233f7e82
Fix the ordering fo some checks (bug #4406 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-30 13:23:10 +00:00
Russell Bryant
4e329973eb
use DEFAULT_SIP_PORT (bug #4408 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-29 23:08:12 +00:00
Mark Spencer
a6f2f031b3
Fix typo about maddr (bug #4386 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5772 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-26 15:06:24 +00:00
Josh Roberson
70b3b8730e
Fix typo in chan_sip. (Bug #4376 ).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5768 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-25 20:03:09 +00:00
Mark Spencer
2df83a9298
Fix SIP registration (bug #4138 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-25 17:45:31 +00:00
Mark Spencer
41e7cc8154
Use defined AST_MAX_ACCOUNT_CODE (bug #4350 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5765 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-25 17:18:05 +00:00
Kevin P. Fleming
17e476378a
make 'sip debug' work again (commands must be registered shortest-first when they start with the same words) (bug #4341 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5746 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-20 03:14:41 +00:00
Kevin P. Fleming
d5b50fc83d
formatting cleanup (bug #4330 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5737 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 15:19:42 +00:00
Kevin P. Fleming
58a530eba8
remove unnecessary conditional logic (bug #4313 , take two)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5735 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 12:51:58 +00:00
Kevin P. Fleming
041147243c
ensure that peer-level RTP settings are actually used (bug #4313 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5734 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 04:49:12 +00:00
Kevin P. Fleming
a1779650de
move variable declarations to top of function where they belong (bug #4303 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 02:49:34 +00:00
Kevin P. Fleming
252bf2d652
SIP hold improvements (bug #4290 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5702 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 16:16:41 +00:00
Kevin P. Fleming
7bcaa0caa2
code formatting cleanup (bug #4213 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5668 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 04:17:42 +00:00
Kevin P. Fleming
acffa5d930
implement more detailed hangup causes (bug #4214 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5667 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 04:11:01 +00:00
Kevin P. Fleming
6cd4f9a8d3
correct some signed/unsigned issues found by GCC 4 (bug #4237 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 03:21:51 +00:00
Kevin P. Fleming
0356b70224
add functions to register/unregister multiple CLI commands in a single operation (bug #4255 , with minor mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 03:03:48 +00:00
Kevin P. Fleming
4515e94c39
various minor formatting changes and code cleanups (bug #4262 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5658 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 00:27:18 +00:00
Mark Spencer
82d52ffe35
Use maxdomainlen in chan_sip (bug #4212 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5601 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-08 16:49:28 +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
Mark Spencer
0575c11d72
Merge formatting changes (bug #4172 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 19:22:45 +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
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
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
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
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
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
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
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
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
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
7e058413fb
allow fine-grained 'insecure' settings (bug #4024 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-27 17:04:17 +00:00
Mark Spencer
55a6d4c1b5
Oops :)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5519 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-27 15:11:46 +00:00
Mark Spencer
b99c287ef6
Fix lockup in register timeout
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-27 15:06:23 +00:00
Kevin P. Fleming
2a4265b406
formatting cleanup (bug #4088 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-27 01:29:28 +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
Mark Spencer
8d1744dd29
Add sched_when function (bug #4022 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-13 18:46:35 +00:00
Kevin P. Fleming
d254db31c8
*** empty log message ***
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-06 21:12:32 +00:00
Russell Bryant
c66b66e45f
actually space out the registrations :) (bug #3104 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5427 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-06 17:03:50 +00:00
Kevin P. Fleming
c7c20f8656
report non-codec capabilities in 'sip debug' properly (bug #3960 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-05 23:34:56 +00:00
Anthony Minessale II
c02caf1e91
add missing newlines (part2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5308 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-30 16:28:28 +00:00
Anthony Minessale II
6afb37c9ae
add missing newlines
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-30 16:20:53 +00:00
Mark Spencer
dc9faa21e4
Fix a bunch of const stuff, merge queue changes, add experimental "hybrid" DTMF mode
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-28 20:48:24 +00:00