For users that attribute is unknown and therefore will be ignored, so they&#39;ll both be set.<br><br>-Steve<br><br><br><div class="gmail_quote">On 22 April 2011 09:19, Boris Kovalenko <span dir="ltr">&lt;<a 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;">

  
    
  
  <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&#39;t?<div><div></div><div class="h5"><br>
    <br>
    <blockquote type="cite">Boris,
      <div><br>
      </div>
      <div>you don&#39;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&#39;s the other way around, of course.</div>
      <div><br>
        <div>
          <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; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><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; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
              <div style="word-wrap: break-word;">
                <div><font face="&#39;Helvetica
                    Neue&#39;"><font color="#1c00ff">David Ponzone  </font><font color="#000000" size="3"><span style="font-size: 12px;">Direction Technique</span></font></font></div>
                <div><font face="&#39;Helvetica
                    Neue&#39;"><font size="3"><span style="font-size: 13px;">email: <a href="mailto:david.ponzone@ipeva.fr" target="_blank">david.ponzone@ipeva.fr</a></span></font></font></div>
                <div><font face="&#39;Helvetica
                    Neue&#39;"><font size="3"><span style="font-size: 13px;">tel:      01 74 03 18 97</span></font></font></div>
                <div><font face="&#39;Helvetica
                    Neue&#39;"><font size="3"><span style="font-size: 13px;">gsm:   06 66 98 76 34</span></font></font></div>
                <div><font face="&#39;Helvetica
                    Neue&#39;"><br>
                  </font></div>
                <div><font color="#1c00ff" face="&#39;Helvetica Neue&#39;">Service Client<span> </span></font><font face="&#39;Helvetica Neue&#39;"><font color="#ff0000">IP</font></font><font color="#1c00ff" face="&#39;Helvetica Neue&#39;">eva</font></div>


                <div><font color="#1c00ff" face="&#39;Helvetica Neue&#39;"><span style="color: rgb(0, 0, 0); font-family: Helvetica;">
                      <div><font face="&#39;Helvetica Neue&#39;"><font size="3"><span style="font-size: 13px;">tel:      0811 46 26 26</span></font></font></div>
                      <div><font face="&#39;Helvetica Neue&#39;" size="3"><span style="font-size: 13px;">
                            <div style="margin: 0px; font: 10px Arial; color: rgb(0, 34, 243);"><span style="text-decoration: underline;"><a>www.ipeva.fr</a></span><span style="color: rgb(101, 104, 149);">  - 
                                 <span style="color: rgb(0, 34, 243); text-decoration: underline;"><a>www.ipeva-studio.com</a></span></span></div>
                            <div style="margin: 0px; font: 10px Arial; color: rgb(0, 34, 243);"><span style="text-decoration: underline;"><br>
                              </span></div>
                            <div style="margin: 0px; font: 10px Arial; color: rgb(0, 34, 243);"><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&#39;intention exclusive de ses
                                    destinataires. Toute utilisation ou
                                    diffusion non autorisée est
                                    interdite. Tout message électronique
                                    est susceptible d&#39;altération. </i><b><i>IPeva</i></b><i> décline
                                    toute responsabilité au titre de ce
                                    message s&#39;il a été altéré, déformé
                                    ou falsifié. Si vous n&#39;êtes pas
                                    destinataire de ce message, merci de
                                    le détruire immédiatement et
                                    d&#39;avertir l&#39;expéditeur.</i></div>
                                <div style="text-decoration: underline; text-align: justify;"><font color="#c0c0c0"><i><br>
                                    </i></font></div>
                              </span></div>
                          </span></font></div>
                    </span></font></div>
              </div>
            </span><br>
          </span><br>
        </div>
        <br>
        <div>
          <div>Le 22/04/2011 à 08:08, Boris Kovalenko a écrit :</div>
          <br>
          <blockquote type="cite">
            <div text="#000000" bgcolor="#ffffff"> Hello!<br>
              <br>
                  Yes, but this form of variable is available only to
              gateways? I&#39;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=&quot;73435230024&quot;&gt;<br>
                  &lt;params&gt;<br>
                    &lt;param name=&quot;password&quot; value=&quot;012345&quot;/&gt;<br>
                    &lt;param name=&quot;vm-enabled&quot; value=&quot;false&quot;/&gt;<br>
                    &lt;param name=&quot;vm-password&quot; value=&quot;326699&quot;/&gt;<br>
                  &lt;/params&gt;<br>
                  &lt;variables&gt;<br>
                    &lt;variable name=&quot;toll_allow&quot;
              value=&quot;internal,local,domestic,international&quot;/&gt;<br>
                    &lt;variable name=&quot;v_test1&quot; value=&quot;test1&quot;
              direction=&quot;inbound&quot;/&gt;<br>
                    &lt;variable name=&quot;v_test2&quot; value=&quot;test2&quot;
              direction=&quot;outbound&quot;/&gt;<br>
                    &lt;!-- &lt;variable name=&quot;v_tagnet_context&quot;
              value=&quot;ho&quot;/&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 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 href="mailto:boris@tagnet.ru" target="_blank">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=&quot;...&quot;/&gt;. Is this possible with
                      regular (directory) users too?<br>
                      If not, may somebody explain why?<br>
                      <br>
                      --<br>
                      С уважением,<br>
                        Борис Коваленко<br>
                        ЗАО &quot;Тагнет&quot;<br>
                        тел. +7 (3435) 230001<br>
                        факс +7 (3435) 230005<br>
                      <br>
                      <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>
                <pre><fieldset></fieldset>
_______________________________________________
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>
              <br>
              <pre cols="72">-- 
С уважением,
  Борис Коваленко
  ЗАО &quot;Тагнет&quot;
  тел. +7 (3435) 230001
  факс +7 (3435) 230005
</pre>
            </div>
            _______________________________________________<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>
      <pre><fieldset></fieldset>
_______________________________________________
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>
    <br>
    <pre cols="72">-- 
С уважением,
  Борис Коваленко
  ЗАО &quot;Тагнет&quot;
  тел. +7 (3435) 230001
  факс +7 (3435) 230005
</pre>
  </div></div></div>

<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>
<br></blockquote></div><br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">

</div>