[Freeswitch-users] GotoIf

Arnaldo de Moraes Pereira ap at arnaldopereira.com
Sat Oct 4 03:45:15 PDT 2008


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081004/3be4311b/attachment-0002.html 


More information about the FreeSWITCH-users mailing list