<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hello!<br>
    <br>
        Yes, but this form of variable is available only to gateways?
    I've tried to set direction for user variable too without success.
    Variable is always present. My test enviroment:<br>
    <br>
    &lt;include&gt;<br>
      &lt;user id="73435230024"&gt;<br>
        &lt;params&gt;<br>
          &lt;param name="password" value="012345"/&gt;<br>
          &lt;param name="vm-enabled" value="false"/&gt;<br>
          &lt;param name="vm-password" value="326699"/&gt;<br>
        &lt;/params&gt;<br>
        &lt;variables&gt;<br>
          &lt;variable name="toll_allow"
    value="internal,local,domestic,international"/&gt;<br>
          &lt;variable name="v_test1" value="test1"
    direction="inbound"/&gt;<br>
          &lt;variable name="v_test2" value="test2"
    direction="outbound"/&gt;<br>
          &lt;!-- &lt;variable name="v_tagnet_context"
    value="ho"/&gt;--&gt;<br>
        &lt;/variables&gt;<br>
      &lt;/user&gt;<br>
    &lt;/include&gt;<br>
    <br>
    I do a call from this user to external gateway and see both
    variables are set with application=info.<br>
    <br>
    <blockquote
      cite="mid:BANLkTik3qeuVzmV5Ab5uYrTzZHjKLbvtxg@mail.gmail.com"
      type="cite">The direction variable is set at the time of the call
      based upon whether or not the user is the caller (outbound) or
      callee (inbound).
      <div><br>
      </div>
      <div>-MC<br>
        <br>
        <div class="gmail_quote">On Thu, Apr 21, 2011 at 7:01 PM, Boris
          Kovalenko <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:boris@tagnet.ru">boris@tagnet.ru</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">Hello!<br>
            <br>
                I found that with gateways I may use &lt;variable ....<br>
            direction="..."/&gt;. Is this possible with regular
            (directory) users too?<br>
            If not, may somebody explain why?<br>
            <br>
            --<br>
            С уважением,<br>
              Борис Коваленко<br>
              ЗАО "Тагнет"<br>
              тел. +7 (3435) 230001<br>
              факс +7 (3435) 230005<br>
            <br>
            <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>
          </blockquote>
        </div>
        <br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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">-- 
С уважением,
  Борис Коваленко
  ЗАО "Тагнет"
  тел. +7 (3435) 230001
  факс +7 (3435) 230005
</pre>
  </body>
</html>