[Freeswitch-users] problem when using playAndGetDigits after bridge is completed where bypass_media is true

Babak Yakhchali babak.freeswitch at gmail.com
Wed Aug 7 18:10:52 MSD 2013


Hi
I'm using this code in a loop:

session:execute("set","bypass_media=true");
session:execute("bridge","${lcr_auto_route}");
if session:getVariable("last_bridge_hangup_cause") == "USER_BUSY" then
session:sayPhrase("voip_destination_busy",gender);
end

tryIn =
session:playAndGetDigits(1,1,3,10000,"#","phrase:voip_try_call_again:"..gender,"phrase:voip_no_input_entered:"..gender,"\\d+",10000);

but after the bridge ends, playAndGetDigists is not able to playback the
phrase and so returns immediately.

thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130807/00a272c5/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list