[OpenSIPS-Users] How to parse XML Body?

xaled xaled at web.de
Thu Jan 5 05:57:20 EST 2017


Hi Bogdan;

 

opensips-2.2.2

 

Thanks.

From: Bogdan-Andrei Iancu [mailto:bogdan at opensips.org] 
Sent: Donnerstag, 5. Januar 2017 11:39
To: OpenSIPS users mailling list <users at lists.opensips.org>; xaled <xaled at web.de>
Subject: Re: [OpenSIPS-Users] How to parse XML Body?

 

Hi,

What version of OpenSIPS are you using ?

Regards,



Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 04.01.2017 21:19, xaled wrote:

Hi,

 

What is the best way to parse xml body in an INVITE request? 

 

I want to access geographic location information gml:Coordinates or gml:pos from xml body and do some routing. I’ve seen the emergency module, but it is too specific to be useful in my basic scenario.

 

Content-Type: multipart/mixed;boundary=ssboundary-1_

 

Content-Type: application/pidf+xml

…

       <gml:Coordinates>XYZ</gml:Coordinates>

       <gml:pos>XYZ</gml:pos>

…






_______________________________________________
Users mailing list
Users at lists.opensips.org <mailto:Users at lists.opensips.org> 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170105/84b45479/attachment.html>


More information about the Users mailing list