[asterisk-bugs] [JIRA] (ASTERISK-24687) Asterisk behind NAT sets wrong Contact Header
Lukas Hauser (JIRA)
noreply at issues.asterisk.org
Wed Jan 21 04:34:34 CST 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-24687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=224588#comment-224588 ]
Lukas Hauser commented on ASTERISK-24687:
-----------------------------------------
This is the entire message file.
I started asterisk, logged the phone in with SIP/799 and called 100.
{code}
[Jan 21 11:25:49] Asterisk 13.1.0 built by root @ asterisk on a x86_64 running Linux on 2015-01-09 18:57:29 UTC
[Jan 21 11:25:49] NOTICE[1331] cdr.c: CDR simple logging enabled.
[Jan 21 11:25:49] NOTICE[1331] loader.c: 225 modules will be loaded.
[Jan 21 11:25:49] WARNING[1331] res_phoneprov.c: Unable to find a valid server address or name.
[Jan 21 11:25:50] ERROR[1331] ari/config.c: No configured users for ARI
[Jan 21 11:25:50] WARNING[1331] loader.c: Error loading module 'res_ari_mailboxes.so': /usr/lib/asterisk/modules/res_ari_mailboxes.so: undefined symbol: stasis_app_mailbox_to_json
[Jan 21 11:25:50] WARNING[1331] loader.c: Module 'res_ari_mailboxes.so' could not be loaded.
[Jan 21 11:25:50] NOTICE[1331] chan_skinny.c: Configuring skinny from skinny.conf
[Jan 21 11:25:50] NOTICE[1331] confbridge/conf_config_parser.c: Adding default_menu menu to app_confbridge
[Jan 21 11:25:50] NOTICE[1331] cel_custom.c: No mappings found in cel_custom.conf. Not logging CEL to custom CSVs.
[Jan 21 11:26:34] NOTICE[1374] chan_sip.c: Peer '799' is now Reachable. (53ms / 2000ms)
[Jan 21 11:26:49] WARNING[1374] chan_sip.c: Retransmission timeout reached on transmission 54bf7ee1a135-rwnecbqx2srq for seqno 2 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 6400ms with no response
{code}
This is the simple extension.conf entry
{code}
exten => 100,1,Answer()
same => n,Playback(hello-world)
same => n,Hangup()
{code}
> 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
>
> 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