<div dir="ltr"><div class="gmail_extra">Perhaps you need expand - - <a href="http://wiki.freeswitch.org/wiki/Mod_commands#expand">http://wiki.freeswitch.org/wiki/Mod_commands#expand</a></div><div class="gmail_extra"><br></div>

<div class="gmail_extra"><p style="margin:0.4em 0px 0.5em;line-height:1.5em">Example:</p><pre style="font-family:monospace,Courier;padding:1em;border:1px dashed rgb(47,111,171);color:black;background-color:rgb(249,249,249);line-height:1.3em">

 expand originate sofia/internal/1001%${domain} 9999
</pre><p style="margin:0.4em 0px 0.5em;line-height:1.5em">In this example the value of ${domain} is expanded. If the domain were, for example, &quot;192.168.1.1&quot; then this command would be executed:</p><pre style="font-family:monospace,Courier;padding:1em;border:1px dashed rgb(47,111,171);color:black;background-color:rgb(249,249,249);line-height:1.3em">

 originate sofia/internal/1001%192.168.1.1 9999
</pre><h3 style="color:black;background-image:none;margin:0px 0px 0.3em;overflow:hidden;padding-top:0.5em;padding-bottom:0.17em;border-bottom-style:none;font-size:17px"><span class="" style="float:right;font-size:13px;font-weight:normal;margin-left:5px;font-family:sans-serif;line-height:19.1875px">[<a href="http://wiki.freeswitch.org/index.php?title=Fsctl&amp;action=edit&amp;section=T-1" title="Fsctl" style="text-decoration:none;color:rgb(11,0,128);background-image:none">edit</a>]</span><span class="" id="fsctl" style="font-family:sans-serif;font-size:17px;line-height:19.1875px"></span></h3>

</div><div class="gmail_extra" style>-Avi</div></div>