[OpenSIPS-Users] Presence xml

2013-08-27 Thread troxlinux
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:@localhost /opensips") modparam("presence_xml", "force_active", 1) modparam("presence", "

Re: [OpenSIPS-Users] Presence xml

2013-08-27 Thread troxlinux
I have already the module /lib64/opensips/modules/presence_xml.so 2013/8/27 troxlinux > 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", "m

Re: [OpenSIPS-Users] Presence xml

2013-08-27 Thread Muhammad Shahzad
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, 201

Re: [OpenSIPS-Users] Presence xml

2013-08-28 Thread troxlinux
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

Re: [OpenSIPS-Users] Presence xml

2013-08-28 Thread troxlinux
jejej my version is 1.9.1 2013/8/28 troxlinux > 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|presen

Re: [OpenSIPS-Users] Presence xml

2013-08-28 Thread troxlinux
look there : Aug 28 09:54:41 sipia /sbin/opensips[27216]: ERROR:db_mysql:db_mysql_connect: driver error(1045): Access denied for user ''ossips@'localhost' (using password: YES) Aug 28 09:54:41 sipia /sbin/opensips[27216]: ERROR:db_mysql:db_mysql_new_connection: initial connect failed Aug 28 09:54:

Re: [OpenSIPS-Users] Presence xml

2013-08-28 Thread Saúl Ibarra Corretgé
On Aug 28, 2013, at 6:05 PM, troxlinux wrote: > > look there : > > Aug 28 09:54:41 sipia /sbin/opensips[27216]: ERROR:db_mysql:db_mysql_connect: > driver error(1045): Access denied for user ''ossips@'localhost' (using > password: YES) > Aug 28 09:54:41 sipia /sbin/opensips[27216]: > ERROR:db

Re: [OpenSIPS-Users] Presence xml

2013-08-28 Thread troxlinux
saul my connection to mysql works perfect with the root user, and the user OpenSIPS bd, mysqld (pid 2411) is running... line 87 and 88 modparam("presence", "db_url","mysql://ossips:xxx@localhost/opensips") modparam("presence", "server_address", "sip:172.x.x.x:5060") 2013/8/28 Saúl Ibarra C

Re: [OpenSIPS-Users] Presence xml

2013-08-28 Thread troxlinux
if I remove all configuration starts successfully OpenSIPS presence Stopping opensips: not running [WARNING] Starting opensips: [ OK ] 2013/8/28 troxlinux > saul my connection to mysql works perfect with the root user, and

Re: [OpenSIPS-Users] Presence xml

2013-08-28 Thread Saúl Ibarra Corretgé
On Aug 28, 2013, at 6:21 PM, troxlinux wrote: > saul my connection to mysql works perfect with the root user, and the user > OpenSIPS bd, > > mysqld (pid 2411) is running... > So, does "mysql -uossips -pxxx -hlocalhost opensips" work? > > line 87 and 88 > > modparam("presence", "db_url","m

Re: [OpenSIPS-Users] Presence xml

2013-08-28 Thread troxlinux
Saul, change the user en opensips , now I'm using the mysql root, and the error message changes Aug 28 13:44:13 sipia /sbin/opensips[5081]: ERROR:presence_xml:mod_init: Can't bind xcap Aug 28 13:44:13 sipia /sbin/opensips[5081]: ERROR:core:init_mod: failed to initialize module presence_xml Aug 28

Re: [OpenSIPS-Users] Presence xml

2013-08-28 Thread troxlinux
if I disabled module presence_xml opensips running fine #loadmodule "presence_xml.so" modparam("presence", "db_url","mysql://root:x@localhost/opensips") modparam("presence", "server_address", "sip:sa@172.16.8.48:5060") #modparam("presence_xml", "db_url") # CUSTOMIZE ME #modparam("presence_xml"

Re: [OpenSIPS-Users] Presence xml

2013-08-28 Thread Saúl Ibarra Corretgé
On Aug 28, 2013, at 10:24 PM, troxlinux wrote: > if I disabled module presence_xml opensips running fine > > #loadmodule "presence_xml.so" > modparam("presence", "db_url","mysql://root:x@localhost/opensips") > modparam("presence", "server_address", "sip:sa@172.16.8.48:5060") > #modparam("pr

Re: [OpenSIPS-Users] Presence xml

2013-08-28 Thread troxlinux
ummm , I need load module xcap.so ? 2013/8/28 Saúl Ibarra Corretgé > > On Aug 28, 2013, at 10:24 PM, troxlinux wrote: > > > if I disabled module presence_xml opensips running fine > > > > #loadmodule "presence_xml.so" > > modparam("presence", "db_url","mysql://root:x@localhost/opensips") >

Re: [OpenSIPS-Users] Presence xml

2013-08-28 Thread troxlinux
but I have a question, It is then necessary to mount a server openxcap? 2013/8/28 troxlinux > ummm , I need load module xcap.so ? > > > 2013/8/28 Saúl Ibarra Corretgé > >> >> On Aug 28, 2013, at 10:24 PM, troxlinux wrote: >> >> > if I disabled module presence_xml opensips running fine >> > >>

Re: [OpenSIPS-Users] Presence xml

2013-08-31 Thread troxlinux
I am currently using version 1.8.3 and I work with the presence , in my other thread got different settings and I could not make it work the simple presence. ? 2013/8/28 troxlinux > but I have a question, It is then necessary to mount a server openxcap? > > > 2013/8/28 troxlinux > >> ummm , I