[Freeswitch-users] GotoIf
Brian West
brian at freeswitch.org
Fri Oct 3 01:19:34 PDT 2008
Hope this helps.
<extension name="ext1">
<condition field="destination_number" expression="^32484120169$">
<action application="transfer" data="1000 XML default"/>
</condition>
</extension>
<extension name="ext2">
<condition field="destination_number" expression="^4732803429$">
<action application="transfer" data="terje XML default"/>
</condition>
</extension>
<extension name="ext3">
<condition field="destination_number" expression="^32476378561$">
<action application="transfer" data="henk_gsm_disa XML default"/>
</condition>
</extension>
/b
On Oct 3, 2008, at 2:18 AM, henkoegema wrote:
>
> How do I do this in FS ? :
> exten => s,n,GotoIf($[${CALLERID(num)}=32484120169]?default,1000,1)
> exten => s,n,GotoIf($[${CALLERID(num)}=4732803429]?default,terje,1)
> exten => s,n,GotoIf($[${CALLERID(num)}=32476378561]?henk_gsm_disa,s,1)
>
>
> The Asterisk to Freeswitch Rosetta stone says:
> GotoIf Conditions in dialplan (<condition field="blah"
> expression="foo">
> but I can't figure out the right syntax.
>
> Henk
> --
> View this message in context: http://www.nabble.com/GotoIf-tp19793170p19793170.html
> Sent from the Freeswitch-users mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
More information about the FreeSWITCH-users
mailing list