[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
Mon Jul 15 22:42:03 CDT 2013


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

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

Michael,
1. There was a typo in the nat=no line of sip.conf for the release 11.5.0-rc2, so please invalidate my yesterday's report for 11.5.0-rc2. My original report for 11.2.1 working and 11.4.0 not working is valid, both had nat=no in the general context.
2. I'm submitting a stripped version of sip.conf and "sip show settings" for 11.5.0-rc2. There were no difference in "sip show settings" output right after asterisk restart (i.e. before making a call) and after the call.
3. 11.5.0-rc2 has the same issue as 11.4 (putting nat=no into peer context didn't make any difference).
I'm submitting today's full logs for 11.5.0-rc2 and for 11.2.1. The only difference in BYE processing I noticed is extra check_for_nat line in 11.5.0-rc2 log:

[Jul 15 22:19:01] DEBUG[17930][C-00000000]: netsock2.c:138 ast_sockaddr_split_hostport: Splitting '1.2.3.4:5062' into...
[Jul 15 22:19:01] DEBUG[17930][C-00000000]: netsock2.c:192 ast_sockaddr_split_hostport: ...host '1.2.3.4' and port '5062'.
[Jul 15 22:19:01] DEBUG[17930][C-00000000]: chan_sip.c:17941 check_for_nat: NAT detected for 1.2.3.4:5062 / 5.6.7.8:5060
Sending to 1.2.3.4:5062 (no NAT)

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, issue_22071_gen, issue_22071_sipsettings
>
>
> 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