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 <
[EMAIL PROTECTED]> wrote:

> On Sat, Oct 4, 2008 at 5:21 AM, henkoegema <[EMAIL PROTECTED]>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
>> [email protected]
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
>
> --
> Arnaldo M Pereira
> [EMAIL PROTECTED]
> http://www.arnaldopereira.com
>
> _______________________________________________
> Freeswitch-users mailing list
> [email protected]
> 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:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
GTALK/JABBER/PAYPAL:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
iax:[EMAIL PROTECTED]/888
googletalk:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to