[asterisk-bugs] [JIRA] (ASTERISK-25990) PJSIP TLS registration should respect client_uri scheme when generating Contact URI

Sebastian Damm (JIRA) noreply at issues.asterisk.org
Wed May 4 04:11:56 CDT 2016


Sebastian Damm created ASTERISK-25990:
-----------------------------------------

             Summary: PJSIP TLS registration should respect client_uri scheme when generating Contact URI
                 Key: ASTERISK-25990
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25990
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_pjsip, Resources/res_pjsip_outbound_registration
    Affects Versions: 13.8.2
            Reporter: Sebastian Damm
            Severity: Minor


As already written on the Asterisk-User list, Asterisk always sends a sips Contact URI when registering via TLS. This can be bad when interoperating with a server which uses sip:a at b.de;transport=tls Contact URIs. Then inbound calls don't work, because Asterisk expects a sips URI in the incoming INVITE as well.

The discussion can be found here:
http://lists.digium.com/pipermail/asterisk-users/2016-May/289096.html

Asterisk should respect the client_uri scheme and send an appropriate Contact URI.

This is how it should be:

client_uri=sips:1234567 at example.org
--> Contact: sips:1234567 at 1.2.3.4

client_uri=sip:1234567 at example.org\;transport=tls
--> Contact: sip:1234567 at 1.2.3.4;transport=tls



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



More information about the asterisk-bugs mailing list