[SR-Users] Kamailio with Radius authentication
Ciolpan Ionut-Marian
ionut.ciolpan at yahoo.com
Mon Sep 21 16:40:37 CEST 2015
Hi
syslog file contains the logs of service kamailio restart command after I've set debug=3 in kamailio.cfglog kam.txt contains the logs of kamailio -E -ddd command.
Please have a look at the attached files(syslog and log kam.txt), maybe you can find some valuable information there (I don't).Also if you can, please take a look at kamailio.cfg file. Maybe I configured something wrong here.
Thank you very much for your help!
On Monday, September 21, 2015 1:48 PM, Daniel-Constantin Mierla <miconda at gmail.com> wrote:
Hello,
run kamailio with debug=3 in kamailio.cfg and look inside syslog file -- you should see a lot of debug messages, try to spot if radius module prints some hints about what is happening.
A really old tutorial, maybe still useful to read to understand some concepts on this topic:
- http://www.kamailio.org/docs/kamailio-radius-1.0.x.html
Cheers,
Daniel
On 21/09/15 09:09, Ciolpan Ionut-Marian wrote:
Hi,
I want to implement Kamailio with Radius authentication. To be more exactly I want to register SIP users (PhonerLite and/or Jitsi) based on the credentials stored in radcheck table from radius database.
First of all, I have tried to register SIP users based on the credentials stored in users file from /etc/raddb directory. In order to do this,I am using auth_radius module (you can find the content of my kamailio.cfg file in the attachements) but without success. All of the SIP users are registeres successfully even if they are not specified in users file.
Can you provide me some help to achieve this task? and also, can you explain to me how should I do this authentication based on the credentials stored in radcheck table?
The content of users file in /etc/raddb: usertest at mydomain_name Auth-Type := Digest, User-Password == "*89Lob?p" Reply-Message = "Authenticated"
Thank you for any help you can provide !
Best regards
PS: kamailio 4.0.5 freeradius 2.2.0
radclient 2.2.0
PPS: I managed to register SIP users based on the credentials stored in subscriber table from kamailio db.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
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/20150921/edc33ad9/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log kam.txt
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150921/edc33ad9/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: syslog
Type: application/octet-stream
Size: 149453 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150921/edc33ad9/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kamailio.cfg
Type: application/octet-stream
Size: 23058 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150921/edc33ad9/attachment-0001.obj>
More information about the sr-users
mailing list