[Home]

Summary:ASTERISK-26750: Applications: XML - New application to parse XML Strings.
Reporter:Sebastian Gutierrez (sum)Labels:
Date Opened:2017-01-25 13:46:00.000-0600Date Closed:
Priority:MinorRegression?No
Status:Open/NewComponents:Applications/NewFeature
Versions:GIT Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description: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}
Comments:By: Asterisk Team (asteriskteam) 2017-01-25 13:46:01.654-0600

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].