[asterisk-bugs] [JIRA] (ASTERISK-27478) PJSIP: Add CHANNEL(pjsip, request_uri) to get incoming INVITE Request-URI.

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Mon Dec 11 14:42:07 CST 2017


Richard Mudgett created ASTERISK-27478:
------------------------------------------

             Summary: PJSIP: Add CHANNEL(pjsip,request_uri) to get incoming INVITE Request-URI.
                 Key: ASTERISK-27478
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27478
             Project: Asterisk
          Issue Type: New Feature
      Security Level: None
          Components: Channels/chan_pjsip, Resources/res_pjsip, Resources/res_pjsip_session
    Affects Versions: 15.1.3, 13.18.3
            Reporter: Richard Mudgett


This issue addresses the following items associated with the initial incoming INVITE request URI.

# For chan_pjsip, there is no way to retrieve the actual request URI using the CHANNEL dialplan function.  The CHANNEL function is extended to return the request URI with CHANNEL(pjsip,request_uri).
# For chan_pjsip, the CALLERID(dnid) is not set at all.  It should be set to the user portion of the incoming INVITE Request-URI.
# For chan_pjsip, currently the [documentation|https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Function_CHANNEL] states the following with regards to the pjsip target_uri:
{quote}
target_uri - The request URI of the INVITE request associated with the creation of this channel.
{quote}
This is wrong. It actually returns the contact URI.




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



More information about the asterisk-bugs mailing list