[asterisk-bugs] [JIRA] (ASTERISK-27295) Contact is improperly translated after d178f497

Friendly Automation (JIRA) noreply at issues.asterisk.org
Thu Sep 28 13:39:08 CDT 2017


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

Friendly Automation commented on ASTERISK-27295:
------------------------------------------------

Change 6610 merged by Jenkins2:
pjsip_message_filter: Fix regression causing bad contact address

[https://gerrit.asterisk.org/6610|https://gerrit.asterisk.org/6610]

> Contact is improperly translated after d178f497
> -----------------------------------------------
>
>                 Key: ASTERISK-27295
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27295
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>            Reporter: Sean Bright
>            Assignee: George Joseph
>
> {noformat}
> 13:05 <@seanbright> what is the magic setting that makes asterisk rewrite it's own Contact?
> 13:05 <@seanbright> not talking about rewrite_contact
> 13:06 <@seanbright> is it 'domain' on transport?
> 13:06 <@file> local_net and external_signaling_address?
> 13:06 <@seanbright> hmm. those are both set.
> 13:09 <@seanbright> file: <url to conf>
> 13:09 <@seanbright> that look right-ish?
> 13:09 <@seanbright> asterisk behind nat, srbtest behind another nat
> 13:09 <@file> yes, seems right-ish
> 13:10 <@seanbright> k
> 13:11 <@gtjoseph> what happens if you bind to a specific address?
> 13:13 <@seanbright> gtjoseph: no change
> 13:14 <@gtjoseph> what are you seeing?  Still local ipv4?
> 13:14 <@seanbright> gtjoseph: <url to debug>
> 13:15 <@seanbright> yes, the Contact header that asterisk sends back to the client has the local UP
> 13:15 <@seanbright> IP*
> 13:15 <@gtjoseph> ew.  the filter is setting it _back_ to a local address?
> 13:15 <@seanbright> allegedly
> 13:15 <@seanbright> this is the master branch
> {noformat}
> {{pjsip.conf}}:
> {noformat}
> [transport-udp]
> type      = transport
> protocol  = udp
> bind      = 0.0.0.0:5060
> local_net = 10.0.0.0/24
> external_media_address     = 1.2.3.4
> external_signaling_address = 1.2.3.4
> [srbtest]
> type            = endpoint
> transport       = transport-udp
> context         = from-internal
> allow           = !all,g722,ulaw
> rtp_symmetric   = yes
> force_rport     = yes
> direct_media    = no
> rewrite_contact = yes
> media_address   = 1.2.3.4
> auth            = srbtest
> aors            = srbtest
> callerid        = SRB Test <1111>
> [srbtest]
> type      = auth
> auth_type = userpass
> username  = srbtest
> password  = mysecret
> [srbtest]
> type              = aor
> max_contacts      = 10
> qualify_frequency = 60
> {noformat}



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



More information about the asterisk-bugs mailing list