[SR-Users] pua_publish MWI message via xmlrpc
Asgaroth
00asgaroth00 at gmail.com
Fri Jul 10 18:42:01 CEST 2015
Hi All,
I am having difficulty getting pua_publish to issue a NOTIFY when I send
an XMLRPC command to generate a PUBLISH into the presence server.
I have been reading the pua_mi module docs, but I cannot see where I am
going wrong with the following xmlrpc command, please would someone
point me in the correct direction.
I have an XML file which is the basis of the XMLRPC request via curl, I
have attached it to this email for you to view, please would you take a
look and let me know where I am going wrong, I suspect it is my message
body as the pua module complains about the message body being NULL:
Jul 10 17:27:40 reg01 /usr/sbin/kamailio[7736]: ERROR: pua
[add_events.c:125]: pres_process_body(): while parsing xml memory
Jul 10 17:27:40 reg01 /usr/sbin/kamailio[7736]: ERROR: pua
[send_publish.c:650]: send_publish(): while processing body
Jul 10 17:27:40 reg01 /usr/sbin/kamailio[7736]: ERROR: pua
[send_publish.c:652]: send_publish(): NULL body
Jul 10 17:27:40 reg01 /usr/sbin/kamailio[7736]: ERROR: pua_mi
[mi_func.c:290]: mi_pua_publish(): sending publish failed
Kamailio verion is "version: kamailio 4.3.0 (x86_64/linux) c6aa95"
I can issue other XMLRPC commands, urloc lookups method lists and those
work, I just cant see where I am going wrong with this one.
Any pointers would be greatly appreciated.
Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xmlrpc_pua_publish_mwi.xml
Type: text/xml
Size: 1123 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150710/09bba9ad/attachment.xml>
More information about the sr-users
mailing list