[asterisk-bugs] [JIRA] (ASTERISK-28144) [patch] New function PJSIP_PARSE_URI to parse and URI and return a specified part of the URI

Alexei Gradinari (JIRA) noreply at issues.asterisk.org
Wed Oct 31 12:16:47 CDT 2018


     [ https://issues.asterisk.org/jira/browse/ASTERISK-28144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexei Gradinari updated ASTERISK-28144:
----------------------------------------

    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}

  was:
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
${PJSIP_PARSE_URI(${CHANNEL(pjsip,remote_uri)},user)}



> [patch] New function PJSIP_PARSE_URI to parse and URI and return a specified part of the URI
> --------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-28144
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28144
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 13.23.1, 16.0.0
>            Reporter: Alexei Gradinari
>            Severity: Minor
>              Labels: pjsip
>
> 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}



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



More information about the asterisk-bugs mailing list