[OpenSIPS-Users] How to parse XML Body?

xaled xaled at web.de
Wed Jan 4 14:19:47 EST 2017


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>

.

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


More information about the Users mailing list