Summary: | ASTERISK-20331: asterisk should not reinvite on 2 channels with incompatible codecs | ||
Reporter: | Frederic Van Espen (frederic.ve) | Labels: | |
Date Opened: | 2012-08-29 03:46:13 | Date Closed: | 2012-09-26 11:52:45 |
Priority: | Minor | Regression? | |
Status: | Closed/Complete | Components: | Channels/chan_sip/CodecHandling |
Versions: | 1.8.13.1 1.8.14.0 1.8.14.1 1.8.15.0 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | Ubuntu 10.04 LTS | Attachments: | |
Description: | I have 2 SIP peers set up in this way [peer1] type=friend username=peer1 secret=xxx dtmfmode=rfc2833 restrictid=no host=dynamic mailbox=7725 pickupgroup=1 callgroup=1 context=NoRestrict callerid=Jan <7725> directmedia=yes qualify=yes disallow=all allow=ulaw [peer2] type=friend username=peer2 secret=xxx dtmfmode=rfc2833 restrictid=no host=dynamic mailbox=7724 pickupgroup=1 callgroup=1 context=NoRestrict callerid=Joris <7724> directmedia=yes qualify=yes disallow=all allow=alaw during call setup asterisk tries ReINVITE to both peers, but fails because of the incompatible codecs (ulaw <> alaw). Afterwards, asterisk sends BYE to both peers and hangs up the channels. I can reproduce this on asterisk 1.8.13.0 and upwards. I have not tried lower versions but I suspect they are affected too. I would expect one of 2 things: - Asterisk does not try reinvite at all (it knows that the codecs are incompatible) - Asterisk tries reinvite, but keeps the channels up when it fails. | ||
Comments: | By: Rusty Newton (rnewton) 2012-09-06 17:10:47.553-0500 Please attach an Asterisk VERBOSE and DEBUG log of level 5, plus a SIP and RTP packet trace for a call demonstrating the problem. Please attach them as separate file and not inline. https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information By: Matt Jordan (mjordan) 2012-09-26 11:52:51.666-0500 Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested. Further information can be found at http://www.asterisk.org/developers/bug-guidelines |