Re: [SR-Users] authentication is not working

2011-02-06 Thread Iñaki Baz Castillo
2011/2/3 Danny Dias : >         if (is_method("REGISTER")) >         { >                 # authenticate the REGISTER requests (uncomment to enable > auth) >                 if (!www_authorize("", "subscriber")) >                 { >                         www_challenge("", "0"); >                 

Re: [SR-Users] authentication is not working

2011-02-04 Thread Iñaki Baz Castillo
2011/2/4 Danny Dias : >> > different emails...what's the problem? i have a doubt and then i >> > ask...thats >> > the purpose of the forum, if you are not going to help, don't answer... >> >> You are showing same config file (just replaced "kamailio" with >> "opensips") and exactly same SIP traces.

Re: [SR-Users] authentication is not working

2011-02-04 Thread Danny Dias
Hello, 2011/2/4 Iñaki Baz Castillo > 2011/2/3 Danny Dias : > >> Are you asking the same questions in both kamailio and opensips accounts > >> with different aliases? > > > > different emails...what's the problem? i have a doubt and then i > ask...thats > > the purpose of the forum, if you are no

Re: [SR-Users] authentication is not working

2011-02-04 Thread Iñaki Baz Castillo
2011/2/3 Danny Dias : >> Are you asking the same questions in both kamailio and opensips accounts >> with different aliases? > > different emails...what's the problem? i have a doubt and then i ask...thats > the purpose of the forum, if you are not going to help, don't answer... You are showing sa

Re: [SR-Users] authentication is not working

2011-02-04 Thread Klaus Darilion
Am 03.02.2011 22:17, schrieb Danny Dias: > 2011/2/3 Jon Bonilla > >> El Thu, 3 Feb 2011 11:12:30 +0100 >> Danny Dias escribió: >> >>> Hello my friends, >>> >>> I'm trying to configure authentication on my Kamailio and is not working >> at >>> all :( >>> >>> I've added the following to the scri

Re: [SR-Users] authentication is not working

2011-02-04 Thread Klaus Darilion
Am 03.02.2011 21:22, schrieb Daniel-Constantin Mierla: > What version of kamailio are you using? If it is 3.1, then load debugger > module and enable cfg trace. Then you will see what lines in the > configuration file are executed. That's nice. klaus ___

Re: [SR-Users] authentication is not working

2011-02-03 Thread Danny Dias
Thanks Daniel...i appreciate your help, i will let you know if i could solve the problem! 2011/2/3 Daniel-Constantin Mierla > What version of kamailio are you using? If it is 3.1, then load debugger > module and enable cfg trace. Then you will see what lines in the > configuration file are execu

Re: [SR-Users] authentication is not working

2011-02-03 Thread Danny Dias
2011/2/3 Jon Bonilla > El Thu, 3 Feb 2011 11:12:30 +0100 > Danny Dias escribió: > > > Hello my friends, > > > > I'm trying to configure authentication on my Kamailio and is not working > at > > all :( > > > > I've added the following to the script to make it work: (but it doesn't) > > > > . > >

Re: [SR-Users] authentication is not working

2011-02-03 Thread Daniel-Constantin Mierla
What version of kamailio are you using? If it is 3.1, then load debugger module and enable cfg trace. Then you will see what lines in the configuration file are executed. For older versions (also for 3.1), you can add xlog() lines in your config to troubleshoot it. Cheers, Daniel On 2/3/11

Re: [SR-Users] authentication is not working

2011-02-03 Thread Manwe
El Thu, 3 Feb 2011 19:50:23 +0100 Jon Bonilla (Manwe) escribió: > El Thu, 3 Feb 2011 11:12:30 +0100 > Danny Dias escribió: > > > Hello my friends, > > > > I'm trying to configure authentication on my Kamailio and is not working at > > all :( > > > > I've added the following to the script to m

Re: [SR-Users] authentication is not working

2011-02-03 Thread Manwe
El Thu, 3 Feb 2011 11:12:30 +0100 Danny Dias escribió: > Hello my friends, > > I'm trying to configure authentication on my Kamailio and is not working at > all :( > > I've added the following to the script to make it work: (but it doesn't) > > . Are you asking the same questions in both kama

Re: [SR-Users] authentication is not working

2011-02-03 Thread Klaus Darilion
Restart Kamailio. Make sure that it is it really restarts: /etc/init.d/kamailio stop ps aux|grep kamailio # if there are some processes left, kill them killall kamailio ps aux|grep kamailio # if there are still some processes left, kill them harder! killall -9 kamailio /etc/init.d/kamailio start