Re: [SR-Users] Help with 407 Proxy Auth. Required

2015-03-14 Thread canuck15
Specifically, after auth_check line add: xlog("The return code is $rc\n"); Can add additional lines to view the values of other pseudovariables http://www.kamailio.org/wiki/cookbooks/4.0.x/pseudovariables On 3/9/2015 7:56 AM, Daniel-Constantin Mierla wrote: On 09/03/15 15:41, Agiftel wrote:

[SR-Users] What does it mean when auth_check and auth_challenge flags are "0"?

2015-03-14 Thread canuck15
I am trying to decipher a kamailio.cfg file for a particular open source project. There are problems with authentication and I am trying to understand why. They use the following lines for authentication check if (!auth_check("$fd", "subscriber", "0")) { auth_challenge("$fd", "0");

Re: [SR-Users] how can I use WITH_IPAUTH when the IP may be stored in the DB as a FQDN?

2015-03-14 Thread canuck15
Thanks for this suggestion. I ended up replacing permissions module |allow_source_address() with sql queries. |Not sure how well it will scale but seems to work ok on a test system. |In order to use allow_source_address() I would need to save all returned IP addresses in the database. The pro

[SR-Users] 478/sl and 478/sm on BYE?

2015-03-14 Thread Don Fanning
I am getting these both when one end of the client sends a BYE - after the other client has already sent a BYE and got a 200 back. Config: http://pastebin.com/5gcFpJ3m /usr/local/sbin/kamailio[3259]: INFO: