[Home]

Summary:ASTERISK-28144: [patch] New function PJSIP_PARSE_URI to parse an URI and return a specified part of the URI
Reporter:Alexei Gradinari (alexei gradinari)Labels:pjsip
Date Opened:2018-10-31 12:15:23Date Closed:2018-11-18 16:12:24.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:Channels/chan_pjsip
Versions:13.23.1 16.0.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:New dialplan function PJSIP_PARSE_URI added to parse an URI and return a specified part of the URI.

This is useful when need to get part of the URI instead of cutting it using a CUT function.

For example to get 'user' part of Remote URI
{noformat}
${PJSIP_PARSE_URI(${CHANNEL(pjsip,remote_uri)},user)}
{noformat}
Comments:By: Asterisk Team (asteriskteam) 2018-10-31 12:15:24.647-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Friendly Automation (friendly-automation) 2018-11-18 16:12:28.313-0600

Change 10633 merged by George Joseph:
pjsip: New function PJSIP_PARSE_URI to parse URI and return part of URI

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

By: Friendly Automation (friendly-automation) 2018-11-18 16:13:13.522-0600

Change 10577 merged by George Joseph:
pjsip: New function PJSIP_PARSE_URI to parse URI and return part of URI

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

By: Friendly Automation (friendly-automation) 2018-11-18 16:13:27.695-0600

Change 10634 merged by George Joseph:
pjsip: New function PJSIP_PARSE_URI to parse URI and return part of URI

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