<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);">These errors have shown up in radius.log:</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);"><br></div><span style="font-family: sans-serif; white-space: pre-wrap;">Tue Apr 14 17:24:11 2015 : Auth: Login OK: [1008/&lt;via Auth-Type = </span><br style="font-family: sans-serif; white-space: pre-wrap;"><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><br style="font-family: sans-serif; white-space: pre-wrap;"><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);"><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);"><br style="display:initial"></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>                                                                                                                                                                                  <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="border-style: solid none none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0in 0in; font-family: Tahoma, 'BB Alpha Sans', 'Slate Pro'; font-size: 10pt;">  <div><b>From: </b>Sergey Safarov</div><div><b>Sent: </b>четверг, 16 апреля 2015&nbsp;г., 9:43</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>Are you see auth requests on RADIUS server side?</div><div>Are there errors in RADIUS server log?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 16, 2015 at 7:52 AM, Gustavo Silva <span dir="ltr">&lt;<a href="mailto:silvagustavo@yandex.ru" target="_blank">silvagustavo@yandex.ru</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div 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)">So we back to the beginning.</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)">How can I use mod_xml_radius in dialplan?</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)">I have set up something like this:</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)"><blockquote type="cite" style="color:rgb(0,0,0);font-family:sans-serif"><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><blockquote type="cite"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><blockquote type="cite"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="line-height:initial"><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="line-height:initial"><div><div class="gmail_quote"><blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><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;</blockquote></div></div></div></blockquote></div></div></div></blockquote></div></div></blockquote></div></blockquote></div></div></blockquote></div></blockquote></div></div></blockquote></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)">But I got authentication failed.</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)"><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)"><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)"><br></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>                                                                                                                                                                                  <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="border-style:solid none none;border-top-color:rgb(181,196,223);border-top-width:1pt;padding:3pt 0in 0in;font-family:Tahoma,'BB Alpha Sans','Slate Pro';font-size:10pt">  <div><b>From: </b>Sergey Safarov</div><div><b>Sent: </b>четверг, 16 апреля 2015&nbsp;г., 7:04</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><p dir="ltr">I recommend return all required data in response and not use mod_rad_auth module.</p>
<br><div class="gmail_quote">On Wed, Apr 15, 2015, 18:12&nbsp;Sergey Safarov &lt;<a href="mailto:s.safarov@gmail.com" target="_blank">s.safarov@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">If you see mod_xml_radius.c string 667, then you can find that FS create variables from RADIUS server responce.<div>Try return from RADIUS server vendor spectific attribute (VSA) with password value.</div><div>Then call "info" application from dialplan and locate password value in variables.</div></div><div dir="ltr"><div><br></div><div>Sergey</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 15, 2015 at 3:17 PM, Густаво Силва <span dir="ltr">&lt;<a href="mailto:gfs@etherway.ru" target="_blank">gfs@etherway.ru</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    I would like to use this approach:<br>
    &nbsp;&nbsp;&nbsp; &lt;action inline="false" application="set"
    data="PASSWD=${user_data(${caller_id_number}@${sip_from_host} param
    password)}"/&gt;<br>
    <br>
    I dont know how I could access the password of the registered user
    who is making a call, to authenticate (or check billing) with the
    rad_auth module if I am using xml_radius module.<br>
    <br>
    First I had tested only the mod rad_auth as Sergey had mentioned. It
    had worked. Know I am working together with the xml_radius module. <br>
    <br>
    <div>On 15.04.2015 14:55, Gustavo Silva
      wrote:<br>
    </div>
    <blockquote type="cite">
      <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)">So, in dialplan
        I could access this parameter by ${vm_pass}?</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 style="display:initial">
      </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>
      <table style="background-color:white;border-spacing:0px" width="100%">
        <tbody>
          <tr>
            <td colspan="2" style="font-size:initial;text-align:initial;background-color:rgb(255,255,255)">
              <div>
                <div><b>From: </b>Борисов, Дмитрий / Dmitriy Borisov</div>
                <div><b>Sent: </b>среда, 15 апреля 2015&nbsp;г., 14:51</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>
      <br>
      <div>
        <div dir="ltr">
          <div>Hi!</div>
          <div><br>
          </div>
          <div>If you use rad_auth dialplan command, then after using it
            you will have Freeswitch-AVPair channel variable with value
            vm_pass=1234</div>
          <div>If you use auth_invite or auth_reg, than mod_xml_radius
            will create user param with name Freeswitch-AVPair and value
            vm_pass=1234 in result directory&nbsp;</div>
        </div>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">2015-04-15 13:56 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">
              <div bgcolor="#FFFFFF" text="#000000"> It works.<br>
                <br>
                Man, just more one question, how can I get the value of
                this variable in my diaplan? I am using mod_xml_radius.
                <br>
                <br>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Freeswitch-AVPair = "vm_pass=1234"
                <div>
                  <div><br>
                    <br>
                    <br>
                    <br>
                    <br>
                    <br>
                    <div>On 15.04.2015 12:08, Sergey Safarov wrote:<br>
                    </div>
                    <blockquote type="cite">
                      <div dir="ltr">Add strings to dialplan like
                        <div>&lt;action inline="true" application="set"
                          data="GWID=${h323-gw-id}"/&gt;<br>
                        </div>
                        <div>&lt;action inline="true" application="set"
