[OpenSIPS-Users] Setting for OpenXCAP connection
gonzo
cheep.markun at gmail.com
Fri Dec 5 03:05:35 CET 2008
Hi all,
Probably is OpenSIPS unable to connect to the OpenXCAP by XCAP?
Regards,
gonzo
2008/12/03 9:39 gonzo <cheep.markun at gmail.com>:
> 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)
> -----------------------------------------------------------------------
> ・・・・・・・・
> 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:openserrw@localhost
> /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")
> modparam("presence", "fallback2db", 1)
> ・・・・・・・・
> modparam("presence_xml", "db_url", "mysql://openser:openserrw@localhost
> /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")
> ・・・・・・・・
> modparam("xcap_client", "db_url", "mysql://openser:openserrw@localhost
> /openser")
> modparam("xcap_client", "xcap_table", "xcap")
> modparam("xcap_client", "periodical_query", 0)
> -----------------------------------------------------------------------
>
> config.ini(10.10.10.11 : xcap.com)
> -----------------------------------------------------------------------
> [Server]
> address = 10.10.10.11
> port = 80
> root = http://xcap.com/
> backend = OpenSER
> document_validation = Yes
> ・・・・・・・・
> [OpenSER]
> xmlrpc_url = 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20081205/e15972fe/attachment.htm
More information about the Users
mailing list