Luigi Rizzo
d5eef300d8
define a mask SIP_INSECURE sam as for other sets of flags.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48543 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-17 12:47:08 +00:00
Olle Johansson
168deb2366
Issue #8592 - treat 504 as congestion (imported from 1.2/1.4)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-15 10:58:36 +00:00
Olle Johansson
bf2172faac
Update to latest IANA specs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48485 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-15 10:54:06 +00:00
Russell Bryant
666d526aad
Fix various spelling mistakes in comments.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-12 22:32:20 +00:00
Olle Johansson
2b42422940
Handle multiple 487's correctly
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-06 16:54:27 +00:00
Olle Johansson
c39f887ac8
Don't send Contact in SIP Messages (imported from 1.2/1.4).
...
Reported by Gunnar at Omnitor.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-06 12:34:58 +00:00
Russell Bryant
a44e55a3f3
Constify a bunch of the usage strings for CLI commands.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-06 07:23:32 +00:00
Olle Johansson
22142e1aa0
Cleaning up handle_response a bit. (Imported from 1.4)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48220 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-02 22:03:14 +00:00
Olle Johansson
df8c773783
Send CANCEL to call with early media (PROGRESS INBAND).
...
This is imported from branch "invitestate" and "invitestate-1.4"
***
***
*** IF YOU HAVE ISSUES WITH BYEs/CANCELs - PLEASE UPDATE AND TEST AGAIN!
*** Thank you!
***
***
/Olle
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48216 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-02 20:30:58 +00:00
Olle Johansson
fc6de9e982
Invitestate updates
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-02 19:11:02 +00:00
Olle Johansson
c23bc46089
- Disable RTP timeouts during T.38 transmission
...
- Encapsulate RTP timers to the RTP structure, so we have one set for video and one for audio
- Document RTP keepalive configuration option
- Cleanup and document the monitor support function to hangup on RTP timeouts
- Add RTP keepalive to SIP show settings
Imported from 1.4 with modifications for trunk.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-02 12:05:40 +00:00
Olle Johansson
4ce5b7c080
- Remove T.38 early media, since T.38 requires two way communication (imported from 1.4)
...
- Small fixes to limitonpeer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48178 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-01 18:16:16 +00:00
Olle Johansson
813f8d26fe
Issue #8319 (imported from 1.2, 1.4) - Increment nonce-count properly (noriyuki)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48167 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-30 20:55:43 +00:00
Olle Johansson
389ed67b41
Merging patch from 1.2/1.4. I think this was originally spotted by
...
Luigi, but hit me in the back today.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-30 09:23:25 +00:00
Joshua Colp
bf9a5e1dee
I am pretty sure that oej only meant to change the variable name in the source, not the configuration option name so let's turn it back to srvlookup instead of global_srvlookup. (issue #8442 reported by jtodd)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48123 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-30 03:29:42 +00:00
Olle Johansson
42fb134171
Change error message (imported from 1.4)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48032 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-27 06:44:40 +00:00
Olle Johansson
e46e42ceec
Changing ERROR to lesser level. Imported from 1.2/1.4
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48004 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-25 09:48:30 +00:00
Olle Johansson
a4cc4d03c9
Remove unused memory allocation
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47960 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-23 11:04:25 +00:00
Olle Johansson
4221020191
Treat 101 as 100, not 183 session progress
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47893 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-21 15:25:38 +00:00
Olle Johansson
230376c7c0
Properly reset schedule items (rizzo)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47844 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-20 11:36:45 +00:00
Luigi Rizzo
f14aa70947
Merged revisions 47823 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47823 | rizzo | 2006-11-18 18:59:35 +0100 (Sat, 18 Nov 2006) | 5 lines
fix bug 7450 - Parsing fails if From header contains angle brackets
(the bug was only in a corner case where the < was right after the
opening quote, and the fix is trivial).
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47824 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-18 18:03:42 +00:00
Joshua Colp
cce2057f08
Merged revisions 47764 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47764 | file | 2006-11-16 16:11:06 -0500 (Thu, 16 Nov 2006) | 2 lines
Compare technology using the pointers instead of a straight comparison based on name. (issue #8228 reported by dean bath)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47765 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-16 21:13:17 +00:00
Olle Johansson
a6f5adefa1
Make it possible to enable/disable onhold tracking, in order to make life easier
...
for realtime users.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47756 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-16 19:29:28 +00:00
Olle Johansson
638d5e1fc8
Merging implementation of invite states from my "invitestate" branch for 1.2. This is a bit more
...
clean platform for the handling of BYE/CANCEL than what we had. It might also need to changes
in other parts of the code, since we know the state of the INVITE transaction.
Please observe that this is is not dialog states at all, this is INVITE transaction states.
Hello Michael Proctor, and thank you! :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47740 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-16 16:02:41 +00:00
Olle Johansson
a427a2a89a
- CANCEL never uses authentication
...
- Add docs on canreinvite
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47734 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-16 15:12:30 +00:00
Olle Johansson
5231f5aff8
Hunting the initreq change for an ACK
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47706 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-15 21:21:21 +00:00
Olle Johansson
015efdd558
- Don't reply to ACK
...
- Improve SIP history for debugging
(Imported from 1.4)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47700 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-15 20:40:22 +00:00
Olle Johansson
88a518c2dd
Send proper SIP error message improperly when we can't allocate dialog (out of file handles is one cause)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47660 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-15 16:04:24 +00:00
Olle Johansson
5ef820e53c
Update doxygen docs to reflect the code...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47657 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-15 15:27:46 +00:00
Joshua Colp
676a0f2719
Merged revisions 47628 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47628 | file | 2006-11-14 17:05:03 -0500 (Tue, 14 Nov 2006) | 2 lines
Only keep the video RTP structure around if 1. Video support is enabled and 2. A video codec is enabled on the dialog
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-14 22:07:20 +00:00
Olle Johansson
063ebdf279
Adding some debug output to trace bug in realtime
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-14 13:17:38 +00:00
Olle Johansson
f9f8237a2f
Adding a new debug line for issue #7351 - trying to find where an ACK can overwrite the initreq...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47599 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-14 12:32:46 +00:00
Olle Johansson
c2b4c7a9c7
Issue #8272 imported from 1.2/1.4 - Let the peerpoke system destroy it's own packets, please.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47598 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-14 11:26:06 +00:00
Olle Johansson
fb211aa610
Remove flags not used any more (thanks Luigi)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-14 11:00:33 +00:00
Tilghman Lesher
98e17e1cb9
Merged revisions 47581 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r47581 | tilghman | 2006-11-13 14:20:01 -0600 (Mon, 13 Nov 2006) | 10 lines
Merged revisions 47580 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47580 | tilghman | 2006-11-13 14:18:30 -0600 (Mon, 13 Nov 2006) | 2 lines
Having more than 255 old messages caused corruption in the new/old count
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 20:21:33 +00:00
Olle Johansson
ea64cd393f
Small fix for uncommon scenario.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 19:20:54 +00:00
Olle Johansson
ffc1dc331a
Only produce error message once, don't fill the screen with them...
...
(Testing SIPP thanks to JerJer and Greg)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47541 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 16:08:12 +00:00
Luigi Rizzo
52148c96f5
merge from astobj2-r47450: use UNLINK to remove a packet from its queue,
...
and related code rearrangement.
Approved by: oej
This could be made better if we declared
struct sip_pvt *dialpg = pkt->owner;
at the beginning of the function, and use it throughout the function.
I'll let the boss decide :)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 14:29:31 +00:00
Luigi Rizzo
c26ccb97b9
merge from codename-pineapple and astobj2 47499:
...
simplify __sip_ack() removing a strcmp for looking up packets.
no functional change, only performance, so don't need to merging
to earlier branches now.
Approved By: oej
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47538 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 14:14:54 +00:00
Olle Johansson
139bf2b626
Part of patch in #7403 to improve tag checking in pedantic mode (stephen_dredge)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-12 20:47:25 +00:00
Olle Johansson
2286ff9659
Restore auto-framing (DEA). Imported from 1.4
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-12 16:15:49 +00:00
Olle Johansson
aa275d4970
- Support UDPTL as well as udptl in T38 sdp.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47512 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-12 15:40:03 +00:00
Olle Johansson
b744a76565
- Don't hangup because of failed re-invite. Go back to previous state.
...
- Keep RTP running during T.38 session
We might improve the code to issue ast_rtp_stop if T.38 re-invite not fails
later on in the code, but I don't see many reasons to.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47510 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-12 15:30:48 +00:00
Olle Johansson
1f9dcf758c
- Add some comments to t.38 code
...
- Remove improper blocking of ptime: in SDP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-12 15:14:35 +00:00
Olle Johansson
0c18d91817
Add some history and fix some debug output for autodestruct.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 21:55:31 +00:00
Olle Johansson
2b6d3952e1
Proper fix for adding debug...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 21:39:58 +00:00
Olle Johansson
d5243cc7aa
Make sure we destroy dialog in case of loop
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47468 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 20:31:57 +00:00
Olle Johansson
d69eb90f82
Cleanup imported from 1.4
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 20:25:32 +00:00
Olle Johansson
d53979523c
Issue 8336- fix support for multipart SDP (imported from 1.2/1.4). (Alphaque)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47455 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 19:01:12 +00:00
Tilghman Lesher
691363656f
Merged revisions 47436 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47436 | tilghman | 2006-11-10 10:51:55 -0600 (Fri, 10 Nov 2006) | 2 lines
Discussion of these CLI changes resulted in more consistency (Bug 8236)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47439 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 17:01:06 +00:00