data="TRANSACTIONID=h323-ivr-out=transactionID:1234"/&gt;<br>
                        </div>
                        <div>&lt;action inline="true" application="set"
                          data="CALLEDNUMBER=${destination_number}"/&gt;<br>
                        </div>
                        <div>&lt;action inline="true" application="set"
                          data="CALLINGNUMBER=${caller_id_number}"/&gt;</div>
                        <div><br>
                        </div>
                        <div>You can try comment this attributs in&nbsp;<span style="font-size:12.8000001907349px">rad_auth.conf.xml</span></div>
                        <div><br>
                          <div style="font-size:12.8000001907349px"><br>
                          </div>
                        </div>
                      </div>
                      <div class="gmail_extra"><br>
                        <div class="gmail_quote">On Wed, Apr 15, 2015 at
                          11:26 AM, Густаво Силва <span dir="ltr">&lt;<a href="mailto:gfs@etherway.ru" target="_blank">gfs@etherway.ru</a>&gt;</span>
                          wrote:<br>
                          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                            <div bgcolor="#FFFFFF" text="#000000">
                              Sergey, do you know why I am getting these
                              variables undefined?<br>
                              <br>
                              [ERR] mod_rad_auth.c:178 Undefined channel
                              variable: GWID.<br>
                              [ERR] mod_rad_auth.c:178 Undefined channel
                              variable: TRANSACTIONID.<br>
                              [ERR] mod_rad_auth.c:178 Undefined channel
                              variable: CALLEDNUMBER.<br>
                              [ERR] mod_rad_auth.c:178 Undefined channel
                              variable: CALLINGNUMBER.
                              <div>
                                <div><br>
                                  <br>
                                  <br>
                                  <br>
                                  <div>On 14.04.2015 22:34, Sergey
                                    Safarov wrote:<br>
                                  </div>
                                  <blockquote type="cite">
                                    <div dir="ltr">In provided example
                                      password stored in directory.
                                      <div>Directory can be in
                                        mod_xml_radius (<a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_radius" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_radius</a>)
                                        or other dynamically generated
                                        directory.</div>
                                      <div><br>
                                      </div>
                                    </div>
                                    <div class="gmail_extra"><br>
                                      <div class="gmail_quote">On Tue,
                                        Apr 14, 2015 at 9:56 PM, Gustavo
                                        Silva <span dir="ltr">&lt;<a href="mailto:silvagustavo@yandex.ru" target="_blank">silvagustavo@yandex.ru</a>&gt;</span>
                                        wrote:<br>
                                        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                          <div style="background-color:rgb(255,255,255);line-height:initial">
                                            <div style="width:100%;font-size:initial;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><span style="font-size:initial;line-height:initial;text-align:initial"><font face="Calibri, Slate
                                                  Pro, sans-serif">Hi
                                                  Sergey,</font></span></div>
                                            <div style="width:100%;font-size:initial;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><span style="font-size:initial;line-height:initial;text-align:initial"><font face="Calibri, Slate
                                                  Pro, sans-serif"><br>
                                                </font></span></div>
                                            <div style="width:100%;font-size:initial;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><span style="font-size:initial;line-height:initial;text-align:initial"><font face="Calibri, Slate
                                                  Pro, sans-serif">Tks
                                                  for the help but there
                                                  is a catch in this
                                                  solution. I will be
                                                  still having ‎the
                                                  password and user name
                                                  in freeswitch server.&nbsp;</font></span></div>
                                            <div style="width:100%;font-size:initial;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><span style="font-size:initial;line-height:initial;text-align:initial"><font face="Calibri, Slate
                                                  Pro, sans-serif"><br>
                                                </font></span></div>
                                            <div style="width:100%;font-size:initial;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><span style="font-size:initial;line-height:initial;text-align:initial"><font face="Calibri, Slate
                                                  Pro, sans-serif">I
                                                  would like that the
                                                  radius server handles
                                                  it.&nbsp;</font></span></div>
                                            <div style="width:100%;font-size:initial;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><span style="font-size:initial;line-height:initial;text-align:initial"><font face="Calibri, Slate
                                                  Pro, sans-serif"><br>
                                                </font></span></div>
                                            <div style="width:100%;font-size:initial;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><span style="font-size:initial;line-height:initial;text-align:initial"><font face="Calibri, Slate
                                                  Pro, sans-serif">Is
                                                  there a way with the
                                                  rad_auth module where
                                                  I wouldn't need to set
                                                  up password in diaplan
                                                  file? All the
                                                  authentication should
                                                  be done with the
                                                  radius server.</font></span></div>
                                            <div style="width:100%;font-size:initial;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><span style="font-size:initial;line-height:initial;text-align:initial"><font face="Calibri, Slate
                                                  Pro, sans-serif"><br>
                                                </font></span></div>
                                            <div style="width:100%;font-size:initial;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><span style="font-size:initial;line-height:initial;text-align:initial"><font face="Calibri, Slate
                                                  Pro, sans-serif">I say
                                                  that because, for
                                                  example: I have 200
                                                  users, with diferentes
                                                  passwords configured
                                                  in the radius server.
                                                  So, by this solution
                                                  with rad_auth module,
                                                  I should also have 200
                                                  different password in
                                                  the diaplan
                                                  configuration, right?</font></span></div>
                                            <div style="width:100%;font-size:initial;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><span style="font-size:initial;line-height:initial;text-align:initial"><font face="Calibri, Slate
                                                  Pro, sans-serif"><br>
                                                </font></span></div>
                                            <div style="width:100%;font-size:initial;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><span style="font-size:initial;line-height:initial;text-align:initial"><font face="Calibri, Slate
                                                  Pro, sans-serif">Regards,&nbsp;</font></span></div>
                                            <div style="width:100%;font-size:initial;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><span style="font-size:initial;line-height:initial;text-align:initial"><font face="Calibri, Slate
                                                  Pro, sans-serif">Gustavo

                                                </font></span></div>
                                            <span>
                                              <div><br>
                                              </div>
                                              <div>Sent&nbsp;from&nbsp;my&nbsp;BlackBerry&nbsp;10&nbsp;smartphone.</div>
                                            </span>
                                            <table style="background-color:white;border-spacing:0px" width="100%">
                                              <tbody>
                                                <tr>
                                                  <td colspan="2" style="font-size:initial;text-align:initial;background-color:rgb(255,255,255)">
                                                    <div>
                                                      <div><b>From: </b>Sergey
                                                        Safarov</div>
                                                      <div><b>Sent: </b>вторник,
                                                        14 апреля
                                                        2015&nbsp;г., 21:16</div>
                                                      <div>
                                                        <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>
                                                      </div>
                                                    </div>
                                                  </td>
                                                </tr>
                                              </tbody>
                                            </table>
                                            <div>
                                              <div><br>
                                                <div>
                                                  <div dir="ltr">This
                                                    can help you
                                                    <div><br>
                                                    </div>
                                                    <div>
                                                      <div>[root@fs1
                                                        autoload_configs]#
                                                        cat
                                                        rad_auth.conf.xml</div>
                                                      <div>&lt;configuration

                                                        name="rad_auth.conf"

                                                        description="radius

                                                        authentification
                                                        module"&gt;</div>
                                                      <div>&nbsp;&lt;settings&gt;</div>
                                                      <div>&nbsp; &nbsp; &lt;!--
                                                        backward
                                                        compatibility to
                                                        allow
                                                        radiusclient
                                                        config file
                                                        instead of an
                                                        embedded config
                                                        --&gt;</div>
                                                      <div>&nbsp; &nbsp; &lt;!--
                                                        &nbsp;&lt;param
                                                        name="radius_config"
                                                        value="/usr/local/etc/radiusclient/radiusclient.conf"/&gt;

                                                        &nbsp; --&gt;</div>
                                                      <div>&nbsp;&lt;/settings&gt;</div>
                                                      <div><br>
                                                      </div>
                                                      <div>&nbsp;&lt;client&gt;</div>
                                                      <div>&nbsp; &nbsp;&lt;param
                                                        name="authserver"

value="10.40.0.5:1814:x7h6t4g"/&gt;</div>
                                                      <div>&nbsp; &nbsp;&lt;param
                                                        name="dictionary"

value="/etc/radiusclient/dictionary.all"/&gt;</div>
                                                      <div>&nbsp; &nbsp;&lt;param
                                                        name="seqfile"
                                                        value="/var/run/radius.seq"/&gt;</div>
                                                      <div>&nbsp; &nbsp;&lt;param
                                                        name="mapfile"
                                                        value="/etc/radiusclient/port-id-map"/&gt;</div>
                                                      <div>&nbsp; &nbsp;&lt;param
                                                        name="default_realm"

                                                        value=""/&gt;</div>
                                                      <div>&nbsp; &nbsp;&lt;param
                                                        name="radius_timeout"

                                                        value="1"/&gt;</div>
                                                      <div>&nbsp; &nbsp;&lt;param
                                                        name="radius_retries"

                                                        value="0"/&gt;</div>
                                                      <div>&nbsp; &nbsp;&lt;param
                                                        name="radius_deadtime"

                                                        value="0"/&gt;</div>
                                                      <div>&nbsp; &nbsp;&lt;param
                                                        name="bindaddr"
                                                        value="*"/&gt;</div>
                                                      <div>&nbsp;&lt;/client&gt;</div>
                                                      <div><br>
                                                      </div>
                                                      <div>&nbsp;&lt;vsas&gt;</div>
                                                      <div>&nbsp; &nbsp;&lt;!--</div>
                                                      <div>&nbsp; &nbsp; &nbsp; &nbsp; name:
                                                        &nbsp; &nbsp; &nbsp; just a
                                                        description</div>
                                                      <div>&nbsp; &nbsp; &nbsp; &nbsp;
                                                        value: &nbsp; &nbsp;
                                                        &nbsp;direct input or
                                                        variable</div>
                                                      <div>&nbsp; &nbsp; &nbsp; &nbsp; pec:
                                                        &nbsp; &nbsp; &nbsp; &nbsp;vendor ID
                                                        (0 for default,
                                                        9 for cisco...)</div>
                                                      <div>&nbsp; &nbsp; &nbsp; &nbsp; expr:
                                                        &nbsp; &nbsp; &nbsp; 0 - direct
                                                        input (string),
                                                        1 - channel
                                                        variable</div>
                                                      <div>&nbsp; &nbsp; &nbsp; &nbsp;
                                                        direction: &nbsp;in
                                                        for
                                                        radius-request,
                                                        out for
                                                        radius-response</div>
                                                      <div>&nbsp; &nbsp;--&gt;</div>
                                                      <div><br>
                                                      </div>
                                                      <div>&nbsp; &nbsp;&lt;!--
                                                        mappings for
                                                        radius request
                                                        message; input
                                                        attributes
                                                        --&gt;</div>
                                                      <div>&nbsp; &nbsp;&lt;param
                                                        name="h323-conf-id"
                                                        id="24"
                                                        value="CALLID"
                                                        pec="9" expr="1"
direction="in"/&gt;</div>
                                                      <div>&nbsp; &nbsp;&lt;param
                                                        name="h323-gw-id"
                                                        id="33"
                                                        value="GWID"
                                                        pec="9" expr="1"
direction="in"/&gt;</div>
                                                      <div>&nbsp; &nbsp;&lt;param
                                                        name="Cisco-AVPair"
                                                        id="1"
                                                        value="TRANSACTIONID"
                                                        pec="9" expr="1"
direction="in"/&gt;<br>
                                                      </div>
                                                      <div>&nbsp; &nbsp;&lt;param
                                                        name="Called-Station-Id"
                                                        id="30"
                                                        value="CALLEDNUMBER"
                                                        pec="0" expr="1"
direction="in"/&gt;</div>
                                                      <div>&nbsp; &nbsp;&lt;param
                                                        name="Calling-Station-Id"

                                                        id="31"
                                                        value="CALLINGNUMBER"
                                                        pec="0" expr="1"
direction="in"/&gt;--&gt;</div>
                                                      <div>&nbsp; &nbsp;&lt;param
                                                        name="NAS-Port-Type"
                                                        id="61"
                                                        value="0"
                                                        pec="0" expr="0"
direction="in"/&gt;</div>
                                                      <div>&nbsp; &nbsp;&lt;param
                                                        name="Login-User"
                                                        id="1" value="1"
                                                        pec="0" expr="0"
                                                        direction="in"/&gt;
                                                        --&gt;<br>
                                                      </div>
                                                      <div><br>
                                                      </div>
                                                      <div>&nbsp; &nbsp;&lt;!--
                                                        mappings for
                                                        radius-response
                                                        message; output
                                                        values from
                                                        returning
                                                        outributes
                                                        --&gt;</div>
                                                      <div>&nbsp; &nbsp;&lt;param
                                                        name="CREDIT_AMOUNT"
                                                        id="101"
                                                        value="credit_amount"
                                                        pec="9" expr="0"
direction="out"/&gt;</div>
                                                      <div>&nbsp; &nbsp;&lt;param
                                                        name="CURRENCY"
                                                        id="110"
                                                        value="currency"
                                                        pec="9" expr="0"
direction="out"/&gt;</div>
                                                      <div>&nbsp; &nbsp;&lt;param
                                                        name="CREDIT_TIME"
                                                        id="102"
                                                        value="h323-credit_time"
                                                        pec="9" expr="0"
direction="out"/&gt;</div>
                                                      <div>&nbsp; &nbsp;&lt;param
                                                        name="PER_MINUTE_PRICE"
                                                        id="251"
                                                        value="Cisco-Servicce-Info"
                                                        pec="9" expr="0"
direction="out"/&gt;</div>
                                                      <div>&nbsp; &nbsp;&lt;param
                                                        name="PREFFERED_LANG"
                                                        id="107"
                                                        value="preffered_lang"
                                                        pec="9" expr="0"
direction="out"/&gt;<br>
                                                      </div>
                                                      <div>&nbsp; &nbsp;&lt;param
                                                        name="H323-IVR-IN:DIRATION"

                                                        id="1"
                                                        value="h323_ivr_duration"
                                                        pec="9" expr="0"
                                                        direction="out"/&gt;
                                                        --&gt;</div>
                                                      <div>&nbsp; &nbsp;&lt;param
                                                        name="RADIUS_RETURN_CODE"

                                                        id="103"
                                                        value="return_code"
                                                        pec="9" expr="0"
direction="out"/&gt;</div>
                                                      <div>&nbsp; &nbsp;&lt;!--
                                                        expr param is to
                                                        be ignored
                                                        here--&gt;</div>
                                                      <div>&nbsp;&lt;/vsas&gt;</div>
                                                      <div>&lt;/configuration&gt;</div>
                                                      <div>[root@fs1
                                                        autoload_configs]#&nbsp;</div>
                                                    </div>
                                                    <div><br>
                                                    </div>
                                                    <div>Dialplan
                                                      fragment</div>
                                                    <div>
                                                      <div>&nbsp; &nbsp; &nbsp;
                                                        &lt;extension
                                                        name="operator-rad-auth"
continue="true"&gt;</div>
                                                      <div>&nbsp; &nbsp; &nbsp; &nbsp;
                                                        &nbsp;&lt;condition
                                                        regex="any"&gt;</div>
                                                      <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                                        &lt;regex
                                                        field="${accountcode}"
expression="^8$"/&gt;</div>
                                                      <div>&nbsp; &nbsp; &nbsp; &nbsp;
                                                        &nbsp;&lt;/condition&gt;</div>
                                                      <div>&nbsp; &nbsp; &nbsp; &nbsp;
                                                        &nbsp;&lt;condition
                                                        field="${destination_number}"
expression="^\+(\d+)$"&gt;</div>
                                                      <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                                        &lt;action
                                                        application="export"
data="h323-gw-id=${accountcode_bleg}"/&gt;</div>
                                                      <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                                        &lt;action
                                                        application="unset"
data="disable_radius_start"/&gt;</div>
                                                      <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                                        &lt;action
                                                        application="unset"
data="disable_radius_stop"/&gt;</div>
                                                      <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                                        &lt;action
                                                        inline="true"
                                                        application="set"
data="CALLID=h323-conf-id=${uuid}"/&gt;</div>
                                                      <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                                        &lt;action
                                                        inline="true"
                                                        application="set"
data="GWID=${accountcode_bleg}"/&gt;</div>
                                                      <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                                        &lt;action
                                                        inline="true"
                                                        application="set"
                                                        data="USERNAME=<a href="mailto:login@operator.ru" target="_blank">login@operator.ru</a>"/&gt;</div>
                                                      <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                                        &lt;action
                                                        inline="true"
                                                        application="set"
data="PASSWD=xxxxxxxx"/&gt;</div>
                                                      <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                                        &lt;action
                                                        inline="true"
                                                        application="set"
data="DIALED_NUMBER=$1"/&gt;</div>
                                                      <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                                        &lt;action
                                                        application="auth_function"
                                                        data="in
                                                        ${DIALED_NUMBER},
                                                        in ${USERNAME},
                                                        in ${PASSWD},
                                                        out
                                                        AUTH_RESULT"/&gt;</div>
                                                      <div>&nbsp; &nbsp; &nbsp; &nbsp;
                                                        &nbsp;&lt;/condition&gt;</div>
                                                      <div>&nbsp; &nbsp; &nbsp;
                                                        &lt;/extension&gt;</div>
                                                    </div>
                                                    <div><br>
                                                    </div>
                                                    <div>Log fragment</div>
                                                    <div>
                                                      <div>Dialplan:
                                                        sofia/mr24/<a href="mailto:0000079639652834@gateways.rcsnet.ru" target="_blank">0000079639652834@gateways.rcsnet.ru</a>
                                                        parsing
                                                        [mr24.gateways.rcsnet.ru-&gt;operator-rad-auth]
                                                        continue=true</div>
                                                      <div>Dialplan:
                                                        sofia/mr24/<a href="mailto:0000079639652834@gateways.rcsnet.ru" target="_blank">0000079639652834@gateways.rcsnet.ru</a>
                                                        Regex (PASS)
                                                        [operator-rad-auth]
                                                        ${accountcode}(8)
                                                        =~ /^8$/
                                                        match=any</div>
                                                      <div>Dialplan:
                                                        sofia/mr24/<a href="mailto:0000079639652834@gateways.rcsnet.ru" target="_blank">0000079639652834@gateways.rcsnet.ru</a>
                                                        Regex (PASS)
                                                        [operator-rad-auth]
                                                        ${destination_number}(+749593377xx)

                                                        =~ /^\+(\d+)$/
                                                        break=on-false</div>
                                                      <div>Dialplan:
                                                        sofia/mr24/<a href="mailto:0000079639652834@gateways.rcsnet.ru" target="_blank">0000079639652834@gateways.rcsnet.ru</a>
                                                        Action
                                                        export(h323-gw-id=${accountcode_bleg})</div>
                                                      <div>Dialplan:
                                                        sofia/mr24/<a href="mailto:0000079639652834@gateways.rcsnet.ru" target="_blank">0000079639652834@gateways.rcsnet.ru</a>
                                                        Action
                                                        unset(disable_radius_start)</div>
                                                      <div>Dialplan:
                                                        sofia/mr24/<a href="mailto:0000079639652834@gateways.rcsnet.ru" target="_blank">0000079639652834@gateways.rcsnet.ru</a>
                                                        Action
                                                        unset(disable_radius_stop)</div>
                                                      <div>Dialplan:
                                                        sofia/mr24/<a href="mailto:0000079639652834@gateways.rcsnet.ru" target="_blank">0000079639652834@gateways.rcsnet.ru</a>
                                                        Action
                                                        set(CALLID=h323-conf-id=${uuid})
                                                        INLINE</div>
                                                      <div>EXECUTE
                                                        sofia/mr24/<a href="mailto:0000079639652834@gateways.rcsnet.ru" target="_blank">0000079639652834@gateways.rcsnet.ru</a>
set(CALLID=h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d)</div>
                                                      <div>2015-04-14
                                                        14:15:43.446357
                                                        [DEBUG]
                                                        mod_dptools.c:1435
                                                        sofia/mr24/<a href="mailto:00000796396528xx@gateways.operator.ru" target="_blank">00000796396528xx@gateways.operator.ru</a>
                                                        SET
                                                        [CALLID]=[h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d]</div>
                                                      <div>Dialplan:
                                                        sofia/mr24/<a href="mailto:0000079639652834@gateways.rcsnet.ru" target="_blank">0000079639652834@gateways.rcsnet.ru</a>
                                                        Action
                                                        set(GWID=${accountcode_bleg})
                                                        INLINE</div>
                                                      <div>EXECUTE
                                                        sofia/mr24/<a href="mailto:0000079639652834@gateways.rcsnet.ru" target="_blank">0000079639652834@gateways.rcsnet.ru</a>
                                                        set(GWID=1460)</div>
                                                      <div>2015-04-14
                                                        14:15:43.446357
                                                        [DEBUG]
                                                        mod_dptools.c:1435
                                                        sofia/mr24/<a href="mailto:00000796396528xx@gateways.rcsnet.ru" target="_blank">00000796396528xx@gateways.rcsnet.ru</a>
                                                        SET
                                                        [GWID]=[1460]</div>
                                                      <div>Dialplan:
                                                        sofia/mr24/<a href="mailto:0000079639652834@gateways.rcsnet.ru" target="_blank">0000079639652834@gateways.rcsnet.ru</a>
                                                        Action
                                                        set(USERNAME=<a href="mailto:login@operator.ru" target="_blank">login@operator.ru</a>)
                                                        INLINE</div>
                                                      <div>EXECUTE
                                                        sofia/mr24/<a href="mailto:0000079639652834@gateways.rcsnet.ru" target="_blank">0000079639652834@gateways.rcsnet.ru</a>
                                                        set(USERNAME=<a href="mailto:login@operator.ru" target="_blank">login@operator.ru</a>)</div>
                                                      <div>2015-04-14
                                                        14:15:43.446357
                                                        [DEBUG]
                                                        mod_dptools.c:1435
                                                        sofia/mr24/<a href="mailto:0000079639652834@gateways.rcsnet.ru" target="_blank">0000079639652834@gateways.rcsnet.ru</a>
                                                        SET [USERNAME]=[<a href="mailto:login@operator.ru" target="_blank">login@operator.ru</a>]</div>
                                                      <div>Dialplan:
                                                        sofia/mr24/<a href="mailto:0000079639652834@gateways.rcsnet.ru" target="_blank">0000079639652834@gateways.rcsnet.ru</a>
                                                        Action
                                                        set(PASSWD=xxxxxxxx)
                                                        INLINE</div>
                                                      <div>EXECUTE
                                                        sofia/mr24/<a href="mailto:0000079639652834@gateways.rcsnet.ru" target="_blank">0000079639652834@gateways.rcsnet.ru</a>
set(PASSWD=xxxxxxxx)</div>
                                                      <div>2015-04-14
                                                        14:15:43.446357
                                                        [DEBUG]
                                                        mod_dptools.c:1435
                                                        sofia/mr24/<a href="mailto:00000796396528xx@gateways.operator.ru" target="_blank">00000796396528xx@gateways.operator.ru</a>
                                                        SET
                                                        [PASSWD]=[xxxxxxxxxxx]</div>
                                                      <div>Dialplan:
                                                        sofia/mr24/<a href="mailto:0000079639652834@gateways.rcsnet.ru" target="_blank">0000079639652834@gateways.rcsnet.ru</a>
                                                        Action
                                                        set(DIALED_NUMBER=749593377xx)
                                                        INLINE</div>
                                                      <div>EXECUTE
                                                        sofia/mr24/<a href="mailto:0000079639652834@gateways.rcsnet.ru" target="_blank">0000079639652834@gateways.rcsnet.ru</a>
set(DIALED_NUMBER=749593377xx)</div>
                                                      <div>2015-04-14
                                                        14:15:43.446357
                                                        [DEBUG]
                                                        mod_dptools.c:1435
                                                        sofia/mr24/<a href="mailto:00000796396528xx@gateways.rcsnet.ru" target="_blank">00000796396528xx@gateways.rcsnet.ru</a>
                                                        SET
                                                        [DIALED_NUMBER]=[749593377xx]</div>
                                                      <div>sofia/mr24/<a href="mailto:0000079639652834@gateways.rcsnet.ru" target="_blank">0000079639652834@gateways.rcsnet.ru</a> Action
                                                        auth_function(in
                                                        ${DIALED_NUMBER},
                                                        in ${USERNAME},
                                                        in ${PASSWD},
                                                        out AUTH_RESULT)</div>
                                                      <div>..........</div>
                                                    </div>
                                                    <div><br>
                                                    </div>
                                                    <div>
                                                      <div>bd091212-e2b0-11e4-98e2-d102deb9a97d


                                                        EXECUTE
                                                        sofia/mr24/<a href="mailto:00000796396528xx@gateways.operator.ru" target="_blank">00000796396528xx@gateways.operator.ru</a>
                                                        auth_function(in
                                                        74959337786, in
                                                        <a href="mailto:login@operator.ru" target="_blank">login@operator.ru</a>,
                                                        in xxxxxxxxxxxx,
                                                        out AUTH_RESULT)</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:301
                                                        allocate initial
                                                        structure.</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:313
                                                        initialzed
                                                        configuration.</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:318
                                                        set authserver
                                                        :=
                                                        10.40.0.5:1814:xxxxxxxx.</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:318
                                                        set dictionary
                                                        :=
                                                        /etc/radiusclient/dictionary.all.</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:318
                                                        set seqfile :=
                                                        /var/run/radius.seq.</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:318
                                                        set mapfile :=
                                                        /etc/radiusclient/port-id-map.</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:318
                                                        set
                                                        default_realm :=
                                                        .</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:318
                                                        set
                                                        radius_timeout
                                                        := 1.</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:318
                                                        set
                                                        radius_retries
                                                        := 0.</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:318
                                                        set
                                                        radius_deadtime
                                                        := 0.</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:318
                                                        set bindaddr :=
                                                        *.</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:371
                                                        ... radius:
                                                        User-Name: <a href="mailto:login@operator.ru" target="_blank">login@operator.ru</a></div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:380
                                                        ... radius:
                                                        User-Password:
                                                        xxxxxxxxxxxxxxxxxx</div>
                                                      <div>DEBUG]
                                                        mod_rad_auth.c:396
                                                        ... radius:
                                                        Called-station-Id:
                                                        74959337786</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:413
                                                        Handle
                                                        attribute:
                                                        h323-conf-id</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:439
                                                        ... dictionary
                                                        data: id:24,
                                                        vendor id:9,
                                                        attr type:0,
                                                        attr
                                                        name:h323-conf-id
                                                        (589848)</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:444
                                                        ... radius:
                                                        key:h323-conf-id,
                                                        value:CALLID
                                                        (h323-conf-id=bd091212-e2b0-11e4-98e2-d102deb9a97d)
                                                        as string</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:413
                                                        Handle
                                                        attribute:
                                                        h323-gw-id</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:439
                                                        ... dictionary
                                                        data: id:33,
                                                        vendor id:9,
                                                        attr type:0,
                                                        attr
                                                        name:h323-gw-id
                                                        (589857)</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:444
                                                        ... radius:
                                                        key:h323-gw-id,
                                                        value:GWID
                                                        (1460) as string</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:413
                                                        Handle
                                                        attribute:
                                                        NAS-Port-Type</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:439
                                                        ... dictionary
                                                        data: id:61,
                                                        vendor id:0,
                                                        attr type:1,
                                                        attr
                                                        name:NAS-Port-Type
                                                        (61)</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:456
                                                        ... radius:
                                                        key:NAS-Port-Type,
                                                        value:0 (0) as
                                                        integer</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:491
                                                        sending radius
                                                        packet ...</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:497
                                                        RADIUS
                                                        Authentication
                                                        OK</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:519
                                                        Handle
                                                        attribute:
                                                        CREDIT_AMOUNT</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:522
                                                        &nbsp; attribute
                                                        (CREDIT_AMOUNT)
                                                        found in radius
                                                        packet</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:523
                                                        &nbsp; set variable
                                                        credit_amount :=
