<html>
  <head>
    <meta content="text/html; charset=KOI8-R" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font color="black" face="Courier New" size="2"><span
        style="font-size: 10pt; font-family: &quot;Courier New&quot;;
        color: black;" lang="EN-US">After I read a
        <a class="moz-txt-link-freetext" href="http://wiki.freeswitch.com/wiki/Sofia.conf.xml#Variables">http://wiki.freeswitch.com/wiki/Sofia.conf.xml#Variables</a><br>
        <br>
        I configured FS<br>
        <br>
        [root@freeswitch1 external]# more
        /usr/local/freeswitch/conf/sip_profiles/external/SMG-1016M.xml<br>
        &lt;/include&gt;<br>
        š &lt;gateway name="SMG-1016M"&gt;<br>
        ššš &lt;param name="realm" value="10.10.10.1"/&gt;<br>
        ššš &lt;param name="register" value="false"/&gt;<br>
        ššš &lt;param name="caller-id-in-from" value="true"/&gt;<br>
        ššš &lt;param name="ping" value="25"/&gt;<br>
        ššš &lt;variables&gt;<br>
        ššššššš &lt;variable name="</span></font><font color="black"
      face="Courier New" size="2"><span style="font-size: 10pt;
        font-family: &quot;Courier New&quot;; color: black;"
        lang="EN-US">SMG-1016M_</span></font><font color="black"
      face="Courier New" size="2"><span style="font-size: 10pt;
        font-family: &quot;Courier New&quot;; color: black;"
        lang="EN-US">inbound_var_name"š data="this_is_inbound_call"š
        direction="inbound"/&gt;<br>
        ššššššš &lt;variable name="</span></font><font color="black"
      face="Courier New" size="2"><span style="font-size: 10pt;
        font-family: &quot;Courier New&quot;; color: black;"
        lang="EN-US">SMG-1016M_</span></font><font color="black"
      face="Courier New" size="2"><span style="font-size: 10pt;
        font-family: &quot;Courier New&quot;; color: black;"
        lang="EN-US">outbound_var_name" data="this_is_outbound_call"
        direction="outbound"/&gt;<br>
        ššššššš &lt;variable name="</span></font><font color="black"
      face="Courier New" size="2"><span style="font-size: 10pt;
        font-family: &quot;Courier New&quot;; color: black;"
        lang="EN-US">SMG-1016M_</span></font><font color="black"
      face="Courier New" size="2"><span style="font-size: 10pt;
        font-family: &quot;Courier New&quot;; color: black;"
        lang="EN-US">both_var_name"šššš
        data="this_on_any_direction_call"/&gt;<br>
        šššš &lt;/variables&gt;<br>
        š &lt;/gateway&gt;<br>
        &lt;/include&gt;<br>
        [root@freeswitch1 external]#<br>
        <br>
        I insert the info application into public context of </span></font><font
      color="black" face="Courier New" size="2"><span style="font-size:
        10pt; font-family: &quot;Courier New&quot;; color: black;"
        lang="EN-US">dialplan</span></font><font color="black"
      face="Courier New" size="2"><span style="font-size: 10pt;
        font-family: &quot;Courier New&quot;; color: black;"
        lang="EN-US"> before a transfer application? make call but don't
        see variables
(SMG-1016M_inbound_var_name,SMG-1016M_outbound_var_name,SMG-1016M_both_var_name)<br>
        in fs_cli.<br>
      </span></font><font color="black" face="Courier New" size="2"><span
        style="font-size: 10pt; font-family: &quot;Courier New&quot;;
        color: black;" lang="EN-US"><br>
        I want to see variable = </span></font><font color="black"
      face="Courier New" size="2"><span style="font-size: 10pt;
        font-family: &quot;Courier New&quot;; color: black;"
        lang="EN-US">&lt;gateway name="SMG-1016M"&gt;</span></font> <font
      color="black" face="Courier New" size="2"><span style="font-size:
        10pt; font-family: &quot;Courier New&quot;; color: black;"
        lang="EN-US">into dialplan for each gateway in (single) external
        sip profile. How it to make?<br>
        <br>
      </span></font><font color="black" face="Courier New" size="2"><span
        style="font-size:10.0pt;
        font-family:&quot;Courier New&quot;;color:black" lang="EN-US">Vladislav
        Grishin</span></font><o:p></o:p>
    <div link="blue" vlink="purple">
      <div>
      </div>
    </div>
    <o:p></o:p><font color="black"><font size="2"><font face="Courier
          New"><br>
          <br>
        </font></font></font>
  </body>
</html>