Do you have a debug level message from switch_ivr_originate.c in your log? "Channel is already up, delaying proxy mode 'till both legs are answered." Set bypass_media b4 each bridge. It is unsetting on you and setting bypass_media_after_bridge because you already answered the channel running the lua script. On October 30, 2009 12:03:29 pm DJB wrote:
I am wondering why I cannot do as condition#2.
For Lua in dialplan, when I have the followings:
--WORKING-- (Condition#1) . . session:execute("set","bypass_media=true") session:execute("set","hangup_after_bridge=true") session:execute("set","continue_on_fail=true") . . session:execute("bridge","sofia/external/" .. called_num .. "@1.1.1.1|sofia/external/" .. called_num .. "@1.1.1.2") . .
--NOT WORKING-- (Condition#2) Note: FS tries to be in media path and send re-invite. . . session:execute("set","bypass_media=true") session:execute("set","hangup_after_bridge=true") session:execute("set","continue_on_fail=true") . . session:execute("bridge","sofia/external/" .. called_num .. "@1.1.1.1") session:execute("bridge","sofia/external/" .. called_num .. "@1.1.1.2") . .
Thank you, Dorn B.
_______________________________________________ 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