[asterisk-bugs] [JIRA] (ASTERISK-22071) 11.4 (as opposed to 11.2.1) sends OK to BYE to ip address different from the one in first Via

Alex Zarubin (JIRA) noreply at issues.asterisk.org
Sun Jul 14 18:20:03 CDT 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-22071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=207952#comment-207952 ] 

Alex Zarubin commented on ASTERISK-22071:
-----------------------------------------

Hi Michael,

1. Putting nat=no in the peer context doesn't help. It changes the behavior though, BYE is the same as before but OK to BYE is transmitted with 'no NAT' and goes to <carrier ip address>:<proxy port>
<--- Transmitting (no NAT) to 5.6.7.8:5062 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 1.2.3.4:5062;branch=z9hG4bK-whatever-cs7OSENFJJ.0;received=5.6.7.8
Via: SIP/2.0/UDP 5.6.7.8:5060;branch=z9hG4bK-whatever-KAIyFLLQ9Z.0
Via: SIP/2.0/UDP 5.6.7.100:5060;branch=z9hG4bK-whatever-carrier-3682011348752653

2. The latest release 11.5.0-rc2 has the same issue. Logs are consistent with 11.4.0, whether we have nat=no globally (in the general context only) or add nat=no into the peer context.

3. We'll change canreinvite=no to directmedia=no (chan_sip.c still processes canreinvite=no though)

Thank you.
                
> 11.4 (as opposed to 11.2.1) sends OK to BYE to ip address different from the one in first Via
> ---------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-22071
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22071
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 11.4.0
>         Environment: CentOS 6.4
>            Reporter: Alex Zarubin
>            Assignee: Alex Zarubin
>         Attachments: AsteriskJira22071.txt
>
>
> The same exact sip call works in 11.2.1 and fails in 11.4. Outbound call is established normally via proxy. BYE comes from proxy with <proxy ip/port> in first Via header. 11.4 adds received=<carrier ip/port> and sends OK there. BYE is repeated several times.
> Will try to attach sip.conf and trace once this jira issue is created. Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list