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

Friendly Automation (JIRA) noreply at issues.asterisk.org
Sun Nov 18 16:13:47 CST 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=245477#comment-245477 ] 

Friendly Automation commented on ASTERISK-28144:
------------------------------------------------

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]

> [patch] New function PJSIP_PARSE_URI to parse an 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
>            Assignee: 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