[OpenSIPS-Users] Error on presence_xml
Anca Vamanu
anca at opensips.org
Fri Mar 13 10:57:36 CET 2009
Hi,
I have tried with exactly your parameters and it worked ok.
You don't need to load the xcap_client module if you set
integrated_xcap_server module parameter in both presence_xml and rls.
Are you sure you trying to run with this config :) ?
regards,
Anca
bay2x1 wrote:
> Base on my understanding I dont need to set the xcap_server parameter if I
> set the modparam("presence_xml", "integrated_xcap_server", 1)? BTW I am
> using version 1.5
>
>
>
> Bogdan-Andrei Iancu wrote:
>
>> Hi,
>>
>> I think the error is self explanatory:
>>
>> ERROR:presence_xml:shm_copy_xcap_list: no xcap_server parameter set
>>
>> You need to set the "xcap_server" parameter for the presence_xml module.
>> See:
>> http://www.opensips.org/html/docs/modules/1.4.x/presence_xml.html#id228211
>>
>> Regards,
>> Bogdan
>>
>> bay2x1 wrote:
>>
>>> I have enabled the xcap_client module and the error was eliminated but
>>> encountered another stumbling block this is how my opensips.cfg
>>> configuration intergrating openxcap given all the needed modules has been
>>> loaded.
>>>
>>> # ----- presence params ----- enabled: openxcap
>>> support
>>> /* uncomment the following lines if you want to enable presence */
>>> modparam("presence", "db_url",
>>> "mysql://opensips:opensipsrw@localhost/opensips")
>>> modparam("presence", "server_address", "sip:presence at 10.0.0.1")
>>> modparam("presence", "fallback2db", 1)
>>> modparam("presence", "clean_period", 30)
>>>
>>> # -- xcap params -- added: openxcap support
>>> modparam("presence_xml", "db_url",
>>> "mysql://opensips:opensipsrw@localhost/opensips")
>>> modparam("presence_xml", "force_active", 0)
>>> modparam("presence_xml", "pidf_manipulation", 1)
>>> modparam("presence_xml", "integrated_xcap_server", 1)
>>>
>>> # -- rls params -- added: openxcap support
>>> modparam("rls", "db_url",
>>> "mysql://opensips:opensipsrw@localhost/opensips")
>>> modparam("rls", "server_address", "sip:rls at 10.0.0.1")
>>> modparam("rls", "to_presence_code", 5)
>>> modparam("rls", "integrated_xcap_server", 1)
>>>
>>> modparam("pua", "db_url",
>>> "mysql://opensips:opensipsrw@localhost/opensips")
>>> modparam("pua", "db_table", "pua")
>>> */
>>>
>>> #-----------------xcap client -------------------------
>>> modparam("xcap_client", "db_url",
>>> "mysql://opensips:opensipsrw@localhost/opensips")
>>> modparam("xcap_client", "xcap_table", "xcaps")
>>> modparam("xcap_client", "periodical_query", 0)
>>>
>>> this is the error log. ERROR LOG
>>>
>>> Mar 12 13:43:23 ws16 /usr/sbin/opensips[19514]: NOTICE:presence:mod_init:
>>> initializing module ...
>>> Mar 12 13:43:24 ws16 /usr/sbin/opensips[19514]:
>>> ERROR:presence_xml:shm_copy_xcap_list: no xcap_server parameter set
>>> Mar 12 13:43:24 ws16 /usr/sbin/opensips[19514]:
>>> ERROR:presence_xml:mod_init:
>>> copying xcap server list in share memory
>>> Mar 12 13:43:24 ws16 /usr/sbin/opensips[19514]: ERROR:core:init_mod:
>>> failed
>>> to initialize module presence_xml
>>> Mar 12 13:43:24 ws16 /usr/sbin/opensips[19514]: ERROR:core:main: error
>>> while
>>> initializing modules
>>> Mar 12 13:43:24 ws16 /usr/sbin/opensips[19514]: NOTICE:presence:destroy:
>>> destroy module ...
>>>
>>>
>>>
>>>
>>> bay2x1 wrote:
>>>
>>>
>>>> I have integrated openxcap on my config and opensips fails to run
>>>> generating error log below....
>>>>
>>>> Mar 12 10:57:10 ws16 /usr/sbin/opensips[14469]: INFO:dialog:mod_init:
>>>> Dialog module - initializing
>>>> Mar 12 10:57:10 ws16 /usr/sbin/opensips[14469]:
>>>> NOTICE:presence:mod_init:
>>>> initializing module ...
>>>> Mar 12 10:57:10 ws16 /usr/sbin/opensips[14469]:
>>>> ERROR:presence_xml:mod_init: Can't bind xcap_client
>>>> Mar 12 10:57:10 ws16 /usr/sbin/opensips[14469]: ERROR:core:init_mod:
>>>> failed to initialize module presence_xml
>>>> Mar 12 10:57:10 ws16 /usr/sbin/opensips[14469]: ERROR:core:main: error
>>>> while initializing modules
>>>> Mar 12 10:57:10 ws16 /usr/sbin/opensips[14469]: NOTICE:presence:destroy:
>>>> destroy module ...
>>>>
>>>> I had checked my presence_xml configuration and check the opensips
>>>> documentation and I can say that I have done what was instructed in the
>>>> configuration instruction. At first I was encountering segfault error,
>>>> but now this error is now appearing
>>>>
>>>>
>>>>
>>>
>>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>
>
More information about the Users
mailing list