[Freeswitch-users] GotoIf

Anthony Minessale anthony.minessale at gmail.com
Sat Oct 4 09:20:00 PDT 2008


we also have the cond fsapi
<action application="transfer" data="${cond(${caller_id_number}==1234 ?
${ext1} : ${ext2})}"/>

On Sat, Oct 4, 2008 at 5:45 AM, Arnaldo de Moraes Pereira <
ap at arnaldopereira.com> wrote:

> On Sat, Oct 4, 2008 at 5:21 AM, henkoegema <pabx_freeswitch at telenet.be>wrote:
>
>>
>> I discovered some small errors in previous threads concerning this item.
>> (transfer i.s.o bridge)
>>
>> To conclude:
>>
>> Asterisk:
>> -----------
>> exten => s,n,GotoIf($[${CALLERID(num)}=32476478861]?default,1000,1)
>>
>>
>> FS:
>> ----
>> <extension name="Henk GSM">
>>        <condition field="caller_id_number"  expression="^32476378861$">
>>            <action application="bridge"
>> data="sofia/internal/1000%$${domain}"/>
>>        </condition>
>>     </extension>
>
>
> Remember that this analogy is wrong. Asterisk's dialplan runs a goto when
> the expression is true, while FS' originates a call and bridge the two
> parties.
>
>
>>
>>
>>
>> Henk
>> --
>> View this message in context:
>> http://www.nabble.com/GotoIf-tp19793170p19810038.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
>>
>
>
>
> --
> Arnaldo M Pereira
> ap at arnaldopereira.com
> http://www.arnaldopereira.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
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081004/f9f730e7/attachment-0002.html 


More information about the FreeSWITCH-users mailing list