[OpenSIPS-Devel] OpenXCAP refreshWatchers error

Andrew Pogrebennyk andrew.pogrebennyk at portaone.com
Mon Sep 22 16:13:34 CEST 2008


That is the same URL and the same table. The table is properly populated 
by OpenXCAP, but OpenSIPS fails to read the document for some reason. 
I'll debug it and i get a free minute. Currently I am using the 
following parameters on the presence_xml module, but I also tried 
different values of each:

loadmodule "presence_xml.so"
modparam("presence_xml", "db_url", "mysql://sqluser:ser@localhost/opensips")
modparam("presence_xml", "force_active", 1)
modparam("presence_xml", "xcap_table", "xcap")
modparam("presence_xml", "pidf_manipulation", 1)
modparam("presence_xml", "integrated_xcap_server", 1)

Anca Vamanu wrote:
> Hi,
> 
> No, it is not compulsory for the two to run on the same machine. 
> However, they must share the same database. The OpenXCAP server writes 
> in the 'xcap' table, and OpenSIPS reads from there. The database used by 
> the OpenXCAP is also defined in the Server section. You should make sure 
> that it is the same url as the database url for the OpenSIPS presence 
> server.

-- 
Sincerely,
Andrew Pogrebennyk



More information about the Devel mailing list