[SR-Users] Kamailio with Radius authentication

Ciolpan Ionut-Marian ionut.ciolpan at yahoo.com
Tue Sep 22 15:59:17 CEST 2015


The content of kamailio.cfg includes the following lines(still, cfgtrace doesn't appear in syslog):#!define WITH_DEBUG
#!ifdef WITH_DEBUGdebug=3log_stderror=no#!elsedebug=2log_stderror=no#!endif
#!ifdef WITH_DEBUG
loadmodule "debugger.so"#!endif

#-----debugger params-----#!ifdef WITH_DEBUG
modparam("debugger", "cfgtrace", 1)#!endif

It seems that cfgtrace appears only if I am running kamailio -E -ddd command followed by the registration process for a SIP user
Thank you!Br,

     On Tuesday, September 22, 2015 3:34 PM, Daniel-Constantin Mierla <miconda at gmail.com> wrote:
   

  Hello,
 
 the log file doesn't have any message from cfgtrace.
 
 If you started from default kamailio.cfg, note that the debugger module is not loaded unless you define WITH_DEBUG. To understand, see some docs about defines at:
 
   - https://www.kamailio.org/wiki/cookbooks/4.3.x/core#define
 
 Cheers,
 Daniel
 
 On 22/09/15 12:06, Ciolpan Ionut-Marian wrote:
  
  Hello again, 
  Thank you for your answer. As you could see in kamailio.cfg file, debugger module its already loaded and cfgtrace param is set to 1. Attached you can find the logs from syslog and from Phonerlite. Now thats a little bit awkward for me, maybe this is a stupid question, but why am I unable to see if the credentials are checked for this user? from what I understand from phonerlite logs, the user is registered based only on the realm - am I right?  Am I doing right if I'm using radius_www_authorize function in REGISTRAR route?  
  Please, have a look at the attached files, maybe you will understand what I'm doing wrong there. 
  My level of knowledges is beginner but unfortunately I am under pressure to solve this as quickly as possible. 
  Thank you for your time and thank you again for any help you can provide ! 
  Best regards, 
  
  
  p.s: At this point, if I am using radius_proxy_authorize in AUTH route I'm receiveing an UNAUTHORIZED answer.  
 
         
 
 -- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
Kamailio Advanced Training, Sep 28-30, 2015, in Berlin - http://asipto.com/u/kat 

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150922/5b8b3993/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kamailio.log
Type: application/octet-stream
Size: 212984 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150922/5b8b3993/attachment-0001.obj>


More information about the sr-users mailing list