[OpenSIPS-Users] Presence xml

Muhammad Shahzad shaheryarkh at gmail.com
Wed Aug 28 01:10:12 CEST 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130828/b2193629/attachment.htm>


More information about the Users mailing list