Hi,
I am facing issue with modifying the xdm document in
kamailio 4.0,2 by using xpath(Getting 500 from server). can
anyboady suggest me, what is the wrong I am doing based on
following example.
Here is the example for the same.
And following is the original document which exists in
server.
Keep-Alive: 115
Connection: keep-alive
TE: trailers
HTTP/1.1 200 OK
ETag: "sr-1377875323-9520-1"
Content-Type: application/pidf+xml
Server: kamailio (4.0.2 (i386/linux))
Content-Length: 683
<?xml version = "1.0" encoding =
"UTF-8"?><presence xmlns="urn:ietf:params:xml:ns:pidf"
xmlns:pdm="urn:ietf:params:xml:ns:pidf:data-model"
xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid"
xmlns:op="urn:oma:xml:prs:pidf:oma-pres"
xmlns:opd="urn:oma:xml:pde:pidf:ext"
xmlns:opd11="urn:oma:xml:pde:pidf:ext:1.1"
xmlns:gp="urn:ietf:params:xml:ns:pidf:geopriv10"
xmlns:cl="urn:ietf:params:xml:ns:pidf:geopriv10:civicAddr"
xmlns:caps="urn:ietf:params:xml:ns:pidf:caps" xmlns:gml="
http://www.opengis.net/gml"
xmlns:gs="
http://www.opengis.net/pidflo/1.0"
xmlns:lt="urn:ietf:params:xml:ns:location-type" entity = "
sip:test@kamailio.com"><pdm:person
id = "aa"></pdm:person></presence>
I also tried by adding the
pdm="urn:ietf:params:xml:ns:pidf:data-model" to xcap server
known namspaces, by using modparam. but still I am getting the
same error.
Thanks for the help.
Regards,
Anzi