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