Skip to Content
0
Former Member
Sep 02, 2014 at 02:04 PM

How to read particular data coming from IVR In CRM

113 Views

Hi Experts ,

My requirement is to read data which is coming in xml format from IVR during CSR is on call , this is non-cad data and it has been told to fetch it in CAD stucture

please let me know is it feasible.

We are already fetching item attched data of this xml via class cl*CAD*DATA*ACCESS . I cannot use this class as this field is not part of CAD structure.

I have to read this lineNumber(+2077) from xml which is not part of CAD(Item attached data).

Please suggest.

<?xml version="1.0" encoding="UTF-8" ?>

- <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">

- <soapenv:Header>

<ns1:user xmlns:ns1="urn:IciEventInterface" soapenv:mustUnderstand="0">GB0100249</ns1:user>

<ns1:language xmlns:ns1="urn:IciEventInterface" soapenv:mustUnderstand="0">EN</ns1:language>

</soapenv:Header>

- <soapenv:Body>

- <ns1:phoneCallChanged xmlns:ns1="urn:IciEventInterface">

- <ns1:appIds>

<ns1:item>5318FCCB44752600E10080000A82A3F4</ns1:item>

</ns1:appIds>

- <ns1:phoneCall>

<ns1:dialedNumber>+07789934902</ns1:dialedNumber>

<ns1:lineNumber>+2077</ns1:lineNumber>

- <ns1:callStatus>

<ns1:description>dialing</ns1:description>

<ns1:id>103</ns1:id>

</ns1:callStatus>

<ns1:internal>false</ns1:internal>

- <ns1:remoteNumbers>

<ns1:item>+07789934902</ns1:item>

</ns1:remoteNumbers>

<ns1:callHandle>5d514dbc-cfc8-468b-a04f-4df54b39abbf</ns1:callHandle>

<ns1:trunkId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="1" />

- <ns1:processingStatus>

<ns1:description>not active</ns1:description>

<ns1:id>1</ns1:id>

</ns1:processingStatus>

<ns1:attachedData><?xml version="1.0" encoding="utf-8"?><ItemAttachedData><Application id="ICIS"><EDU><createtime>2014-03-06 14:00:04</createtime><createtimet>1394114404</createtimet><primary_ani>1077</primary_ani><primary_dnis>07789934902</primary_dnis><vdu_id>53187f64000100000a8291e6232f0002</vdu_id><voice.1.direction>outbound</voice.1.direction><voice_direction>outbound</voice_direction></EDU></Application></ItemAttachedData></ns1:attachedData>

<ns1:inbound>false</ns1:inbound>

</ns1:phoneCall>

</ns1:phoneCallChanged>

</soapenv:Body>

</soapenv:Envelope>

Points will be rewared.