[asterisk-bugs] [JIRA] (ASTERISK-25772) res_pjsip: Unexpected two BYE when answered
Richard Mudgett (JIRA)
noreply at issues.asterisk.org
Tue Jun 21 16:40:56 CDT 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-25772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=231095#comment-231095 ]
Richard Mudgett commented on ASTERISK-25772:
--------------------------------------------
The call is being disconnected because the CommuniGatePro is negotiating the video stream incorrectly and providing an invalid SDP. If the CommuniGatePro wants to reject the video stream then according to RFC3264 it should be sending a 0 port value in the (m=) video media line. If it really wants to make the video stream inactive then according to RFC4566 it needs to be sending the rtpmap attribute for the dynamic payload type 100 being offered by Asterisk.
You should be able to work around the CommuniGatePro invalid SDP issue by putting a static payload type video format first in your pjsip.conf file. You list two video codecs that have static payload types, H263 and H261.
The PJSIP stack is rejecting the invalid SDP from the CommuniGatePro by disconnecting the call. However, it should be sending only one BYE request and not two.
> res_pjsip: Unexpected two BYE when answered
> -------------------------------------------
>
> Key: ASTERISK-25772
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-25772
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_pjsip
> Affects Versions: 13.7.2
> Reporter: Dmitriy Serov
> Assignee: Richard Mudgett
> Attachments: extensions.conf, full.res_pjsip.txt, pjsip.conf
>
>
> Making outgoint call to other sip server (CommuniGatePro), my asterisk suddenly sends BYE after picking up.
> Log of call from device on res_pjsip via endpoint on res_pjsip is attached.
> Disabling all codecs except alaw (I guess video codecs) makes call successful.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list