Hi Daniel,
Changed the configuration as per your suggestion, but still i am getting
same 500 server error.
Sep 11 20:37:09 testpc kamailio[24158]: ERROR: xcap_server
[xcap_misc.c:475]: xcaps_xpath_set(): unable to evaluate xpath expression
[/presence/pdm:person]
here are logs
Sep 11 20:37:09 tes
OK, I didn't spot that. The xcap_server has to take the xpath up to '?',
but now it takes is as being the whole http uri. What is after '?' is
referenced in the document as xpointer.
For now you can try to get the value with config operations:
$var(xuri) = $(hu{s.select,0,?});
And then use $var(
Hi Daniel,
Thanks for the response.
I am following the xcap syntax from the RFC 4825 section 6.4.
Refer http://tools.ietf.org/html/rfc4825#section-6.4
Also suggest me the way i can change the node, if i am wrong.
Regards,
Anzi.
___
SIP Express Router
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 th
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:t...@kamailio.com/perm-presenceHTTP/1.1^@
Host: kamailio.com^@
Keep-Alive: 115^@
Connection: keep-alive^@
TE: trailers^@
^@
#
T 2013/09/05 12:
Hello,
the error is thrown by xmlXPathEvalExpression() from libxml2, meaning
that it considers the xpath expression to be invalid.
I am not that familiar with the grammar for xpath, but probably libxml2
has a good implementation and
'presence/pdm:person?xmlns(pdm=urn:ietf:params:xml:ns:pidf:
I found the following statement in log which causes to fail.
xcap_server [xcap_misc.c:475]: xcaps_xpath_set(): unable to evaluate xpath
expression
[/presence/pdm:person?xmlns(pdm=urn:ietf:params:xml:ns:pidf:data-model)]
Here are the logs which are requested.
Aug 30 21:31:11 kamailio kamailio[94
Hello,
can you run with debug=3 in kamailio config and send over the log
messages (they are written typically in /var/log/syslog or
/var/log/messages)? That will help to see what is going wrong.
Cheers,
Daniel
On 9/1/13 6:46 PM, Ram Anji wrote:
Hi,
I am facing issue with modifying the xdm d
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.
*PUT /xcap-root/pidf-manipulation/users/
sip:t...@kamailio.com/per