Bhrugu,<div><br></div><div>Did you ever figure this out? Most likely you need to take a step back and look at the big picture. In FreeSWITCH you don't normally need to have a bunch of if-then type structures. What is the problem you are trying to solve? Chances are there is a much more elegant solution than trying to emulate these crude GotoIf statements.</div>
<div><br></div><div>-MC</div><div><br></div><div><div class="gmail_quote">On Thu, Nov 24, 2011 at 4:57 AM, Bhrugu Mehta <span dir="ltr"><<a href="mailto:bhrugumehta@gmail.com">bhrugumehta@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">hi, all<br>
<br>
asterisk setup:<br>
exten => _X.,1,GotoIf($[${status1}=on]?n1:n2)<br>
exten => _X.,n(n1),GotoIf($[${status2}=off]?n3:n4)<br>
exten => _X.,(n2),GotoIf($[${status3}=X]?n5:n6)<br>
...<br>
...<br>
<br>
How do i implement in Freeswitch...<br>
<br>
Regards,<span class="HOEnZb"><font color="#888888"><br clear="all"><br>-- <br>Bhrugu Mehta <br>Sr. S/W Engineer<br>VOIP,Telephony Team (Asterisk, Opensips, Zaptel etc.)<br>India<br><br>
</font></span><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>