<div dir="ltr"><div>Hi , <span id="result_box" class="" lang="en"><span class=""> </span></span><span id="result_box" class="" lang="en"><span class=""><span id="result_box" class="" lang="en"><span class="">you</span><span class="">'re right</span> <span class="">I forgot to</span> <span class="">post</span> <span class="">the</span> <span class="">version</span> <span class="">of Use , </span></span></span></span><span id="result_box" class="" lang="en"><span class="">I made</span> <span class="">the necessary changes,</span> <span class="">but</span> <span class="">I'm still</span> <span class="">having problems,</span> <span class="">do not know if</span> <span class="">I'm doing it</span> <span class="">correctly<br>
<br>loadmodule "presence.so"<br>loadmodule "presence_xml.so"<br>modparam("presence|presence_xml", "db_url") # <br>modparam("presence_xml", "force_active", 1)<br>
modparam("presence", "server_address", "sip:172.x.x.x:5060") #<br><br><br>CRITICAL:core:yyerror: parse error in config file /etc/opensips/opensips.cfg, line 87, column 16-17: syntax error<br>
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<br>Aug 28 08:39:17 sipia opensips: CRITICAL:core:yyerror: parse error in config file /etc/opensips/opensips.cfg, line 88, column 1-9:<br>
<br><br></span></span></div><span id="result_box" class="" lang="en"><span class="">line 87 and 88 is <br></span></span><div><span id="result_box" class="" lang="en"><span class=""><br></span></span><span id="result_box" class="" lang="en"><span class="">modparam("presence|presence_xml", "db_url") # <br>
modparam("presence_xml", "force_active", 1)<br><br></span></span></div><div><span id="result_box" class="" lang="en"><span class="">I´m </span></span>not using an xcap
                server<br><br></div><div>regards my friendss<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/27 Muhammad Shahzad <span dir="ltr"><<a href="mailto:shaheryarkh@gmail.com" target="_blank">shaheryarkh@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">That's because presence_xml does not have db_url parameter anymore.<div><br></div><div><a href="http://www.opensips.org/html/docs/modules/1.9.x/presence_xml.html" target="_blank">http://www.opensips.org/html/docs/modules/1.9.x/presence_xml.html</a><br>
</div><div><br></div><div>Also when asking for help, it would be better if you mention your opensips version / revision. This will save everybody's time.</div><div><br></div><div>Thank you.</div><div><br></div><div><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Wed, Aug 28, 2013 at 12:58 AM, troxlinux <span dir="ltr"><<a href="mailto:xserverlinux@gmail.com" target="_blank">xserverlinux@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">I have already the module <br><br>/lib64/opensips/modules/presence_xml.so<br>
<br></div><div class="gmail_extra">
<div><div><br><br><div class="gmail_quote">2013/8/27 troxlinux <span dir="ltr"><<a href="mailto:xserverlinux@gmail.com" target="_blank">xserverlinux@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi list , I tried to add presence to my sipserver <br><br></div>check my config<br><br>loadmodule "presence.so"<br>
loadmodule "presence_xml.so"<br><br>## --presencia modulos<br>
modparam("presence|presence_xml", "db_url", "mysql://ossips:xxxx@localhost/opensips")<br>modparam("presence_xml", "force_active", 1)<br>modparam("presence", "server_address", "sip:172.x.x.x:5060" )<br>
<br></div><br>error log:<br><br><div><div><br>ERROR:core:set_mod_param_regex: parameter <db_url> not found in module <presence_xml><br>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<br>
Aug 27 15:15:48 sipia opensips: ERROR:core:main: bad config file (1 errors)<br>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<br>
Aug 27 15:17:45 sipia opensips: ERROR:core:set_mod_param_regex: parameter <db_url> not found in module <presence_xml><br>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<br>
Aug 27 15:17:45 sipia opensips: ERROR:core:main: bad config file (1 errors)<span><font color="#888888"><br><br clear="all"><div><div><div><br>-- <br>rickygm<br><br><a href="http://gnuforever.homelinux.com" target="_blank">http://gnuforever.homelinux.com</a>
</div></div></div></font></span></div></div></div>
</blockquote></div><br><br clear="all"><br></div></div><span><font color="#888888">-- <br>rickygm<br><br><a href="http://gnuforever.homelinux.com" target="_blank">http://gnuforever.homelinux.com</a>
</font></span></div>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><span style="color:rgb(136,136,136);font-size:13px;font-family:arial,sans-serif">Mit freundlichen Grüßen</span></div>
<span style="color:rgb(136,136,136);font-size:13px;font-family:arial,sans-serif">Muhammad Shahzad</span><br style="color:rgb(136,136,136);font-size:13px;font-family:arial,sans-serif">
<span style="color:rgb(136,136,136);font-size:13px;font-family:arial,sans-serif">------------------------------</span><span style="color:rgb(136,136,136);font-size:13px;font-family:arial,sans-serif">-----</span><br style="color:rgb(136,136,136);font-size:13px;font-family:arial,sans-serif">
<span style="color:rgb(136,136,136);font-size:13px;font-family:arial,sans-serif">CISCO Rich Media Communication Specialist (CRMCS)</span><br style="color:rgb(136,136,136);font-size:13px;font-family:arial,sans-serif">
<span style="color:rgb(136,136,136);font-size:13px;font-family:arial,sans-serif">CISCO Certified Network Associate (CCNA)</span><br style="color:rgb(136,136,136);font-size:13px;font-family:arial,sans-serif">
<span style="color:rgb(136,136,136);font-size:13px;font-family:arial,sans-serif">Cell: <a href="tel:%2B49%20176%2099%2083%2010%2085" value="+4917699831085" target="_blank">+49 176 99 83 10 85</a></span><br style="color:rgb(136,136,136);font-size:13px;font-family:arial,sans-serif">
<span style="color:rgb(136,136,136);font-size:13px;font-family:arial,sans-serif">MSN: </span><a href="mailto:shari_786pk@hotmail.com" style="color:rgb(17,85,204);font-size:13px;font-family:arial,sans-serif" target="_blank">shari_786pk@hotmail.com</a><br style="color:rgb(136,136,136);font-size:13px;font-family:arial,sans-serif">
<span style="color:rgb(136,136,136);font-size:13px;font-family:arial,sans-serif">Email: </span><a href="mailto:shaheryarkh@googlemail.com" style="color:rgb(17,85,204);font-size:13px;font-family:arial,sans-serif" target="_blank">shaheryarkh@googlemail.com</a>
</font></span></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>rickygm<br><br><a href="http://gnuforever.homelinux.com">http://gnuforever.homelinux.com</a>
</div>