[asterisk-bugs] [JIRA] (ASTERISK-29235) res_pjsip_nat: Contact is rewritten on REGISTER responses with external_signaling_address

Brian Paboojian (JIRA) noreply at issues.asterisk.org
Wed Jan 6 18:00:16 CST 2021


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

Brian Paboojian commented on ASTERISK-29235:
--------------------------------------------

>From the eSBC;
<--- Transmitting SIP response (501 bytes) to UDP:192.168.60.228:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.60.228:5060;rport=5060;received=192.168.60.228;branch=z9hG4bKaaee5f51365725e40
Record-Route: <sip:1000 at 192.168.60.228;transport=udp;lr>
Call-ID: 61d0382ae00b720d
From: <sip:1000 at 192.168.60.239>;tag=77de8a3de3
To: <sip:1000 at 192.168.60.239>;tag=z9hG4bKaaee5f51365725e40
CSeq: 103061152 REGISTER
Date: Wed, 06 Jan 2021 23:57:47 GMT
Contact: <sip:1000 at 192.168.60.239:5060;transport=udp>;expires=3599
Server: FPBX-15.0.17.12(16.15.1)
Content-Length:  0

> res_pjsip_nat: Contact is rewritten on REGISTER responses with external_signaling_address
> -----------------------------------------------------------------------------------------
>
>                 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: Unassigned
>            Severity: Minor
>              Labels: fax, webrtc
>         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