On Sat, Oct 4, 2008 at 5:21 AM, henkoegema <pabx_freeswitch@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@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@arnaldopereira.com
http://www.arnaldopereira.com