Joshua Colp
e86275c11c
Fix silly logic. We really want to write UDPTL frames out when the call is up.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
9aab046002
Merged revisions 53045 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r53045 | russell | 2007-01-31 15:25:11 -0600 (Wed, 31 Jan 2007) | 3 lines
Fix a bunch of places where pthread_attr_init() was called, but
pthread_attr_destroy() was not.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
29b7393d84
Only set the DTMF flag on the rtp structure if the DTMF mode is actually
...
RFC2833, not just that it is not INFO. This makes it get set for inband DTMF
as well, which is not valid.
(issue #8936 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
ed48c69f06
Drop out variables I accidentally put in.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52210 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
6b08afd05d
Decrement onHold count if we are hung up on and still on hold. (issue #8909 reported by alexh42)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52208 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
5ebd1ecf63
Fix changing channel formats when joint capability changes and there are no audio formats... I didn't break it originally! (issue #8535 reported by ivoc)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52016 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
a207a31a97
Show capabilities *and* preference in general settings in "sip show settings"
...
(reported by Clona/Telio - Thanks!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
8f7ddbef0d
Update channel drivers to use module referencing so that unloading them while in use will not result in crashes. (issue #8897 reported by junky)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51788 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
5a3acb0511
Only change audio formats on the channel if we have an audio format to change to. (issue #8535 reported by ivoc)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
33235b40d6
Merge the changes from the /team/group/vldtmf_fixup branch.
...
The main bug being addressed here is a problem introduced when two SIP
channels using SIP INFO dtmf have their media directly bridged. So, when a
DTMF END frame comes into Asterisk from an incoming INFO message, Asterisk
would try to emulate a digit of some length by first sending a DTMF BEGIN
frame and sending a DTMF END later timed off of incoming audio. However,
since there was no audio coming in, the DTMF_END was never generated. This
caused DTMF based features to no longer work.
To fix this, the core now knows when a channel doesn't care about DTMF BEGIN
frames (such as a SIP channel sending INFO dtmf). If this is the case, then
Asterisk will not emulate a digit of some length, and will instead just pass
through the single DTMF END event.
Channel drivers also now get passed the length of the digit to their digit_end
callback. This improves SIP INFO support even further by enabling us to put
the real digit duration in the INFO message instead of a hard coded 250ms.
Also, for an incoming INFO message, the duration is read from the frame and
passed into the core instead of just getting ignored.
(issue #8597 , maybe others...)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
1e3557c636
Copy MOH settings when calling a peer so that if they put someone on hold or get put on hold themselves they get the right music class. (issue #8840 reported by mdu113)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
4244459e31
Merged revisions 51197 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51197 | russell | 2007-01-17 15:17:21 -0600 (Wed, 17 Jan 2007) | 3 lines
Move the check for a failure of ast_channel_alloc() to before locking the
pvt structure again. Otherwise, on a failure, this will cause a deadlock.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
915f9315e1
Remove check for channel state as it can definitely be something other then ring, and also clean up the code a bit. This should solve the parking issues and maybe some attended transfer issues people have been seeing.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50468 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
240ca25bea
Add support to see whether NAT was detected (yay symmetric RTP) and also add a check in chan_sip so that if NAT has been detected and the reinvite behind nat option has been turned off, then just do partial bridge. (issue #8655 reported by mnicholson)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
9aca2b2a54
Fix chan_sip not working issue. Let's not prematurely return 0. (issue #8783 reported by st41ker)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50377 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
1a33c38a15
- handle re-invites properly in sip_hangup()
...
- Add some invitestate status changes just to be sure
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
3394598f93
Issue #8677 - Handle failure of T.38 re-invite
...
This is not a fix, but adding an error message to tell the admin that
we have a bad configuration. We should not send T.38 re-invites to devices
that can't handle it (with the current architecture where you have to
hard-code t.38 support per device).
To really fix this, we need to figure out a way to tell the incoming
call that the re-invite failed, so we can signal failure on that
end and go back to the original call.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50006 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
0f96f73768
Issue #8524 , support multiple via header values (tardieu)
...
Thanks!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49983 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
be32fad9b8
We only need one forward declaration
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49945 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
484add6554
Issue 8735: Terminate state when extension is unavailable for subscription
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49925 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
dcbf36432e
Second condition was a subset of the first, so hold was never decremented, thus hint stayed stuck (Issue 8747)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49831 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
444adcb477
reduce stack consumption for AMI and AMI/HTTP requests by nearly 20K in most cases
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49676 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
fb010e49aa
Merged revisions 49635 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r49635 | kpfleming | 2007-01-05 10:56:40 -0600 (Fri, 05 Jan 2007) | 2 lines
ensure that threads which are supposed to be detached (because we aren't going to wait on them) are created properly
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49636 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
5edb7fa173
Small cleanup of add_t38sdp - it's always enabled at that point in the code
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
7db2ca152c
remove incomplete implementation of dnsmgr. Let's fix this in trunk.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
1e9c141c2d
Only include acl.h and lock.h once
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48997 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
4f157be79e
Only set rfc2833compensate flag once (handle_common_options)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
f1f8bbaabe
- Remove checking for T38 options twice. Keeping them in handle_common_options
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
0f5aae9688
make the option actually match the documentation
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
d2b7e8b247
Be a bit more politically correct
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48985 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
bfe4bb0f1e
Issue #8575 - Buggy cisco MWI support.
...
Normally we try not to change our software for bugs in other devices. But in
this case, the Cisco phones are so widespread so we try to implement a fix while
waiting for a bugfix from Cisco.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
e25756dfac
- Make sure handle_common_options return 1 when we found a common option
...
- Move uncommon (only global) option away from handle_common_options
Reported by rizzo. Thanks!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48980 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
4ea530f2dc
Issue 8599 (rizzo) Change invitestate before re-sending invite with auth.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48977 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
8a42650605
Fix bogus content-length in t38 sdp. (rizzo, #8600 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48975 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
9cc04e026d
Add an API call that initializes an RTP structure. We need this because chan_sip is cheeky and uses a temporary RTP structure for codec purposes, and the API calls that are used rely on the lock. (Pointed out on asterisk-dev by Andy Wang)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48964 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
1208869c00
Merged revisions 48939 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48939 | russell | 2006-12-24 01:47:29 -0500 (Sun, 24 Dec 2006) | 3 lines
Remove a couple of misplaced dots in log messages. This was reported by
Andrea Spadaccini on the asterisk-dev mailing list.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48940 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
c1f1cf48ac
Issue #8592 - treat 504 as 503 (imported from 1.2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48487 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
a8fe77b95b
Update to latest IANA spec
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48481 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
28c36660c7
Issue #8258 - fix handling of 487 being retransmitted to Asterisk
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48326 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
0fe91149ae
Don't send Contact on MESSAGE
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48317 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
694205de93
Merging the invitestate-1.4 branch after successful testing.
...
Will check if I can solve this with less changes in 1.2.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
9636bccb7c
- Removing one of two pieces of code to handle 481 response on INVITE
...
- Move handling of REFER response to handle_response_refer()
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48219 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
f89143bd13
- Disable RTP hold timers while T.38 fax transmission happens
...
- Encapsulate RTP timers in the rtp structure so we have one for video and one for audio
The video one is not used in 1.4, really. Will be used for RTP keepalives when we can send
something that video phones support in the RTP stream.
I now this is a big architectual change at this stage for 1.4, but decided it was needed
to avoid future bug reports.
- Document the RTP NAT keepalive option in sip.conf.sample
Issue 7679 in the bug tracker. Please test.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
98d3fb64ed
- Backport of the "limitonpeers" patch from trunk, to fix a lot of issues with queues and SIP device states
...
- Remove support for T.38 early media, since it's impossible.
(Two patches in one - extra friday evening offer due to being off line from svn today... :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48177 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
76e35bac11
Issue 8319 - change noncecount before using it.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
073e937757
Clean up bad dialogs properly. Caused by GS 487 adapter without CSEQ on separate line
...
in the REGISTER request. Imported from 1.2.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
9436ecaad7
Change logging message
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48031 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
5a3dcaff3c
Not having a HINT is not an ERROR. In 1.4 and future releases, you can disable
...
subscription support totally or per peer in sip.conf with allowsubscribe = yes | no
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48002 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
c3a7e9d7c2
Don't allocate unused variable.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47959 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
5c0be47e69
Apparently Exosip sends a 101 after a 100 provisional response. Let's not treat that as
...
early media. (discovered at the AVTF meeting in Paris).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47892 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
a7c1ac60b7
Make sure we destroy scheduled items and not use them ever again after destruction (rizzo)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
d20e81d829
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/branches/1.4@47823 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
f373cad528
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/branches/1.4@47764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
e1e6a1b2a8
Make the HOLD notification optional, in order to avoid a lot of extra database lookups
...
for all those realtime users out there.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47755 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
d1ee29fc20
Don't fixup if there's nothing to fixup
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47744 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
5bd53e3588
- CANCEL is never authenticated (according to the RFC)
...
- Update docs on canreinvite. "nonat" is the recommended setting for most users with
phones behind a NAT.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47733 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
c78840b900
- Improve SIP history
...
- Never send reply to ACK (again...)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47698 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
63f87d112d
Send error message when we can't allocate SIP dialog, possibly due to limitation of file descriptors.
...
(imported from 1.2)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47656 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
25b5cf18b7
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/branches/1.4@47628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
4ecb09f6e8
Update documentation to fit the implementation...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
cb82979700
Issue #8272 - Don't destroy dialog in retransmission system if it's an OPTION packet from peerpoke
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
e944561518
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/branches/1.4@47581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
6e4d0e50c8
Re-enable old deprecated commands
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47573 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
55c8a5ded8
- Don't reply to INVITE already replied to when we get BYE
...
- Declare errmsg as int. Oops.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
0ca5dae550
Only produce error message about sip history once
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47540 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
153cb1309f
Issue 8314 - Restore auto-framing (Thanks DEA!!!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47513 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
fc5f9c78d1
Part of issue 8078 - parse even if udptl is UDPTL in sdp...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47511 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
a471f0a87c
- Don't destroy SIP dialog because of a failed T.38 re-invite. Wait for a bye.
...
Final response to a re-invite does not mean that the session dies, only that
the re-invite fails.
- Keep RTP active during processing of T.38 re-invite. If the re-invite fails,
RTP needs to remain as before the re-invite.
Issue 8338 - darren1713. Please test.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47509 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
853958e863
-Remove blocking of ptime: parsing in sdp
...
-Add some comments to t.38 code
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
2a321d80f5
...and make sure that the dialog is destroyed, even if we don't get any answer on the bye...
...
This is the channel that remains dead after the SIP transfer
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
ea257647a2
Add debug output while trying to trace bug in bug report
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
ba58cf9ecd
Make sure we destroy dialog...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
1f2a4eb8c2
Small cleanup of handle_request_invite() - imported from 1.2 with changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
d83a1f1356
Issue 8010 - Fix support for multipart SDP (alphaque)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
f11ea0549d
Discussion of these CLI changes resulted in more consistency (Bug 8236)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
54994dfe04
Rip out half implementation of 491 response support, since it wasn't implemented
...
properly and caused memory leaks in the case of us getting 491's, which Asterisk
actually sends...
Since it is a bit too complicated to fix this, I'll rip it out of 1.4 and put
it on the to-do-list for future releases. Now, we handle this as congestion,
which it really is.
Issue #8331
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47418 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
27e6ea10fb
Fix bit definition for SIP_PAG2_CALL_ONHOLD. Thanks fenlander!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47414 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
10978d0390
add simple fix for SDP to report proper sample rate for G.722 media sessions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47333 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
764ba93e05
Destroy dialog properly at unload (rizzo)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47309 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
517978fd5f
These mods are to solve the problem in bug 7506. It's a lot of rework to solve a fairly small problem... such is life.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
647fb52e31
Issue 8303 (lrizzo) - break instead of continue.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
eac4efcf22
Fixing the attack shield so it doesn't produce attacks... Issue 8265 - never reply to an ACK
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47250 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
d5edfd432a
Issue #8284 : Fixes to Invite/replaces and transfer from "john"
...
Thank you!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
b6079499e4
This fix introduced via bug 8233
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
e05a2752e8
Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments"
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
ea69dd0cbc
Move check for codec translation to sip_call() instead of in add_sdp. No one bothers
...
with the result of add_sdp anyway... Yet...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
bfb1d68414
Disable code for T38 over TCP and RTP since there's no trace of actual functionality for it :-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
efdffc0cf8
don't send INVITE when we have determined that we can't offer any audio formats due to lack of trancoding support (or incorrect configuration)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46937 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
eb25ec6ed5
Merged revisions 46920 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r46920 | file | 2006-11-02 11:02:27 -0500 (Thu, 02 Nov 2006) | 2 lines
Repeat after me oej: I will at least make sure my code compiles before I commit it.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
5667c1c71d
Dont overwrite pkt->flags (from 1.2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
9ab1cc22a4
Support ;rport when we're supposed to support ;rport. Issue #7473 .
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
56f2cab81c
If peer fails ACL check, fail peer at REGISTER
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46606 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
cdb0c64271
Fix T38 too. Thanks, tgrman !
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46583 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
86c973f71f
Issue #8246 - Doxygen fixes from kshumard.
...
An extra big thankyou is given to everyone that contributes to doxygen!
THANK YOU!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
9213317979
Issue #7869 - Stop retransmission of 302 redirects (imported from 1.2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
4456e58811
Issue #7608 - Notifications sent with wrong content-type (imported from 1.2, modified)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
e8350b836b
Backport of patch for #7828 that was reported for trunk, but obviously
...
exists in 1.4 too.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46401 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
0ff30203f9
Restoring the old logic, since working around it and fixing it seemed too complicated.
...
- The SIP_OUTGOING flag indicates the direction of the last transaction in the dialog.
- The initreq stores the last request in the dialog, the request that opened the
latest transaction.
Please now retry all the 1.4 bug reports with mixed to/from headers, tags etc
in ACK, BYE, CANCEL. Thanks!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
b1b2177079
Accepting a message twice may be misinterpreted...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46389 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
5c59f2f5f5
- 183 is not reliable message...
...
- Error should not have SDP
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago