<!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">
    But does not :) application info shows me both variables are set :(<br>
    <br>
    <blockquote cite="mid:9D36D2B5-CE4F-45F1-9B12-3B0056E2FD7D@ipeva.fr"
      type="cite">Yes.
      <div>It should :)</div>
      <div><br>
        <div>
          <span class="Apple-style-span" style="border-collapse:
            separate; color: rgb(0, 0, 0); font-family: Helvetica;
            font-size: 14px; font-style: normal; font-variant: normal;
            font-weight: normal; letter-spacing: normal; line-height:
            normal; orphans: 2; text-indent: 0px; text-transform: none;
            white-space: normal; widows: 2; word-spacing: 0px;"><span
              class="Apple-style-span" style="border-collapse: separate;
              color: rgb(0, 0, 0); font-family: Helvetica; font-size:
              14px; font-style: normal; font-variant: normal;
              font-weight: normal; letter-spacing: normal; line-height:
              normal; orphans: 2; text-indent: 0px; text-transform:
              none; white-space: normal; widows: 2; word-spacing: 0px;">
              <div style="word-wrap: break-word;">
                <div><font class="Apple-style-span" face="'Helvetica
                    Neue'"><font class="Apple-style-span"
                      color="#1c00ff">David Ponzone  </font><font
                      class="Apple-style-span" color="#000000" size="3"><span
                        class="Apple-style-span" style="font-size:
                        12px;">Direction Technique</span></font></font></div>
                <div><font class="Apple-style-span" face="'Helvetica
                    Neue'"><font class="Apple-style-span" size="3"><span
                        class="Apple-style-span" style="font-size:
                        13px;">email: <a moz-do-not-send="true"
                          href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</a></span></font></font></div>
                <div><font class="Apple-style-span" face="'Helvetica
                    Neue'"><font class="Apple-style-span" size="3"><span
                        class="Apple-style-span" style="font-size:
                        13px;">tel:      01 74 03 18 97</span></font></font></div>
                <div><font class="Apple-style-span" face="'Helvetica
                    Neue'"><font class="Apple-style-span" size="3"><span
                        class="Apple-style-span" style="font-size:
                        13px;">gsm:   06 66 98 76 34</span></font></font></div>
                <div><font class="Apple-style-span" face="'Helvetica
                    Neue'"><br>
                  </font></div>
                <div><font class="Apple-style-span" color="#1c00ff"
                    face="'Helvetica Neue'">Service Client<span
                      class="Apple-converted-space"> </span></font><font
                    class="Apple-style-span" face="'Helvetica Neue'"><font
                      class="Apple-style-span" color="#ff0000">IP</font></font><font
                    class="Apple-style-span" color="#1c00ff"
                    face="'Helvetica Neue'">eva</font></div>
                <div><font class="Apple-style-span" color="#1c00ff"
                    face="'Helvetica Neue'"><span
                      class="Apple-style-span" style="color: rgb(0, 0,
                      0); font-family: Helvetica;">
                      <div><font class="Apple-style-span"
                          face="'Helvetica Neue'"><font
                            class="Apple-style-span" size="3"><span
                              class="Apple-style-span" style="font-size:
                              13px;">tel:      0811 46 26 26</span></font></font></div>
                      <div><font class="Apple-style-span"
                          face="'Helvetica Neue'" size="3"><span
                            class="Apple-style-span" style="font-size:
                            13px;">
                            <div style="margin: 0px; font: 10px Arial;
                              color: rgb(0, 34, 243);"><span
                                style="text-decoration: underline;"><a
                                  moz-do-not-send="true"
                                  href="BLOCKED::http://www.ipeva.fr/">www.ipeva.fr</a></span><span
                                style="color: rgb(101, 104, 149);">  - 
                                 <span style="color: rgb(0, 34, 243);
                                  text-decoration: underline;"><a
                                    moz-do-not-send="true"
                                    href="BLOCKED::http://www.ipeva-studio.com/">www.ipeva-studio.com</a></span></span></div>
                            <div style="margin: 0px; font: 10px Arial;
                              color: rgb(0, 34, 243);"><span
                                class="Apple-style-span"
                                style="text-decoration: underline;"><br>
                              </span></div>
                            <div style="margin: 0px; font: 10px Arial;
                              color: rgb(0, 34, 243);"><span
                                class="Apple-style-span">
                                <div style="margin: 0px; text-align:
                                  justify; font: 10px Arial; color:
                                  rgb(192, 192, 192);"><i>Ce message et
                                    toutes les pièces jointes sont
                                    confidentiels et établis à
                                    l'intention exclusive de ses
                                    destinataires. Toute utilisation ou
                                    diffusion non autorisée est
                                    interdite. Tout message électronique
                                    est susceptible d'altération. </i><b><i>IPeva</i></b><i> décline
                                    toute responsabilité au titre de ce
                                    message s'il a été altéré, déformé
                                    ou falsifié. Si vous n'êtes pas
                                    destinataire de ce message, merci de
                                    le détruire immédiatement et
                                    d'avertir l'expéditeur.</i></div>
                                <div style="text-decoration: underline;
                                  text-align: justify;"><font
                                    class="Apple-style-span"
                                    color="#c0c0c0"><i><br>
                                    </i></font></div>
                              </span></div>
                          </span></font></div>
                    </span></font></div>
              </div>
            </span><br class="Apple-interchange-newline">
          </span><br class="Apple-interchange-newline">
        </div>
        <br>
        <div>
          <div>Le 22/04/2011 à 10:19, Boris Kovalenko a écrit :</div>
          <br class="Apple-interchange-newline">
          <blockquote type="cite">
            <div text="#000000" bgcolor="#ffffff"> Hello!<br>
              <br>
                  Yes, so, with my configuration, when I do a call only
              the variable test1 should be set? Isn't?<br>
              <br>
              <blockquote
                cite="mid:2961A5A6-C60E-498B-899E-19B5BC24535F@ipeva.fr"
                type="cite">Boris,
                <div><br>
                </div>
                <div>you don't set direction, it is set automatically.</div>
                <div>If you call from the user you was talking about,
                  the A-leg (from the user to FS) will be inbound, and
                  the B-leg (from FS to the callee party) will be
                  outbound.</div>
                <div>If you call the user, it's the other way around, of
                  course.</div>
                <div><br>
                  <div> <span class="Apple-style-span"
                      style="border-collapse: separate; font-family:
                      Helvetica; font-size: 14px; font-style: normal;
                      font-variant: normal; font-weight: normal;
                      letter-spacing: normal; line-height: normal;
                      orphans: 2; text-indent: 0px; text-transform:
                      none; white-space: normal; widows: 2;
                      word-spacing: 0px;"><span class="Apple-style-span"
                        style="border-collapse: separate; font-family:
                        Helvetica; font-size: 14px; font-style: normal;
                        font-variant: normal; font-weight: normal;
                        letter-spacing: normal; line-height: normal;
                        orphans: 2; text-indent: 0px; text-transform:
                        none; white-space: normal; widows: 2;
                        word-spacing: 0px;">
                        <div style="word-wrap: break-word;">
                          <div><font class="Apple-style-span"
                              face="'Helvetica Neue'"><font
                                class="Apple-style-span" color="#1c00ff">David
                                Ponzone  </font><font
                                class="Apple-style-span" size="3"><span
                                  class="Apple-style-span"
                                  style="font-size: 12px;">Direction
                                  Technique</span></font></font></div>
                          <div><font class="Apple-style-span"
                              face="'Helvetica Neue'"><font
                                class="Apple-style-span" size="3"><span
                                  class="Apple-style-span"
                                  style="font-size: 13px;">email: <a
                                    moz-do-not-send="true"
                                    href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</a></span></font></font></div>
                          <div><font class="Apple-style-span"
                              face="'Helvetica Neue'"><font
                                class="Apple-style-span" size="3"><span
                                  class="Apple-style-span"
                                  style="font-size: 13px;">tel:      01
                                  74 03 18 97</span></font></font></div>
                          <div><font class="Apple-style-span"
                              face="'Helvetica Neue'"><font
                                class="Apple-style-span" size="3"><span
                                  class="Apple-style-span"
                                  style="font-size: 13px;">gsm:   06 66
                                  98 76 34</span></font></font></div>
                          <div><font class="Apple-style-span"
                              face="'Helvetica Neue'"><br>
                            </font></div>
                          <div><font class="Apple-style-span"
                              color="#1c00ff" face="'Helvetica Neue'">Service
                              Client<span class="Apple-converted-space"> </span></font><font
                              class="Apple-style-span" face="'Helvetica
                              Neue'"><font class="Apple-style-span"
                                color="#ff0000">IP</font></font><font
                              class="Apple-style-span" color="#1c00ff"
                              face="'Helvetica Neue'">eva</font></div>
                          <div><font class="Apple-style-span"
                              color="#1c00ff" face="'Helvetica Neue'"><span
                                class="Apple-style-span"
                                style="font-family: Helvetica;">
                                <div><font class="Apple-style-span"
                                    face="'Helvetica Neue'"><font
                                      class="Apple-style-span" size="3"><span
                                        class="Apple-style-span"
                                        style="font-size: 13px;">tel:  
                                           0811 46 26 26</span></font></font></div>
                                <div><font class="Apple-style-span"
                                    face="'Helvetica Neue'" size="3"><span
                                      class="Apple-style-span"
                                      style="font-size: 13px;">
                                      <div style="margin: 0px; font:
                                        10px Arial; color: rgb(0, 34,
                                        243);"><span
                                          style="text-decoration:
                                          underline;"><a
                                            moz-do-not-send="true"
                                            href="BLOCKED::http://www.ipeva.fr/">www.ipeva.fr</a></span><span
                                          style="color: rgb(101, 104,
                                          149);">  -   <span
                                            style="color: rgb(0, 34,
                                            243); text-decoration:
                                            underline;"><a
                                              moz-do-not-send="true"
                                              href="BLOCKED::http://www.ipeva-studio.com/">www.ipeva-studio.com</a></span></span></div>
                                      <div style="margin: 0px; font:
                                        10px Arial; color: rgb(0, 34,
                                        243);"><span
                                          class="Apple-style-span"
                                          style="text-decoration:
                                          underline;"><br>
                                        </span></div>
                                      <div style="margin: 0px; font:
                                        10px Arial; color: rgb(0, 34,
                                        243);"><span
                                          class="Apple-style-span">
                                          <div style="margin: 0px;
                                            text-align: justify; font:
                                            10px Arial; color: rgb(192,
                                            192, 192);"><i>Ce message et
                                              toutes les pièces jointes
                                              sont confidentiels et
                                              établis à l'intention
                                              exclusive de ses
                                              destinataires. Toute
                                              utilisation ou diffusion
                                              non autorisée est
                                              interdite. Tout message
                                              électronique est
                                              susceptible d'altération. </i><b><i>IPeva</i></b><i> décline

                                              toute responsabilité au
                                              titre de ce message s'il a
                                              été altéré, déformé ou
                                              falsifié. Si vous n'êtes
                                              pas destinataire de ce
                                              message, merci de le
                                              détruire immédiatement et
                                              d'avertir l'expéditeur.</i></div>
                                          <div style="text-decoration:
                                            underline; text-align:
                                            justify;"><font
                                              class="Apple-style-span"
                                              color="#c0c0c0"><i><br>
                                              </i></font></div>
                                        </span></div>
                                    </span></font></div>
                              </span></font></div>
                        </div>
                      </span><br class="Apple-interchange-newline">
                    </span><br class="Apple-interchange-newline">
                  </div>
                  <br>
                  <div>
                    <div>Le 22/04/2011 à 08:08, Boris Kovalenko a écrit
                      :</div>
                    <br class="Apple-interchange-newline">
                    <blockquote type="cite">
                      <div 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 moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" 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>
                      </div>
                      _______________________________________________<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"
                        class="moz-txt-link-freetext"
                        href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
                      UNSUBSCRIBE:<a moz-do-not-send="true"
                        class="moz-txt-link-freetext"
                        href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
                      <a moz-do-not-send="true"
                        class="moz-txt-link-freetext"
                        href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br>
                    </blockquote>
                  </div>
                  <br>
                </div>
                <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" 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>
            </div>
            _______________________________________________<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 class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
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><br>
            <a class="moz-txt-link-freetext" href="http://www.freeswitch.org">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>