[SR-Users] Kamailio accepts and stores XCAP XML document from jitsi but rejects it on retrieval

2014-05-28 Thread Alex Villací­s Lasso
I am trying to set up XCAP support for SIP SIMPLE, and using jitsi as the sample client. The kamailio database was previously configured using ODBC and kamailio-4.1.3 and was apparently working correctly. I was following the guide at http://nil.uniza.sk/instant-messaging/simple/configuring-xcap-su

Re: [SR-Users] Kamailio accepts and stores XCAP XML document from jitsi but rejects it on retrieval

2014-05-29 Thread Daniel-Constantin Mierla
Hello, the error message is printed in case of an invalid xml document. Can you edit modules/xcap_server/xcap_misc.c and add inside function: int xcaps_check_doc_validity(str *doc) the log: LM_ERR("xmld document is: [[%.*s]]\n", doc->len, doc->s); before the line with: docxml = xmlParseMem

Re: [SR-Users] Kamailio accepts and stores XCAP XML document from jitsi but rejects it on retrieval

2014-05-29 Thread Alex Villací­s Lasso
El 29/05/14 07:51, Daniel-Constantin Mierla escribió: Hello, the error message is printed in case of an invalid xml document. Can you edit modules/xcap_server/xcap_misc.c and add inside function: int xcaps_check_doc_validity(str *doc) the log: LM_ERR("xmld document is: [[%.*s]]\n", doc->len

Re: [SR-Users] Kamailio accepts and stores XCAP XML document from jitsi but rejects it on retrieval

2014-05-30 Thread Alex Villací­s Lasso
El 29/05/14 12:15, Alex Villací­s Lasso escribió: El 29/05/14 07:51, Daniel-Constantin Mierla escribió: Hello, the error message is printed in case of an invalid xml document. Can you edit modules/xcap_server/xcap_misc.c and add inside function: int xcaps_check_doc_validity(str *doc) the lo

Re: [SR-Users] Kamailio accepts and stores XCAP XML document from jitsi but rejects it on retrieval

2014-05-30 Thread Alex Villací­s Lasso
El 30/05/14 11:02, Alex Villací­s Lasso escribió: El 29/05/14 12:15, Alex Villací­s Lasso escribió: El 29/05/14 07:51, Daniel-Constantin Mierla escribió: Hello, the error message is printed in case of an invalid xml document. Can you edit modules/xcap_server/xcap_misc.c and add inside functi

Re: [SR-Users] Kamailio accepts and stores XCAP XML document from jitsi but rejects it on retrieval

2014-05-30 Thread Alex Villací­s Lasso
El 30/05/14 12:42, Alex Villací­s Lasso escribió: El 30/05/14 11:02, Alex Villací­s Lasso escribió: El 29/05/14 12:15, Alex Villací­s Lasso escribió: El 29/05/14 07:51, Daniel-Constantin Mierla escribió: Hello, the error message is printed in case of an invalid xml document. Can you edit mod

Re: [SR-Users] Kamailio accepts and stores XCAP XML document from jitsi but rejects it on retrieval

2014-05-30 Thread Daniel-Constantin Mierla
On 30/05/14 22:02, Alex Villací­s Lasso wrote: [...] The xml document retrieval is failing again. Now it is because retrieval is truncating the MEDIUMTEXT field at 1024 characters: Adjust the value of parameter: http://kamailio.org/docs/modules/stable/modules/xcap_server.html#idm7128 Cheers,

Re: [SR-Users] Kamailio accepts and stores XCAP XML document from jitsi but rejects it on retrieval

2014-06-02 Thread Alex Villací­s Lasso
El 31/05/14 01:30, Daniel-Constantin Mierla escribió: On 30/05/14 22:02, Alex Villací­s Lasso wrote: [...] The xml document retrieval is failing again. Now it is because retrieval is truncating the MEDIUMTEXT field at 1024 characters: Adjust the value of parameter: http://kamailio.org/docs/m