[asterisk-bugs] [JIRA] (ASTERISK-29235) Contact Header Rewrite is set to NO, not taking effect

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Wed Jan 6 17:41:16 CST 2021


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

Joshua C. Colp edited comment on ASTERISK-29235 at 1/6/21 5:40 PM:
-------------------------------------------------------------------

I should also add that the "rewrite_contact" option rewrites it to the source IP address and port, which is not happening here. It is being changed to the IP address and port of Asterisk which is different, and not something I've ever seen chan_pjsip do within a REGISTER like this.


was (Author: jcolp):
I should also add that the "rewrite_contact" option rewrites it to the source IP address and port, which is not happening here. It is being changed to the IP address and port of Asterisk which is different, and not something I've ever seen chan_pjsip do.

> Contact Header Rewrite is set to NO, not taking effect
> ------------------------------------------------------
>
>                 Key: ASTERISK-29235
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29235
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip_nat, Resources/res_pjsip_registrar
>    Affects Versions: 13.36.0, 16.13.0
>         Environment: Freepbx 15 distro
>            Reporter: Brian Paboojian
>            Assignee: Brian Paboojian
>            Severity: Minor
>         Attachments: eth1-EM.pcap, eth1-NAT.pcap
>
>
> I am testing SD-Wan with my Ribbon Edgemarc. The phone is sending the registration to the eSBC and then the SBC forwards the registration onto the Freepbx 15 system. Asterisk is rewriting the contact header when it sends the registration back to the phone and the Edgemarc is blocking it because this rewrite is a violation of RFC 3261. I have turned off contact rewrite in extension advanced settings. In reviewing the pcap reveal the contact header is still being rewritten.
> I have confirmed this setting in the config file Pjsip.endpoint.conf;
> rewrite_contact=no
> I worked with a Freepbx Engineer and he agrees this is an Asterisk bug.



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



More information about the asterisk-bugs mailing list