Bhrugu, 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. -MC On Thu, Nov 24, 2011 at 4:57 AM, Bhrugu Mehta <bhrugumehta@gmail.com> wrote:
hi, all
asterisk setup: exten => _X.,1,GotoIf($[${status1}=on]?n1:n2) exten => _X.,n(n1),GotoIf($[${status2}=off]?n3:n4) exten => _X.,(n2),GotoIf($[${status3}=X]?n5:n6) ... ...
How do i implement in Freeswitch...
Regards,
-- Bhrugu Mehta Sr. S/W Engineer VOIP,Telephony Team (Asterisk, Opensips, Zaptel etc.) India
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org