What xcap (or sip) client are you using? I couldn't find on a quick web search details about such xcap URI. The xpath specs don't allow such format, I mean no ? plus other text after it, but could be some extension by xcap ietf/itu/gsma guys.
What I can do is to trim the xpath path at '?', but the rest might have also some meaning and would be good to see what's that. Now it looks like xmlns specification for the body, which is not really important in this context. But there could be something else eventually.
Cheers, Daniel
On Thu, Sep 5, 2013 at 8:45 AM, Ram Anji raman.chv@gmail.com wrote:
Here is the capture from server,
## T 2013/09/05 12:06:22.298929 192.168.41.60:53983 -> 192.168.41.10:5060[AP] GET /xcap-root/pidf-manipulation/users/sip:test@kamailio.com/perm-presenceHTTP/1.1^@ Host: kamailio.com^@ Keep-Alive: 115^@ Connection: keep-alive^@ TE: trailers^@ ^@ # T 2013/09/05 12:06:22.357104 192.168.41.10:5060 -> 192.168.41.60:53983[AP] HTTP/1.1 200 OK^@ Via: SIP/2.0/TCP 192.168.41.60:53983^@ ETag: "sr-1377875323-9520-14"^@ 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> ##
^@^@^@^@^@^@ # T 2013/09/05 12:06:22.389308 192.168.41.60:53985 -> 192.168.41.10:5060[AP] PUT /xcap-root/pidf-manipulation/users/ sip:test@kamailio.com/perm-presence/~~/presence/pdm:person?xmlns(pdm=urn:ietf:params:xml:ns:pidf:data-model)HTTP/1.1^@ Host: kamailio.com^@ Keep-Alive: 115^@ Connection: TE, Keep-Alive^@ TE: trailers^@ Content-Length: 117^@ Content-Type: application/xcap-el+xml^@ ^@
## T 2013/09/05 12:06:22.389576 192.168.41.60:53985 -> 192.168.41.10:5060[AP] <pdm:person id = "aa">op:overriding-willingnessop:basicclosed</op:basic></op:overriding-willingness></pdm:person> ## T 2013/09/05 12:06:22.403805 192.168.41.10:5060 -> 192.168.41.60:53985[AP] HTTP/1.1 500 Server error^@ Via: SIP/2.0/TCP 192.168.41.60:53985^@ Server: kamailio (4.0.2 (i386/linux))^@ Content-Length: 0^@ ^@
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users