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:
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");
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
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: