[asterisk-bugs] [JIRA] (ASTERISK-28876) Wrong next hop for INVITEs with PJSIP and PATH

Serge (JIRA) noreply at issues.asterisk.org
Thu May 7 10:39:25 CDT 2020


Serge created ASTERISK-28876:
--------------------------------

             Summary: Wrong next hop for INVITEs with PJSIP and PATH
                 Key: ASTERISK-28876
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28876
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: pjproject/pjsip
    Affects Versions: 13.18.3
         Environment: Linux 2.6.32-39-pve x86_64 x86_64 x86_64 GNU/Linux
            Reporter: Serge
            Severity: Critical


When endpoints register via an edge proxy in front of Asterisk running PJSIP, the edge proxy adds a PATH header (https://www.rfc-editor.org/rfc/rfc3327.txt) so that Asterisk knows how to route out-of-dialog requests back to the proxy.

When calling that endpoint, it appears though that INVITEs are sent to the Contact URI directly instead of being sent to the proxy with a preset Route header. Strangely, this happens only to INVITEs. Other requests such as the OPTIONS qualify initiated by Asterisk are sent correctly to the proxy with the proper Route header.

When using chan_sip this problem does not occur.

Asterisk certified/13.18-cert3
PJ_VERSION : 2.7.2
AOR/support_path : true
Endpoint/rewrite_contact : false
Endpoint/force_rport : false



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



More information about the asterisk-bugs mailing list