[asterisk-bugs] [JIRA] (ASTERISK-26750) new app: XML

Rusty Newton (JIRA) noreply at issues.asterisk.org
Wed Jan 25 15:00:11 CST 2017


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

Rusty Newton updated ASTERISK-26750:
------------------------------------

    Status: Open  (was: Triage)

> new app:  XML
> -------------
>
>                 Key: ASTERISK-26750
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26750
>             Project: Asterisk
>          Issue Type: New Feature
>      Security Level: None
>          Components: Applications/General
>    Affects Versions: GIT
>            Reporter: scgm11
>            Severity: Minor
>
> New application to parse XML Strings. passing XML String will do for the nodes variables and values that can be used directly in dialplan. Useful when using CURL with WebServices responses.
> Example:
> {noformat}
> exten=> _XXXX,1,Set(xml=<res>body>msgtype>12</msgtype>langflag>zh_CN</langflag><engineid>1</engineid><tokensn>1000000001</tokensn><dynamicpass>111111</dynamicpass><emptyfield></emptyfield></body></res>)
> 	exten=> _XXXX,2,XML(${xml})
> 	exten=> _XXXX,3,NoOp(${msgtype})
> 	exten=> _XXXX,4,NoOp(${tokensn})
> 	exten=> _XXXX,5,NoOp(${langflag})
> {noformat}



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



More information about the asterisk-bugs mailing list