[OpenSIPS-Devel] OpenXCAP refreshWatchers error
Anca Vamanu
anca at voice-system.ro
Mon Sep 22 13:56:07 CEST 2008
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.
regards,
Anca
Andrew Pogrebennyk wrote:
> Hi Anca,
>
> xmrpl_url is correct and OpenSIPS is receiving MI commands. I have
> posted an excerpt from its log:
>
>> Sep 20 21:06:41 home ./sbin/opensips[9261]:
>> DBG:mi_xmlrpc:default_method: starting up.....
>> Sep 20 21:06:41 home ./sbin/opensips[9261]:
>> DBG:mi_xmlrpc:default_method: done looking the mi command.
>> Sep 20 21:06:41 home ./sbin/opensips[9261]:
>> DBG:mi_xmlrpc:default_method: done parsing the mi tree.
>> Sep 20 21:06:41 home ./sbin/opensips[9261]:
>> DBG:presence:mi_refreshWatchers: start
>> Sep 20 21:06:41 home ./sbin/opensips[9261]:
>> DBG:presence:mi_refreshWatchers: event 'presence'
>> Sep 20 21:06:41 home ./sbin/opensips[9261]:
>> DBG:presence:search_event: start event= [presence]
>> Sep 20 21:06:41 home ./sbin/opensips[9261]:
>> ERROR:presence:mi_refreshWatchers: no rules doc found for the user
>> Sep 20 21:06:41 home ./sbin/opensips[9261]:
>> ERROR:mi_xmlrpc:default_method: command (refreshWatchers) processing
>> failed.
>
> And while I understand the answer given by Adrian - does it imply that
> OpenSIPS and OpenXCAP (with OpenSER backend) must be running on the
> same server? It seems unlikely to me...
>
> Anca Vamanu wrote:
>> Hi Andrew,
>>
>> You must make sure that in the Server section in the OpenXCAP config
>> file you set the xmrpl_url to the address of the presence server and
>> the port the xmlrpc MI interface is listening for requests.
>>
>> regards,
>> Anca
>
More information about the Devel
mailing list