<div>I am getting the following error from Opensips-mi-proxy when it receives an XMLRPC request from OpenXCAP</div>
<div> </div>
<div><br>Dec 23 17:17:59 Proxy01 opensips-mi-proxy[1095]: Got XMLRPC request from 173.XXX.XXX.111: pua_publish (sip:9XX221XXX2@i<br><a href="http://rock.com">rock.com</a> <<a href="http://rock.com/">http://rock.com</a>> 3600 xcap-diff application/xcap-diff+xml . . <?xml version="1.0" encoding="UTF-8"?><br>
Dec 23 17:17:59 Proxy01 opensips-mi-proxy[1095]: <xcap-diff xmlns="urn:ietf:params:xml:ns:xcap-diff" xcap-root="http:/<br>/<a href="http://xcap.ae.com/xcap-root">xcap.ae.com/xcap-root</a> <<a href="http://xcap.ae.com/xcap-root">http://xcap.ae.com/xcap-root</a>>"><br>
Dec 23 17:17:59 Proxy01 opensips-mi-proxy[1095]: <document new-etag="7a982bc95326868b3616893790f834ea" sel="<a href="http://xca/">http://xca</a> <<a href="http://xca/">http://xca/</a>><br><a href="http://p.ae.com/xcap-root/resource-lists/users/9XX221XXX2/contacts-resource-list.xml">p.ae.com/xcap-root/resource-lists/users/9XX221XXX2/contacts-resource-list.xml</a> <<a href="http://p.ae.com/xcap-root/resource-lists/users/9XX221XXX2/contacts-resource-list.xml%3E%22/">http://p.ae.com/xcap-root/resource-lists/users/9XX221XXX2/contacts-resource-list.xml>"/</a>><br>
Dec 23 17:17:59 Proxy01 opensips-mi-proxy[1095]: </xcap-diff><br>Dec 23 17:17:59 Proxy01 opensips-mi-proxy[1095]: )<br>Dec 23 17:18:00 Proxy01 opensips-mi-proxy[1095]: Got XMLRPC request from 173.XXX.XXX.111: pua_publish (sip:9XX221XXX2@i<br>
<a href="http://rock.com">rock.com</a> <<a href="http://rock.com/">http://rock.com</a>> 3600 xcap-diff application/xcap-diff+xml . . <?xml version="1.0" encoding="UTF-8"?><br>Dec 23 17:18:00 Proxy01 opensips-mi-proxy[1095]: <xcap-diff xmlns="urn:ietf:params:xml:ns:xcap-diff" xcap-root="http:/<br>
/<a href="http://xcap.ae.com/xcap-root">xcap.ae.com/xcap-root</a> <<a href="http://xcap.ae.com/xcap-root">http://xcap.ae.com/xcap-root</a>>"><br>Dec 23 17:18:00 Proxy01 opensips-mi-proxy[1095]: <document new-etag="51a606b1b08d72c9314039dcf092eeff" sel="<a href="http://xca/">http://xca</a> <<a href="http://xca/">http://xca/</a>><br>
<a href="http://p.ae.com/xcap-root/resource-lists/users/9XX221XXX2/contacts-resource-list.xml">p.ae.com/xcap-root/resource-lists/users/9XX221XXX2/contacts-resource-list.xml</a> <<a href="http://p.ae.com/xcap-root/resource-lists/users/9XX221XXX2/contacts-resource-list.xml">http://p.ae.com/xcap-root/resource-lists/users/9XX221XXX2/contacts-resource-list.xml</a>>" previous-etag="7a982b<br>
c95326868b3616893790f834ea"/><br>Dec 23 17:18:00 Proxy01 opensips-mi-proxy[1095]: </xcap-diff><br>Dec 23 17:18:00 Proxy01 opensips-mi-proxy[1095]: )<br>Dec 23 17:18:02 Proxy01 opensips-mi-proxy[1095]: error: Error while processing command pua_publish (sip:9XX221XXX2@iro<br>
<a href="http://ck.com">ck.com</a> <<a href="http://ck.com/">http://ck.com</a>> 3600 xcap-diff application/xcap-diff+xml . . <?xml version="1.0" encoding="UTF-8"?><br>Dec 23 17:18:02 Proxy01 opensips-mi-proxy[1095]: error: <xcap-diff xmlns="urn:ietf:params:xml:ns:xcap-diff" xcap-root=<br>
"<a href="http://xcap.ae.com/xcap-root">http://xcap.ae.com/xcap-root</a>"><br>Dec 23 17:18:02 Proxy01 opensips-mi-proxy[1095]: error: <document new-etag="7a982bc95326868b3616893790f834ea" sel="htt<br>
p://<a href="http://xcap.ae.com/xcap-root/resource-lists/users/9XX221XXX2/contacts-resource-list.xml">xcap.ae.com/xcap-root/resource-lists/users/9XX221XXX2/contacts-resource-list.xml</a> <<a href="http://xcap.ae.com/xcap-root/resource-lists/users/9XX221XXX2/contacts-resource-list.xml%3E%22/">http://xcap.ae.com/xcap-root/resource-lists/users/9XX221XXX2/contacts-resource-list.xml>"/</a>><br>
Dec 23 17:18:02 Proxy01 opensips-mi-proxy[1095]: error: </xcap-diff><br>Dec 23 17:18:02 Proxy01 opensips-mi-proxy[1095]: error: ): OpenSIPS command did timeout<br>Dec 23 17:18:02 Proxy01 opensips-mi-proxy[1095]: Exception rendering:<br>
Dec 23 17:18:02 Proxy01 opensips-mi-proxy[1095]: Traceback (most recent call last):<br>Dec 23 17:18:02 Proxy01 opensips-mi-proxy[1095]: File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py",<br>line 441, in _runCallbacks<br>
Dec 23 17:18:02 Proxy01 opensips-mi-proxy[1095]: self.result = callback(self.result, *args, **kw)<br>Dec 23 17:18:02 Proxy01 opensips-mi-proxy[1095]: File "/usr/lib/pymodules/python2.6/miproxy/proxy.py", line 88, in _<br>
cbRender<br>Dec 23 17:18:02 Proxy01 opensips-mi-proxy[1095]: code = int(code)<br>Dec 23 17:18:02 Proxy01 opensips-mi-proxy[1095]: ValueError: invalid literal for int() with base 10: 'OpenSIPS'<br>Dec 23 17:18:03 Proxy01 opensips-mi-proxy[1095]: error: Error while processing command pua_publish (sip:9XX221XXX2@iro<br>
<a href="http://ck.com">ck.com</a> <<a href="http://ck.com/">http://ck.com</a>> 3600 xcap-diff application/xcap-diff+xml . . <?xml version="1.0" encoding="UTF-8"?><br>Dec 23 17:18:03 Proxy01 opensips-mi-proxy[1095]: error: <xcap-diff xmlns="urn:ietf:params:xml:ns:xcap-diff" xcap-root=<br>
"<a href="http://xcap.ae.com/xcap-root">http://xcap.ae.com/xcap-root</a>"><br>Dec 23 17:18:03 Proxy01 opensips-mi-proxy[1095]: error: <document new-etag="51a606b1b08d72c9314039dcf092eeff" sel="htt<br>
p://<a href="http://xcap.ae.com/xcap-root/resource-lists/users/9XX221XXX2/contacts-resource-list.xml">xcap.ae.com/xcap-root/resource-lists/users/9XX221XXX2/contacts-resource-list.xml</a> <<a href="http://xcap.ae.com/xcap-root/resource-lists/users/9XX221XXX2/contacts-resource-list.xml">http://xcap.ae.com/xcap-root/resource-lists/users/9XX221XXX2/contacts-resource-list.xml</a>>" previous-etag=<br>
"7a982bc95326868b3616893790f834ea"/><br>Dec 23 17:18:03 Proxy01 opensips-mi-proxy[1095]: error: </xcap-diff><br>Dec 23 17:18:03 Proxy01 opensips-mi-proxy[1095]: error: ): OpenSIPS command did timeout<br>
Dec 23 17:18:03 Proxy01 opensips-mi-proxy[1095]: Exception rendering:<br>Dec 23 17:18:03 Proxy01 opensips-mi-proxy[1095]: Traceback (most recent call last):<br>Dec 23 17:18:03 Proxy01 opensips-mi-proxy[1095]: File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py",<br>
line 441, in _runCallbacks<br>Dec 23 17:18:03 Proxy01 opensips-mi-proxy[1095]: self.result = callback(self.result, *args, **kw)<br>Dec 23 17:18:03 Proxy01 opensips-mi-proxy[1095]: File "/usr/lib/pymodules/python2.6/miproxy/proxy.py", line 88, in _<br>
cbRender<br>Dec 23 17:18:03 Proxy01 opensips-mi-proxy[1095]: code = int(code)<br>Dec 23 17:18:03 Proxy01 opensips-mi-proxy[1095]: ValueError: invalid literal for int() with base 10: 'OpenSIPS'</div>
<div> </div>
<div> </div>
<div> </div>
<div>I have posted a copy of the syslog with OpenSIPS set to debug=6 to this link</div>
<div><a href="http://pastebin.com/mCLT3379">http://pastebin.com/mCLT3379</a></div>
<div> </div>
<div>Here is what modules I have set for xcap-diff</div>
<div> </div>
<div>loadmodule "presence.so"<br>loadmodule "presence_mwi.so"<br>loadmodule "presence_xml.so"<br>loadmodule "presence_dialoginfo.so"<br>loadmodule "pua.so" loadmodule "pua_dialoginfo.so"<br>
loadmodule "pua_usrloc.so"<br>loadmodule "pua_mi.so" loadmodule "pua_bla.so"<br>loadmodule "presence_xcapdiff.so"<br>loadmodule "dialog.so" # ----- pua params -----<br>
modparam("pua", "db_url", "mysql://<a href="http://x:x@127.0.0.1/x">x:x@127.0.0.1/x</a> <<a href="http://x:x@127.0.0.1/x">http://x:x@127.0.0.1/x</a>>")<br># ----- pua-mi params -----<br>
modparam("pua_mi", "presence_server", "sip:pa@173.XXX.XXX.88:5060")<br># ----- pua_usrloc params -----<br>modparam("pua_usrloc", "default_domain", "<a href="http://ae.com">ae.com</a> <<a href="http://ae.com/">http://ae.com</a>>") modparam("pua_usrloc", "presence_server", "sip:173.XXX.XXX.88:5060")</div>
<div># ----- pua_bla params -----<br>modparam("pua_bla", "server_address", "sip:173.XXX.XXX.88:5060") modparam("pua_bla", "default_domain", "<a href="http://ae.com">ae.com</a> <<a href="http://ae.com/">http://ae.com</a>>")<br>
modparam("pua_bla", "header_name", "Sender")<br>modparam("pua_bla", "presence_server", "<a href="mailto:sip%3Apa@ae.com">sip:pa@ae.com</a> <<a href="mailto:sip%3Apa@ae.com">mailto:sip%3Apa@ae.com</a>>")</div>
<div># ----- presence params -----<br>/* uncomment the following lines if you want to enable presence */<br>modparam("presence", "db_url", "mysql://<a href="http://x:x@127.0.0.1/x">x:x@127.0.0.1/x</a> <<a href="http://x:x@127.0.0.1/x">http://x:x@127.0.0.1/x</a>>")<br>
modparam("presence", "server_address", "sip:sa@173.XXX.XXX.88:5060")<br>modparam("presence", "mix_dialog_presence", 1)<br>modparam("presence", "clean_period", 30)<br>
modparam("presence", "fallback2db", 1)<br> # ----- presence_xml params -----<br>modparam("presence_xml", "db_url", "mysql://<a href="http://x:x@127.0.0.1/x">x:x@127.0.0.1/x</a> <<a href="http://x:x@127.0.0.1/x">http://x:x@127.0.0.1/x</a>>")<br>
modparam("presence_xml", "force_active", 0) #If set to 1 then permissions are ignored<br>modparam("presence_xml", "pidf_manipulation", 1)<br>modparam("presence_xml", "integrated_xcap_server", 1)<br>
# -- pua_dialoginfo params --<br>modparam("pua_dialoginfo", "presence_server", "sip:sa@173.XXX.XXX.88:5060")<br>modparam("pua_dialoginfo", "callee_spec_param", "$avp(i:20)") # This is needed for Call Pickup<br>
modparam("pua_dialoginfo", "caller_spec_param", "$avp(i:21)") # This is needed for Call Pickup</div>