[OpenSIPS-Users] Presence xml

troxlinux xserverlinux at gmail.com
Wed Aug 28 16:53:30 CEST 2013


Hi ,  you're right I forgot to post the version of Use , I made the
necessary changes, but I'm still having problems, do not know if I'm doing
it correctly

loadmodule "presence.so"
loadmodule "presence_xml.so"
modparam("presence|presence_xml", "db_url") #
modparam("presence_xml", "force_active", 1)
modparam("presence", "server_address", "sip:172.x.x.x:5060") #


CRITICAL:core:yyerror: parse error in config file
/etc/opensips/opensips.cfg, line 87, column 16-17: syntax error
Aug 28 08:39:17 sipia opensips: CRITICAL:core:yyerror: parse error in
config file /etc/opensips/opensips.cfg, line 87, column 16-17: Invalid
arguments
Aug 28 08:39:17 sipia opensips: CRITICAL:core:yyerror: parse error in
config file /etc/opensips/opensips.cfg, line 88, column 1-9:


line 87 and 88 is

modparam("presence|presence_xml", "db_url") #
modparam("presence_xml", "force_active", 1)

I´m not using an xcap server

regards my friendss


2013/8/27 Muhammad Shahzad <shaheryarkh at gmail.com>

> That's because presence_xml does not have db_url parameter anymore.
>
> http://www.opensips.org/html/docs/modules/1.9.x/presence_xml.html
>
> Also when asking for help, it would be better if you mention your opensips
> version / revision. This will save everybody's time.
>
> Thank you.
>
>
>
>
> On Wed, Aug 28, 2013 at 12:58 AM, troxlinux <xserverlinux at gmail.com>wrote:
>
>> I have already the module
>>
>> /lib64/opensips/modules/presence_xml.so
>>
>>
>>
>> 2013/8/27 troxlinux <xserverlinux at gmail.com>
>>
>>> Hi list , I tried to add presence to my sipserver
>>>
>>> check my config
>>>
>>> loadmodule "presence.so"
>>> loadmodule "presence_xml.so"
>>>
>>> ## --presencia modulos
>>> modparam("presence|presence_xml", "db_url",
>>> "mysql://ossips:xxxx@localhost/opensips")
>>> modparam("presence_xml", "force_active", 1)
>>> modparam("presence", "server_address", "sip:172.x.x.x:5060" )
>>>
>>>
>>> error log:
>>>
>>>
>>> ERROR:core:set_mod_param_regex: parameter <db_url> not found in module
>>> <presence_xml>
>>> Aug 27 15:15:48 sipia opensips: CRITICAL:core:yyerror: parse error in
>>> config file /etc/opensips/opensips.cfg, line 86, column 20-21: Parameter
>>> <db_url> not found in module <presence|presence_xml> - can't set
>>> Aug 27 15:15:48 sipia opensips: ERROR:core:main: bad config file (1
>>> errors)
>>> Aug 27 15:17:45 sipia opensips: WARNING:core:warn: warning in config
>>> file /etc/opensips/opensips.cfg, line 16, column 13-16: tls support not
>>> compiled in
>>> Aug 27 15:17:45 sipia opensips: ERROR:core:set_mod_param_regex:
>>> parameter <db_url> not found in module <presence_xml>
>>> Aug 27 15:17:45 sipia opensips: CRITICAL:core:yyerror: parse error in
>>> config file /etc/opensips/opensips.cfg, line 86, column 20-21: Parameter
>>> <db_url> not found in module <presence|presence_xml> - can't set
>>> Aug 27 15:17:45 sipia opensips: ERROR:core:main: bad config file (1
>>> errors)
>>>
>>>
>>> --
>>> rickygm
>>>
>>> http://gnuforever.homelinux.com
>>>
>>
>>
>>
>> --
>> rickygm
>>
>> http://gnuforever.homelinux.com
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
> --
> Mit freundlichen Grüßen
> Muhammad Shahzad
> -----------------------------------
> CISCO Rich Media Communication Specialist (CRMCS)
> CISCO Certified Network Associate (CCNA)
> Cell: +49 176 99 83 10 85
> MSN: shari_786pk at hotmail.com
> Email: shaheryarkh at googlemail.com
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


-- 
rickygm

http://gnuforever.homelinux.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130828/0e6223ca/attachment.htm>


More information about the Users mailing list