[asterisk-bugs] [JIRA] (ASTERISK-24687) Asterisk behind NAT sets wrong Contact Header

Michael L. Young (JIRA) noreply at issues.asterisk.org
Wed Jan 21 10:20:34 CST 2015


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

Michael L. Young commented on ASTERISK-24687:
---------------------------------------------

Lukas,

I am still not seeing the debug messages.  Are you following the documentation for turning those debug messages on?

Also, I need to see the phone register to the server?  Based on {{sip show settings}}, Asterisk thinks that it should be sending to {{Reg. Contact : sip:799 at MY_INTERNAL_IP:2048;line=ekyetc70}}.

Please capture the debug messages that have the phone registering to your Asterisk machine and then making a call.

> Asterisk behind NAT sets wrong Contact Header
> ---------------------------------------------
>
>                 Key: ASTERISK-24687
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24687
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 13.1.0
>         Environment: ubuntu 14.04.1
>            Reporter: Lukas Hauser
>            Assignee: Lukas Hauser
>            Severity: Critical
>         Attachments: sip-settings.log
>
>
> If asterisk is behind a statically configured NAT (e.g. with iptables), the externaddr or localnet option does not work.
> The Contact Header still contains the private IP address.
> The media_address option works.
> It also works as defined with version 11.7.0~dfsg-1ubuntu1.
> The Contact Header does not get updated in version 13.1 and 13.1.0-rc2.
> Therefore, I guess it is a bug in 13?
> Thanks!



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list