[Freeswitch-users] Radius client problems
Miha Zoubek
miha at softnet.si
Thu Nov 3 16:23:34 MSK 2011
Hi,
As now my freeswitch is working properly I would like to implement
radius client on it for AAA.
I have done as is written on http://wiki.freeswitch.org/wiki/Mod_rad_auth.
My dialplan look like this:
<extension name="test12345">
<condition field="destination_number" expression="^(10[03][0-9])$">
<action inline="true" application="set" data="CALLID=h323-conf-id=${uuid}"/>
<action inline="true" application="set" data="USERNAME=1001"/>
<action inline="true" application="set" data="PASSWD=1111"/>
<action application="auth_function" data="in ${DIALED_NUMBER}, in
${USERNAME}, in ${PASSWD}, out AUTH_RESULT"/>
<action application="export" data="dialed_extension=$1"/>
<action application="bridge"
data="user/${dialed_extension}@${domain_name}"/>
</condition>
</extension>
After I try to make phone call I get his:
*2011-11-03 13:33:54.582920 [ERR] mod_rad_auth.c:347 Error loading
radius dictionary
2011-11-03 13:33:54.582920 [ERR] mod_rad_auth.c:546 An error occured
during RADIUS Authentication(RC=-1)
2011-11-03 13:33:54.582920 [ERR] mod_rad_auth.c:702 An error occured
during radius authorization.*
ok, I thought that link location is wrong but it is not:
<param name="dictionary" value="/usr/local/etc/radiusclient/dictionary.all"/
cd /usr/local/etc/radiusclient/
[root at localhost radiusclient]# ls
dictionary dictionary.cisco dictionary.merit issue
radiusclient.conf
dictionary.ascend dictionary.compat dictionary.sip port-id-map servers
[root at localhost radiusclient]#
If I put location like this /usr/local/etc/radiusclient/dictionary, the
dictionary is found (but only one) but I get error that id-conf-h323 is
missing (I put it in dictionary).
My questions:
Why I am getting first error if location is right?
What are second two errors about?
Thank you for all your help!
BR,
Miha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111103/7e2fc1fa/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list