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