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