Mark Spencer
d75fb48fb8
Display proper error for matching domain registers (bug #5412 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
1f2943fc0a
re-bind the socket if the bindaddr option is changed during reload (issue #5435 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6762 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
04d7bcc757
send "100 Trying" when we receive PROCEEDING, unless "183 Session Progress" has already been sent
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6760 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
7560605ebc
Fix "screen" for network numbers (bug #5432 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6750 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
522dfad107
Do *not* default to a max number of registration attempts
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
65afb68602
Handle yet some SIP contact issue nuances and exceptions (bug #5289 with mods and rant)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6747 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
c07a31e4bc
Fix noncecount update (bug #5308 , redone fix)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6746 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
8496d5fe92
fix authentication header extra space (issue #5329 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6732 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
d9f508c7f1
fix timer T1 handling (issue #5330 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6730 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
a755500ef8
ensure that the correct flags are always copied from peers/users to private structures (so RPID sending will work properly, issue #5322 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6729 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
d50adefa05
ensure that Remote-Party-ID is sent even on secondary INVITEs within a dialog (issue #5322 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6728 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
aeaf9f4cc6
remove unused config option (issue #5358 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
7c1bbe6eef
handle peer matching for subscriptions by name instead of IP address (issue #5103 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6723 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
6fe572d1a9
fix various state-related bugs (issue #5369 , with mod to return AST_DEVICE_INUSE)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
b7c31babb0
support call duration limits on inbound OSP calls (issue #5346 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6721 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
b1a61a9672
generate fewer 'stale nonce' messages (issue #5381 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6718 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
a0a478a72c
don't destroy calls when re-INVITE messages ask for things we can't do (issue #5384 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
8e4697d8f2
ensure that peer codec preferences take precedence over global preferences
...
clean and simplify SDP-building code
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
35b5891b74
don't replace CLID/CNAM when RPID is being generated (issue #5301 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6689 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
ea215f5b7d
Remove possibility of manager deadlocks from manager actions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6687 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
bca61024ca
486 (and friends) are really BUSY (bug #5257 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
626582a84c
store tag in the private structure as formatted text, instead of formatting every time we send a packet
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6672 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
8af7725f98
support optional sending of Remote-Party-ID headers (issue #2471 , heavily modified to actually work properly)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6671 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
fdccf66d52
add domains documentation and rename config option
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
9bbf4c3854
add basic SIP domain support (issue #4466 , with major mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6668 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
78fa3593b1
properly ignore retransmitted INVITEs on long latency links (issue #3658 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6660 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
43d43b8b46
properly respond to REGISTER queries (issue #5272 )
...
remove unused sip_peer expiry field
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6656 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
051ddb97f3
clean update devicestate function, ensure that it can return AST_DEVICE_UNKNOWN when call limits are not turned on (issue #5281 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
bcaaea9ce6
add missing newline (issue #5243 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6624 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
c4d824cf71
error message generated using backwards logic (issue #5224 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6607 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
ff41d6ab6c
correct 'progressinband' parsing (issue #5209 , different fix)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
eb332490ff
put items in RFC-specified order (issue #5217 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
02e5af9cf5
proper header name and attribution (issue #5218 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6601 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
e30adc051f
various niteroperability fixes (issue #5221 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
5da915dcfd
update MANY more files with proper copyright/license info (thanks Ian!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
f2e6ac45ca
don't abort Asterisk load if configuration not found (issue #5115 )
...
don't register channel type until after config has been loaded
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6590 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
ee696945de
support all OSP authentication models (issue #5159 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
16cd2019b1
ensure that Manager hold/unhold events are generated even for non-bridged channels (issue #4594 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6585 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
e60671d5bf
make RTP handling errors less likely to crash Asterisk (issue #5172 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6584 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
07a06d83a4
handle rport/received in Via headers properly (issue #5037 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
5600956db8
Handle dialog updates to to tag properly (bug #5166 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
a1bdc4836a
output 'our tag' in proper format
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6573 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Josh Roberson
8ac8621f40
don't send a 200 ACK before a 404 on invalid subscriptions (Bug #5198 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
60ffafcc39
allow users of RTP to know when the peer endpoint is (apparently) behind a NAT
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
d0ff6c46f8
add missing break (issue #5154 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
720272254b
initialize these variables because they could be used uninitialized in the
...
case that the codec capabilities are 0, oops
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6545 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
1e854ea773
remove useless buffer initializations (issue #5134 )
...
convert pbx_dundi to use ast_copy_string) (issue #5134 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6540 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
04a954ae16
ensure debug messages are only output if debug is enabled (issue #5142 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
1bd1a35a9a
factor out INVITE response handling in its own function (issue #5127 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6532 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
7d37750831
remove unneeded variables (issue #5117 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6528 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Josh Roberson
8f21e3659b
Fix spelling of Accountcode. *wink*
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
2f67f66577
Allow "auto" dtmf mode to select between RFC2833 and inband based on peer's offer or answer.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
bcd06b8582
Don't recreate stuff on authentication (so it works on reinvites)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
3bad83e0f2
ensure that notify message sent out have the correct state (issue #5088 with minor mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6509 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
6b76015469
allow for custom URI options to be set (issue #4927 with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6499 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
3a31b6ff2d
don't try to reference through pvt if it is NULL (issue #5089 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
4f493d1126
don't add a colon to the header name (thanks bkw!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
5b819fc101
stop retransmitting INVITE after we have sent CANCEL for the same call
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6472 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
102ff2d56e
preserve user-added headers when outbound INVITE must be authenticated (issue #5070 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6461 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
085ad00ee0
don't terminate subscriptions before they should be (issue #5063 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
5f07eec58a
remove unused 'outgoinglimit' code, rename 'incominglimit' to 'call-limit' (old syntax is still supported) (issue #5068 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6458 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
6d19c704b7
make chan_sip and chan_iax2 less chatty when not in debug mode (issue #5067 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
5d4d2fdfd4
Add SIP video fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6448 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
538e160956
fix error I introduced into oej's patch :-(
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6447 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
388e8bd9a8
massive upgrade to SUBSCRIBE, device state and messaging support (issue #3644 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
ae1e51c857
use proper next hop in strict routing mode (issue #3609 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6443 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
1824c2f630
encode/decode URIs in 'pedantic' mode (issue #3923 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6441 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
99929b21e4
preserve hint watchers and laststate across 'extensions reload' (issue #2522 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
da627fc643
use case-insensitive comparisons for headears (issue #5023 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
529fcab374
add T1 timer support for NOTIFY dialogs (issue #5017 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6405 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
1cb8d00523
ensure Asterisk won't segfault during re-registration (issue #5011 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6402 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
bf6bc6d4fd
clean up rtcaching config options (issue #4075 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6401 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
60718ec80b
handle INVITEs that are asking for authentication that we cannot supply more intelligently (issue #4995 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6399 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
20e887d708
make some messages show up only under debugging and other minor cleanups (issue #5018 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
fa4b3f8416
fix 'sip debug' vs. reload properly
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6397 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
87f2acf15d
don't reset sipdebug to zero during reload (issue #5000 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6389 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
9a6618e8d8
show global vmexten in 'sip show settings' (issue #5005 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
0a3502b592
handle on-/off-hold properly with RTP reinvited streams (issue #3974 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6371 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
a5b640cb40
add 'sip show settings' CLI command (issue #4806 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
0bf1d48e40
support configurable Message-Account value in NOTIFY messages (issue #4801 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6365 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
3480297607
add preliminary support for SIP timers (issue #4359 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6362 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
09bd4cfb95
add SIPCHANINFO function to retrieve information about the current connected SIP endpoint (issue #4698 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6357 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
97b45d5d6d
handle BYE instead of CANCEL from callers (issue #4994 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6354 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
97e1ede292
Centralize and fix tos for IAX (bug #4850 inspired)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6315 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
95cf08ee92
Allow ToS to be set in hex (bug #4923 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6314 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
6dde38ed52
Be consistent with User/Username (bug #4916 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6305 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
c65f1a04ab
there is no reason to check the channeltype of the channel calling SIPAddHeader
...
because it really only matters what the channeltype is of the *created* channel
in the subsequent dial (bug #4896 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
73e21b0ccc
Add extra aliases from RFC4028 and RFC3841 (bug #4889 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
6e825f933d
Revert a portion of oej's patch...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
c57bfc55cf
Don't ignore ACk packets (bug #4861 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
3a362c7839
Reduce number of calls to get method (bug #4863 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
50087d3467
Fix qop syntax (bug #4822 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
9f136f57fe
Don't delete RTP if there is a channel, even if we get REGISTER/SUBSCRIBE (bug #4534 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
11891d28da
and now we know why #define-ing constants and trying to keep them in sequence is a bad idea...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
9080884688
fix breakage that was causing PUBLISH to be sent instead of CANCEL
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
f99dcb7586
add a few const's
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
b774d41660
enhance SIP_PEER function to return additional items (bug #4816 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6229 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
4df19fa1c2
clean up SIP response and pedantic REGISTER matching (bug #3663 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6218 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
1a5aa9c836
add dedicated function for adding Content-Length header (bug #4795 )
...
use ast_build_string to build large text bodies (bug #4795 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
6596f8496e
_really_ rewrite get_in_brackets to do the right thing (including skipping escaped double-quote characters)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6205 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
1aa875b656
combine bracket-removing functions (bug #4794 , with compiler warning mod)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
1e9beaa1d2
ensure that port number in URI is presented when needed (bug #4784 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6194 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
1153f74259
add plain-text hangup cause private header to outbound BYE/CANCEL (bug #4783 with minor mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
5238d544e9
ensure socket address family is copied (bug #4789 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6190 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
dd1cd37f11
ensure SIP_HEADER does not segfault when called on hung-up channels (bug #4756 , different fix than posted patch)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
bd18858411
more formatting fixes from oej :-) (bug #4757 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6179 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
91e8442629
add SIPPEER dialplan function (bug #4728 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
0be59a11de
simple fix for bug #3638
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6169 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
22b0f5d306
add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
9d8d86e19d
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: https://origsvn.digium.com/svn/asterisk/trunk@6143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
aaa057778c
add create_addr_from_peer, to use an existing peer reference
...
(solves a deadlock where create_addr was called with the peer already locked)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6123 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
e24821e1cf
fix off by one errors in calls to ast_copy_string (bug #4600 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6084 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
4c531ca8c0
define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSION
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
c13d601fb4
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: https://origsvn.digium.com/svn/asterisk/trunk@6062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Malcolm Davenport
f1a18b8066
Hardcode urgent messages option in Voice-Message to 0
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
1bd88c387e
don't segfault when peer doesn't send Referred-By (bug #4588 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6038 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
52ef5c7d30
add function to convert a cause code to a string
...
create MAX_MUSICCLASS instead of using MAX_LANGUAGE
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
3c91556d2d
reset regattempts counter after successful registration (bug #4634 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
4803ab0bb2
don't use locks when reading usecounts (reading only, not writing)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
4358089aa7
Fix SIP with OSP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5975 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
369b421b78
make SIP registration accept RFC non-compliant Digest headers (bug #4577 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5970 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
52e26805e7
begin properly supporting 'Supported' and 'Required' headers (bug #4351 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
4e6d610317
ensure that proper response code is return for unimplemented methods (bug #4512 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5949 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
a752aeb4e8
fix reply_digest breakage from earlier patch
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5941 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
f80df76143
Fix fd's when we release rtp/vrtp
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5940 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
b6ea1bcb29
Attempt to repair SIP parameter gathering brokenness
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5939 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
0c61fc56be
Fix via comparison to be case insensitive
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5938 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
2f7e984a31
don't generate 'rport' unless RFC3581 support is enabled (bug #4533 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
81d1a11ed6
clean up and optimize reply_digest (bug #4447 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5925 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
9a80a7bc2c
string/whitespace handling cleanups (bug #4449 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5924 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
f3efc756ad
allow transfer-to number for SIP transfers to contain an '@' (and enforce the max-forwards restriction for these transfers) (bug #4048 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5894 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
5736270107
add 'rtignoreexpire' option to allow Realtime addresses to be used regardless of expiration time (bug #4362 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
e5e64bfd41
header ordering fixes for FreeBSD (pending a global merge into asterisk.h) (bug #4484 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5876 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
7584fac64b
various compiler warning fixes (bug #4483 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5875 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
2b8338cb52
more file version tags
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
005e436b57
another round of version tag updates, along with 'show version files' pattern filtering
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
bccc1171f0
Fix minor OSP compile issue
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
090f7d278b
more cleanups for outbound registrations (bug #4457 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5844 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
d6a2290eb2
use a struct for long parameter list to transmit_invite (bug #4458 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
420737f3ea
correct oops in recent outbound registration rework (bug #4461 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5841 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
c9004afb94
various improvements to outbound registrations and response handling (bug #3850 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5839 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
115e45c7b0
handle stale authentication nonces more properly (bug #4343 , with formatting fixes)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5834 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
Mark Spencer
2df83a9298
Fix SIP registration (bug #4138 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
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
20 years ago
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
20 years ago
Kevin P. Fleming
d5b50fc83d
formatting cleanup (bug #4330 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5737 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
Mark Spencer
0575c11d72
Merge formatting changes (bug #4172 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
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 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
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
20 years ago
Mark Spencer
55a6d4c1b5
Oops :)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5519 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
b99c287ef6
Fix lockup in register timeout
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
2a4265b406
formatting cleanup (bug #4088 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
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
20 years ago
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
20 years ago
Kevin P. Fleming
d254db31c8
*** empty log message ***
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
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
20 years ago
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
20 years ago
Anthony Minessale II
c02caf1e91
add missing newlines (part2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5308 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Anthony Minessale II
6afb37c9ae
add missing newlines
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
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
20 years ago
Mark Spencer
5c12ec4755
Clear out received tag in 407/401's (bug #3885 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5292 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
74075be1c4
Don't forget blank header in notify (bug #3877 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5289 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
4fbb1a57c4
Cleanup SIP method stuff a little
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
fdc402153d
Minor formatting fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5271 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
c4f66c2c33
Fix DTMF formatting (bug #3853 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5261 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
03f5290b89
Add SIP real authentication (bug #3782 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5256 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
e7b18536c4
Fix SIP/IAX caching (bug #3671 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5249 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
f5b6b2b953
Make sure regtimeout is initialized (bug #3845 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
4e156d3435
Fix portability (Bug #3842 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
fea72cb65d
Fix SIP realtime bug (somehow didn't get committed yesterday)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5228 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
ceadbd2d91
Make sure we don't accept streams we can't handle (bug #3818 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
b0fa3b6450
Update SIP/IAX documentation and code (Bug #3810 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5220 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
e31fd63b35
Add SIPPeers and SIPShowPeer manager events (bug #3693 with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5215 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
d0e9afeb2b
Minor sipredirect fixes (bug #3789 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
5c3c5fb65c
Fix "," to "." notation.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5210 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
7353c879b0
Comment on sensitivity (bug #3802 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
2af2747634
icseq increments only on requests, not responses (bug #3798 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5208 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
ef1b495d45
Strengthen RFC conformity with respect to tags and stupid SIP complexities.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
0d63eccb11
Fix "little crash" in inuse handling (bug #3792 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
1205aaa664
Fix tag issue (bug #3795 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5204 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
4c4264a448
Reorganize SIP code to make more readable (bug #3781 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
47979c3e73
Make sip debug easier to read (bug #3785 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
7082d0584e
Add PLC and jitter buffer and iax2 meta trunk with timestamps (bug #2532 , #3400 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
488595c759
Cleanup registration expirey with realtime (bug #3751 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5188 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
c6c9c0a3ed
Merge tony's refactoring code with small mods (bug #3710 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5179 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
98a3c16be4
Slow down the registrations to space them out
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5154 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
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
20 years ago
Mark Spencer
0bad15d227
Be sure to process SDP if we already have an owner (bug #3701 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5118 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
c021ec56e3
Fix small but big typo in REGISTER/SUBSCRIBE early RTP closing (bug #3673 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
c96810b9d3
Add new callerpres parsing API (bug #3648 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
3188414261
Release RTP ports early (bug #3655 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5082 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
8ea159cc2e
Handle SDP *after* authentication (bug #3660 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5075 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
6eea9479e7
Allow global "qualify" option (bug #3649 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5071 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
927828d4d4
Fix "tohost" logic errors (bug #3654 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
ef19fe6bef
Add sip redirect support (bug #3419i, with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
0126706cac
Add OEJ's md5 app (bug #3604 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5048 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
cea4a8e09e
Fix native agent transfer, add UPGRADE.txt for notes about backwards compatibility issues upgrading from Asterisk 1.0 to current CVS head
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5031 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
90267ab0ea
Merge OSP udpates
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5029 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
7f5f113968
Remove a couple of peerification bbugs (bug #3576 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
1ca9fb19e5
Merge limits patch (bug #3581 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5021 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
062733f106
Fix user=phone stuff (bug #3575 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5020 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
e83c29f281
Add sip show user completion (bug #3574 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
6a181832bb
Add callingpres/calling limit support, small updates (bug #3577 with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
cecb25eae5
Add sip show user and friends (bug #3571 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
dd7e4ef47a
Merge SIP changes from oej
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5013 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
d44286366b
Flagify hold (bug #3456 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
c52f076bca
Separate IAX and SIP tables for users/peers
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5004 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
5d9bbe64c8
Merge tony's IAX/SIP realtime cache (bug #3509 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
97f589e6af
Handle DNS failures on startup more gracefully (bug #3086 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
82a9a22e99
Fix callerid segfault in rare combination (bug #3519 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4980 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
a678344264
Show last tx/rx command in sip show channels (bug #3499 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
746dbf2c53
Make sure we always transmit the same from line (bug #3492 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
c48522110f
Fix silly typo (bug #3483 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4946 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
e89fb66d79
Only use default callerid if it's specified (bug #3486 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4944 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
8f199888d5
Merge callevents etc (bug #3456 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4921 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
c3f8e1fe08
Fix CID name when no CID name is supplied (bug #2795 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4908 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
b1e0f0f102
Handle oddly sent 'A' to 'D' (bug #3445 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4906 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
7a250ebd34
Fix reload on sip peers (bug #3432 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago