Hi,
I have been experimenting with uploading, and modifying existing, XCAP
documents. I have been trying out the example from RFC 4827 and I can't
get it to work with Kamailio.
To upload the document (this works) I use the command: curl --digest -u
111:111 -T pidf.xml -X PUT
http://192.168.0.130:5060/xcap-root/pidf-manipulation/users/sip:111@mydomai…
To modify the document (this doesn't work) I use the command: curl
--digest -u 111:111 -T pidf_modify.xml -H "Content-Type:
application/xcap-…
[View More]el+xml" -X PUT
http://192.168.0.130:5060/xcap-root/pidf-manipulation/users/sip:111@mydomai…'x8eg92n'%5d/note
When I try to modify the document I get the error: "Apr 4 17:12:08
pd-laptop-linux kamailio[16862]: ERROR: xcap_server [xcap_server.c:596]:
no new content"
I went through the XCAP server code and added some debug and found that
the check on xcap_misc.c:491 is succeeding (which means "no selection
for xpath parent expression") and the document is not being changed.
Also, from my limited understanding of XPath and libxml2, I would have
expected the code path which should have been followed to go through the
else clause of the conditional on xcap_misc.c:468 - which means I don't
think that the xcaps_xpath_set() function is doing the right thing at
all.
Is there anyone here that is more familiar with libxml2 that can give me
any pointers here. As far as I can tell the XCAP server code looks OK
to me, and I believe the documents (attached) and my XCAP queries are
correct as well.
Thanks,
Peter
--
Peter Dunkley
Technical Director
Crocodile RCS Ltd
[View Less]
recently there has been commits that cause compiler warnings shown
below.
please fix or revert the commits.
-- juha
action.c: In function ‘run_actions’:
action.c:1583: warning: ‘ms’ may be used uninitialized in this function
CC (cc) [sip-proxy] msg_translator.o
msg_translator.c: In function ‘lumps_len’:
msg_translator.c:582: warning: ‘recv_address_str’ may be used uninitialized in this function
msg_translator.c:583: warning: ‘recv_port_str’ may be used uninitialized in this function
…
[View More]msg_translator.c:584: warning: ‘recv_port_no’ may be used uninitialized in this function
msg_translator.c: In function ‘process_lumps’:
msg_translator.c:921: warning: ‘recv_address_str’ may be used uninitialized in this function
msg_translator.c:922: warning: ‘recv_port_str’ may be used uninitialized in this function
msg_translator.c:923: warning: ‘recv_port_no’ may be used uninitialized in this function
CC (cc) [L libsrdb1.so.1.0] db_query.o
db_query.c: In function ‘db_do_submit_query’:
db_query.c:50: warning: ‘ms’ may be used uninitialized in this function
CC (cc) [M textops.so] textops.o
textops.c: In function ‘subst_hf_f’:
textops.c:2242: warning: ‘hfl’ may be used uninitialized in this function
textops.c: In function ‘search_hf_f’:
textops.c:2161: warning: ‘hfl’ may be used uninitialized in this function
[View Less]
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task is now closed:
FS#76 - Debian build of berkeley module fails on debian etch
User who did this - Daniel-Constantin Mierla (miconda)
Reason for closing: Fixed
Additional comments about closing: The spec files are now specific per debian version.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=76
You are receiving this message because you have requested it from …
[View More]the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
[View Less]
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task is now closed:
FS#25 - Strange symbols in NOTIFY dialog-info+xml body
User who did this - Daniel-Constantin Mierla (miconda)
Reason for closing: Fixed
Additional comments about closing: I added a safety check for placeholder of version attribute -- closing this item because it is aged. Open a new one with debug messages if still an issue.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?…
[View More]do=details&task_id=25
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
[View Less]