<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Michael,<br>
    <br>
    this I have in my dialplan:<br>
    <small>&nbsp;&lt;action inline="true" application="set"
      data="USERNAME=${dialed_extension}"/&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action inline="true" application="set"
      data="PASSWD=1235"/&gt; <br>
      &nbsp;&nbsp;&nbsp; &lt;!--&nbsp;&nbsp;&nbsp; &lt;action inline="true" application="set"
      data="DIALED_NUMBER=$1"/&gt;&nbsp; --&gt;<br>
      &lt;action application="auth_function" data="in ${DIALED_NUMBER},
      in ${USERNAME}, in ${PASSWD}, out AUTH_RESULT"/</small>&gt;<br>
    <br>
    in user/dir:<br>
    <br>
    user id="013108500"&gt;<br>
    &nbsp;&nbsp;&nbsp; &lt;params&gt;<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="password" value="54166"/&gt;<br>
    <br>
    When user make call we authenticate it with freeradius. I would like
    that, the same password for user login is also for radius
    authentication, but I do not know how to link this with dial plan
    (that the dial plan will parse password from user dir for <small>auth_function.<br>
      <br>
      Thanks!<br>
      <br>
      Regards,<br>
      Miha<br>
    </small><br>
    On 1/5/2012 4:49 PM, Michael Collins wrote:
    <blockquote
cite="mid:CAKzWOxVQjirtuoXCR1wiv+oqV=K=Q2tnqKyfg0Px6=xpPwn7kA@mail.gmail.com"
      type="cite">How is this user being authenticated?
      <div>-MC<br>
        <br>
        <div class="gmail_quote">On Wed, Jan 4, 2012 at 11:19 PM, Miha
          Zoubek <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:miha@softnet.si">miha@softnet.si</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"> Hi,<br>
              <br>
              in dial plan I have this line (for radius):<br>
              <br>
              <small>&lt;action inline="true" application="set"
                data="PASSWD=$${default_password}"/&gt;</small><br>
              <br>
              Deafult password is set to 1234. As I do not wont default
              password for radius, I would just like to have here
              password which is set for user in directory. <br>
              <br>
              <small>&lt;param name="password" value="11122"/&gt;</small><br>
              <br>
              How to set&nbsp; in dialplan that the password will be taken
              from user/dir?<br>
              <br>
              <small>&lt;action inline="true" application="set"
                data="PASSWD=$${</small><small>password</small><small>}"/&gt;</small>
              Like this?<br>
              <br>
              Thanks!<span class="HOEnZb"><font color="#888888"><br>
                  <br>
                  Miha<br>
                  <br>
                  <pre cols="72">-- 
Best regards / Lep Pozdrav
Miha Zoubek
Softnet d.o.o. </pre>
                </font></span></div>
            <br>
_________________________________________________________________________<br>
            Professional FreeSWITCH Consulting Services:<br>
            <a moz-do-not-send="true"
              href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
            <br>
            FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
            <a moz-do-not-send="true" href="http://www.cudatel.com"
              target="_blank">http://www.cudatel.com</a><br>
            <br>
            Official FreeSWITCH Sites<br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              target="_blank">http://www.freeswitch.org</a><br>
            <a moz-do-not-send="true" href="http://wiki.freeswitch.org"
              target="_blank">http://wiki.freeswitch.org</a><br>
            <a moz-do-not-send="true" href="http://www.cluecon.com"
              target="_blank">http://www.cluecon.com</a><br>
            <br>
            FreeSWITCH-users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
              target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
            UNSUBSCRIBE:<a moz-do-not-send="true"
              href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
              target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              target="_blank">http://www.freeswitch.org</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Best regards / Lep Pozdrav
Miha Zoubek
Softnet d.o.o. </pre>
  </body>
</html>