[asterisk-bugs] [JIRA] Feedback Requested: (ASTERISK-20331) asterisk should not reinvite on 2 channels with incompatible codecs

Rusty Newton (JIRA) noreply at issues.asterisk.org
Thu Sep 6 17:11:07 CDT 2012


     [ https://issues.asterisk.org/jira/browse/ASTERISK-20331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton updated ASTERISK-20331:
------------------------------------

    Assignee: Frederic Van Espen
      Status: Waiting for Feedback  (was: Triage)

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

> asterisk should not reinvite on 2 channels with incompatible codecs
> -------------------------------------------------------------------
>
>                 Key: ASTERISK-20331
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20331
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/CodecHandling
>    Affects Versions: 1.8.13.1, 1.8.14.0, 1.8.14.1, 1.8.15.0
>         Environment: Ubuntu 10.04 LTS
>            Reporter: Frederic Van Espen
>            Assignee: Frederic Van Espen
>            Severity: Minor
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list