Hi Markun, Gonzo, OpenSIPS is able to speak with OpenXCAP through xcap_client protocol with xcap_client module that I see you have used. It is not really used indeed as OpenXcap can communicate with OpenSIPS through database(if you set module parameter integrated_xcap_server in presence_xml module and this works even with the servers on different machines) and this mode is faster. I would advise you to update to OpenSIPS as some issues were fixed in this part. And I will also check this scenario with non integrated xcap mode with OpenXCAP.
regards, Anca gonzo wrote: > Hi all, > Probably is OpenSIPS unable to connect to the OpenXCAP by XCAP? > Regards, > gonzo > > 2008/12/03 9:39 gonzo <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>>: > > Hi all, > Pls let me know about setting for OpenXCAP connection. > When OpenXCAP(ver 1.06) and OpenSER(ver 1.3) exist in another > server, is opensips.cfg and config.ini of OpenSER following > settings right? > openser.cfg(10.10.10.10 <http://10.10.10.10/>) > ----------------------------------------------------------------------- > ・・・・・・・・ > loadmodule "presence.so" > loadmodule "presence_xml.so" > loadmodule "xcap_client.so" > ・・・・・・・・ > modparam("mi_xmlrpc", "log_file", "/var/log/openser-xmlrpc.log") > modparam("mi_xmlrpc", "port", 8080) > ・・・・・・・・ > modparam("presence|pua", "db_url", > "mysql://openser:[EMAIL PROTECTED]/openser") > modparam("presence", "presentity_table", "presentity") > modparam("presence", "active_watchers_table", "active_watchers") > modparam("presence", "watchers_table", "watchers") > modparam("presence", "clean_period", 100) > modparam("presence", "max_expires", 3600) > modparam("presence", "server_address", "sip:10.10.10.10:5060 > <http://10.10.10.10:5060/>") > modparam("presence", "fallback2db", 1) > ・・・・・・・・ > modparam("presence_xml", "db_url", > "mysql://openser:[EMAIL PROTECTED]/openser") > modparam("presence_xml", "force_active", 0) > modparam("presence_xml", "xcap_table", "xcap") > modparam("presence_xml", "pidf_manipulation", 1) > modparam("presence_xml", "integrated_xcap_server", 0) > modparam("presence_xml", "xcap_server", "10.10.10.11 > <http://10.10.10.11/>") > ・・・・・・・・ > modparam("xcap_client", "db_url", > "mysql://openser:[EMAIL PROTECTED]/openser") > modparam("xcap_client", "xcap_table", "xcap") > modparam("xcap_client", "periodical_query", 0) > ----------------------------------------------------------------------- > config.ini(10.10.10.11 <http://10.10.10.11/> : xcap.com > <http://xcap.com/>) > ----------------------------------------------------------------------- > [Server] > address = 10.10.10.11 <http://10.10.10.11/> > port = 80 > root = http://xcap.com/ > backend = OpenSER > document_validation = Yes > ・・・・・・・・ > [OpenSER] > xmlrpc_url = http://10.10.10.10:8080 <http://10.10.10.10:8080/> > enable_publish_xcapdiff = yes > ----------------------------------------------------------------------- > ERROR log > > -------------------------------------------------------------------------------------------------------------------------------------------------------------- > Dec 2 18:44:38 [10365] ERROR:presence_xml:http_get_rules_doc: > while fetching data from xcap server > Dec 2 18:44:38 [10365] ERROR:presence_xml:get_rules_doc: sending > http GET request to xcap server > Dec 2 18:44:38 [10365] DBG:core:db_free_rows: freeing 0 rows > Dec 2 18:44:38 [10365] ERROR:presence:update_presentity: getting > rules doc > Dec 2 18:44:38 [10365] ERROR:presence:handle_publish: when > updating presentity > > -------------------------------------------------------------------------------------------------------------------------------------------------------------- > What is the error cause? > Should I upgrade OpenSER to OpenSIPS? > ------ > Regards, > gonzo > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
