Re: [SR-Users] Kamailio Presence module

2012-09-20 Thread Gary Shergill
Hi Andreas, === > At the moment I am able to log on to a SIP Client using the details; > > @. === It seems I am mistaken about this - you can log in using any random name @ kamailioserver . domain, but either way I'm pretty sure SylkServer is recognising the Kamail

Re: [SR-Users] Kamailio Presence module

2012-09-19 Thread Gary Shergill
Hi Andreas, === >Check what's in line 392, it should give you a hint what's wrong. === That's where it mentions the DBURL. I think I fixed this issue by, instead of using DBURL, I just use the location (mysql://...). That allows Kamailio to restart with no issu

Re: [SR-Users] Kamailio Presence module

2012-09-18 Thread Gary Shergill
Hi again everyone, Changing the DBURL in the kamailio.cfg to what the url is seems to stop the error from before. However, now kamailio is failing to start. The following is the output when kamailio is restarted; root@opensep:~# service kamailio restart Restarting Kamailio: loading modules unde

Re: [SR-Users] Kamailio Presence module

2012-09-18 Thread Andreas Granig
On 09/17/2012 10:36 AM, Gary Shergill wrote: > root@opensep:~# service kamailio restart > Not starting Kamailio: invalid configuration file! > -e > 0(7892) : [cfg.y:3591]: parse error in config file > /etc/kamailio/kamailio.cfg, line 392, column 32-36: syntax error > 0(7892) : [cfg.y:3591]: p

Re: [SR-Users] Kamailio Presence module

2012-09-17 Thread Gary Shergill
Hi Juha, I've double checked and am certain the details I have in Kamailio.cfg are correct for the definition of DBURL. The following is the error that comes up on restart, referring to the DBURL in the code; root@opensep:~# service kamailio restart Not starting Kamailio: invalid configuration f

Re: [SR-Users] Kamailio Presence module

2012-09-15 Thread Juha Heinanen
Gary Shergill writes: > The following is the definition; > > #!define DBURL "mysql://:@localhost/" > > The r/w user and password are those defined in; > > /etc/kamailio/kamctlrc > > Is that correct? I am still getting the same error. i don't know what is defined in /etc/kamailio/kamctlrc, but

Re: [SR-Users] Kamailio Presence module

2012-09-15 Thread Gary Shergill
Hi juha, > i'm not familiar with the default configs, but make sure that you have > DBURL defined somewhere. it could be a name of a macro or something. Thanks for the reply. I've changed the password for the DBURL as I am using something slightly different. T