[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


Alexei Gradinari created ASTERISK-28144:
-------------------------------------------

             Summary: [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: 16.0.0, 13.23.1
            Reporter: Alexei Gradinari
            Severity: Minor


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)}




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



More information about the asterisk-bugs mailing list