h323-credit-amount=-600913.47</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:519
                                                        Handle
                                                        attribute:
                                                        CURRENCY</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:522
                                                        &nbsp; attribute
                                                        (CURRENCY) found
                                                        in radius packet</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:523
                                                        &nbsp; set variable
                                                        currency :=
                                                        h323-currency=RUR</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:519
                                                        Handle
                                                        attribute:
                                                        CREDIT_TIME</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:522
                                                        &nbsp; attribute
                                                        (CREDIT_TIME)
                                                        found in radius
                                                        packet</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:523
                                                        &nbsp; set variable
                                                        h323-credit_time
                                                        :=
                                                        h323-credit-time=86400</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:519
                                                        Handle
                                                        attribute:
                                                        PER_MINUTE_PRICE</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:522
                                                        &nbsp; attribute
                                                        (PER_MINUTE_PRICE)
                                                        found in radius
                                                        packet</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:523
                                                        &nbsp; set variable
                                                        Cisco-Servicce-Info
                                                        := 0.000000</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:519
                                                        Handle
                                                        attribute:
                                                        RADIUS_RETURN_CODE</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:522
                                                        &nbsp; attribute
                                                        (RADIUS_RETURN_CODE)
                                                        found in radius
                                                        packet</div>
                                                      <div>[DEBUG]
                                                        mod_rad_auth.c:523
                                                        &nbsp; set variable
                                                        return_code :=
                                                        h323-return-code=0</div>
                                                    </div>
                                                    <div><br>
                                                    </div>
                                                    <div><br>
                                                    </div>
                                                    <div><br>
                                                    </div>
                                                    <div><br>
                                                    </div>
                                                  </div>
                                                  <div class="gmail_extra"><br>
                                                    <div class="gmail_quote">On
                                                      Tue, Apr 14, 2015
                                                      at 5:28 PM,
                                                      Gustavo Silva <span dir="ltr">&lt;<a href="mailto:silvagustavo@yandex.ru" target="_blank">silvagustavo@yandex.ru</a>&gt;</span>
                                                      wrote:<br>
                                                      <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                                        <div style="background-color:rgb(255,255,255);line-height:initial">
                                                          <div><br>
                                                          </div>
                                                          <div>First it
                                                          says that the
                                                          the login is
                                                          OK and after
                                                          it says that
                                                          the login is
                                                          incorrect.&nbsp;</div>
                                                          <div><br>
                                                          </div>
                                                          <div><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>Sent&nbsp;from&nbsp;my&nbsp;BlackBerry&nbsp;10&nbsp;smartphone.</div>
                                                          <div style="font-size:initial;text-align:initial;background-color:rgb(255,255,255)">
                                                          <table style="background-color:white;border-spacing:0px" width="100%">
                                                          <tbody>
                                                          <tr>
                                                          <td><br>
                                                          </td>
                                                          <td rowspan="2" style="text-align:center;font-size:initial;background-color:rgb(255,255,255)">
                                                          <span>&nbsp;
                                                          Original
                                                          Message &nbsp;</span>
                                                          </td>
                                                          </tr>
                                                          <tr>
                                                          <td colspan="2"> <br>
                                                          </td>
                                                          </tr>
                                                          </tbody>
                                                          </table>
                                                          </div>
                                                          <table style="background-color:white;border-spacing:0px" width="100%">
                                                          <tbody>
                                                          <tr>
                                                          <td colspan="2" style="font-size:initial;text-align:initial;background-color:rgb(255,255,255)">
                                                          <div>
                                                          <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>
                                                          <div><br>
                                                          <div>
                                                          <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" target="_blank">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" target="_blank">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>
                                                          <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>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                        </div>
                                                        <br>
_________________________________________________________________________<br>
                                                        Professional
                                                        FreeSWITCH
                                                        Consulting
                                                        Services:<br>
                                                        <a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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>
                                                  </div>
                                                  <br>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                          <br>
_________________________________________________________________________<br>
                                          Professional FreeSWITCH
                                          Consulting Services:<br>
                                          <a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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>
                                    </div>
                                    <br>
                                    <fieldset></fieldset>
                                    <br>
                                    <pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></pre>
                                  </blockquote>
                                  <br>
                                </div>
                              </div>
                            </div>
                            <br>
_________________________________________________________________________<br>
                            Professional FreeSWITCH Consulting Services:<br>
                            <a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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>
                      </div>
                      <br>
                      <fieldset></fieldset>
                      <br>
                      <pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></pre>
                    </blockquote>
                    <br>
                  </div>
                </div>
              </div>
              <br>
_________________________________________________________________________<br>
              Professional FreeSWITCH Consulting Services:<br>
              <a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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>
            <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>
        </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></pre>
    </blockquote>
    <br>
  </div>

<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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></div>
</blockquote></div>
<br></div></div>

<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></div>
<br><!--end of _originalContent --></div></body></html>