First it says that the the login is OK and after it says that the login is incorrect. 

Tue Apr 14 17:24:11 2015 : Auth: Login OK: [1008/<via Auth-Type =
DIGEST>] (from client localhost port 0 cli 1008)
Tue Apr 14 17:24:11 2015 : Info: rlm_radutmp: Login entry for NAS
localhost port 0 duplicate
Tue Apr 14 17:24:11 2015 : Auth: Login incorrect: [<no User-Name
attribute>/<no User-Password attribute>] (from client localhost port 0
cli 1008)
Tue Apr 14 17:24:14 2015 : Error: rlm_radutmp: Logout for NAS localhost
port 0, but no Login record



Sent from my BlackBerry 10 smartphone.
  Original Message  
From: Борисов, Дмитрий / Dmitriy Borisov
Sent: вторник, 14 апреля 2015 г., 17:22
To: FreeSWITCH Users Help
Reply To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Dialplan authentication

Hi!

Configuration looks good there, and what in radius.log on RADIUS server?

2015-04-14 14:01 GMT+03:00 Густаво Силва <gfs@etherway.ru>:
I have set up the following in my dialplan:

<extension name="auth" continue="true">
  <condition field="${radius_auth_result}" expression="^0$">
  <action application="radius_auth" inline="true"/>
  </condition>
</extension>

I am facing the following error:

Dialplan: sofia/internal/1008@ipaddress Regex (PASS) [auth]
${radius_auth_result}(0) =~ /^0$/ break=on-false
Dialplan: sofia/internal/1008@ipaddress Action radius_auth() INLINE
EXECUTE sofia/internal/1008@ipaddress radius_auth()
2015-04-14 13:53:42.734956 [ERR] mod_xml_radius.c:1090 mod_xml_radius:
Failed to authenticate

What should I do to the call authentication work?

Regards,
Gustavo


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
with best regards,
Dmitriy Borisov