[Freeswitch-users] Freeswitch in signaling path only

DJB djbinter at yahoo.com
Fri Oct 30 09:03:29 PDT 2009


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.


      




More information about the FreeSWITCH-users mailing list