[Home]

Summary:ASTERISK-27478: PJSIP: Add CHANNEL(pjsip,request_uri) to get incoming INVITE Request-URI.
Reporter:Richard Mudgett (rmudgett)Labels:pjsip
Date Opened:2017-12-11 14:42:02.000-0600Date Closed:2017-12-13 10:19:39.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:Channels/chan_pjsip Resources/res_pjsip Resources/res_pjsip_session
Versions:13.18.3 15.1.3 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description: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.
Comments:By: Friendly Automation (friendly-automation) 2017-12-13 10:19:39.921-0600

Change 7510 merged by Jenkins2:
chan_pjsip/res_pjsip: Add CHANNEL(pjsip,request_uri)

[https://gerrit.asterisk.org/7510|https://gerrit.asterisk.org/7510]

By: Friendly Automation (friendly-automation) 2017-12-13 10:26:25.073-0600

Change 7511 merged by Jenkins2:
chan_pjsip/res_pjsip: Add CHANNEL(pjsip,request_uri)

[https://gerrit.asterisk.org/7511|https://gerrit.asterisk.org/7511]

By: Friendly Automation (friendly-automation) 2017-12-13 10:41:21.682-0600

Change 7513 merged by Jenkins2:
chan_pjsip/res_pjsip: Add CHANNEL(pjsip,request_uri)

[https://gerrit.asterisk.org/7513|https://gerrit.asterisk.org/7513]

By: Friendly Automation (friendly-automation) 2017-12-13 11:22:17.643-0600

Change 7512 merged by Joshua Colp:
chan_pjsip/res_pjsip: Add CHANNEL(pjsip,request_uri)

[https://gerrit.asterisk.org/7512|https://gerrit.asterisk.org/7512]