<html><head></head><body style="background-color: rgb(255, 255, 255); line-height: initial;">                                                                                      <div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><br></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">First it says that the the login is OK and after it says that the login is incorrect.&nbsp;</div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><br></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><span style="font-family: sans-serif; white-space: pre-wrap; line-height: initial;">Tue Apr 14 17:24:11 2015 : Auth: Login OK: [1008/&lt;via Auth-Type = </span></div><span style="font-family: sans-serif; white-space: pre-wrap;">DIGEST&gt;] (from client localhost port 0 cli 1008)</span><br style="font-family: sans-serif; white-space: pre-wrap;"><span style="font-family: sans-serif; white-space: pre-wrap;">Tue Apr 14 17:24:11 2015 : Info: rlm_radutmp: Login entry for NAS </span><br style="font-family: sans-serif; white-space: pre-wrap;"><span style="font-family: sans-serif; white-space: pre-wrap;">localhost port 0 duplicate</span><br style="font-family: sans-serif; white-space: pre-wrap;"><span style="font-family: sans-serif; white-space: pre-wrap;">Tue Apr 14 17:24:11 2015 : Auth: Login incorrect: [&lt;no User-Name </span><br style="font-family: sans-serif; white-space: pre-wrap;"><span style="font-family: sans-serif; white-space: pre-wrap;">attribute&gt;/&lt;no User-Password attribute&gt;] (from client localhost port 0 </span><br style="font-family: sans-serif; white-space: pre-wrap;"><span style="font-family: sans-serif; white-space: pre-wrap;">cli 1008)</span><br style="font-family: sans-serif; white-space: pre-wrap;"><span style="font-family: sans-serif; white-space: pre-wrap;">Tue Apr 14 17:24:14 2015 : Error: rlm_radutmp: Logout for NAS localhost </span><br style="font-family: sans-serif; white-space: pre-wrap;"><span style="font-family: sans-serif; white-space: pre-wrap;">port 0, but no Login record</span><div><br></div><div><br></div><div><br style="font-family: sans-serif; white-space: pre-wrap;">                                                                                                                                     <div style="display:none"></div>                                                              <div style="font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">Sent&nbsp;from&nbsp;my&nbsp;BlackBerry&nbsp;10&nbsp;smartphone.</div>                                       <div style="display:none"></div><div style="font-size: initial; text-align: initial; background-color: rgb(255, 255, 255);"><table width="100%" style="background-color:white; border-spacing:0px;">                                          <tbody><tr><td></td><td id="_separatorInternal" rowspan="2" style="text-align: center; font-size: initial; background-color: rgb(255, 255, 255);">                                                                                            <span id="_bb10TempSeparatorText" style="background-color:white; color:#0073BC;font-size:smaller;font-family:&quot;Slate Pro&quot;">&nbsp; Original Message &nbsp;</span>      </td></tr>                                                                                                                                                               <tr> <td colspan="2"><div style="border:none;border-top:solid #0073BC 1.0pt;"></div>                                                                                     </td></tr></tbody></table></div>                                                                                                                                           <table width="100%" style="background-color:white;border-spacing:0px;"> <tbody><tr><td colspan="2" style="font-size: initial; text-align: initial; background-color: rgb(255, 255, 255);">                           <div style="font-size: smaller;font-family:&quot;Tahoma&quot;,&quot;BB Alpha Sans&quot;,&quot;Slate Pro&quot;,&quot;sans-serif&quot;;">  <div><b>From: </b>Борисов, Дмитрий / Dmitriy Borisov</div><div><b>Sent: </b>вторник, 14 апреля 2015&nbsp;г., 17:22</div><div><b>To: </b>FreeSWITCH Users Help</div><div><b>Reply To: </b>FreeSWITCH Users Help</div><div><b>Subject: </b>Re: [Freeswitch-users] Dialplan authentication</div></div></td></tr></tbody></table><div style="border-style: solid none none; border-top-color: rgb(186, 188, 209); border-top-width: 1pt; font-size: initial; text-align: initial; background-color: rgb(255, 255, 255);"></div><br><div id="_originalContent" style=""><div dir="ltr"><div>Hi!</div><div><br></div>Configuration looks good there, and what in radius.log on RADIUS server?</div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-14 14:01 GMT+03:00 Густаво Силва <span dir="ltr">&lt;<a href="mailto:gfs@etherway.ru" target="_blank">gfs@etherway.ru</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have set up the following in my dialplan:<br>
<br>
&lt;extension name="auth" continue="true"&gt;<br>
&nbsp; &lt;condition field="${radius_auth_result}" expression="^0$"&gt;<br>
&nbsp; &lt;action application="radius_auth" inline="true"/&gt;<br>
&nbsp; &lt;/condition&gt;<br>
&lt;/extension&gt;<br>
<br>
I am facing the following error:<br>
<br>
Dialplan: sofia/internal/1008@ipaddress Regex (PASS) [auth]<br>
${radius_auth_result}(0) =~ /^0$/ break=on-false<br>
Dialplan: sofia/internal/1008@ipaddress Action radius_auth() INLINE<br>
EXECUTE sofia/internal/1008@ipaddress radius_auth()<br>
2015-04-14 13:53:42.734956 [ERR] mod_xml_radius.c:1090 mod_xml_radius:<br>
Failed to authenticate<br>
<br>
What should I do to the call authentication work?<br>
<br>
Regards,<br>
Gustavo<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>with best regards,</div><div>Dmitriy Borisov</div></div></div></div></div></div></div></div></div></div></div>
</div>
<br><!--end of _originalContent --></div></div></body></html>