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

Lukas Hauser (JIRA) noreply at issues.asterisk.org
Wed Jan 21 06:10:36 CST 2015


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

Lukas Hauser edited comment on ASTERISK-24687 at 1/21/15 6:10 AM:
------------------------------------------------------------------

The output of `sip show settings` is attached above.
The servers internal IP is 192.168.122.120, therefore the localnet should contain this ip.


was (Author: luka5):
This is the output of `sip show settings`.
The servers internal IP is 192.168.122.120, therefore the localnet should contain this ip.

> 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