playback to legB before bridge?
Hi all! Is it possible to execute playback application to legB before bridge? I mean sequence of actions similar to this: 1. originate legB 2. playback 3. bridge legA with legB using existing session from step 1 (no new incoming call)
Hi Max, Read the wiki, you'll find your answer ( here's a tip: http://wiki.freeswitch.org/wiki/Channel_Variables ) Have fun :) Gled Max Ivanov a écrit :
Hi all! Is it possible to execute playback application to legB before bridge? I mean sequence of actions similar to this:
1. originate legB 2. playback 3. bridge legA with legB using existing session from step 1 (no new incoming call)
_______________________________________________ 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
http://wiki.freeswitch.org/wiki/Channel_Variables#group_confirm_file Look this variable. I'd like know if exist similar variable for a-leg for use in the dialplan. A call a number A lissen a announce A digit one or more DTMF The A channel is bridge with the B channel Thank you in advance. BR
<action application="playback" data="file_here" /> <action application="bridge" data="dial string for b chan" /> or if you're talking about another B channel (I don't quite understand what you're trying to do here) <action application="playback" data="file_here" /> <action application="intercept" data="<uuid here>" /> Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca On 19-Aug-09, at 10:22 AM, bakko wrote:
http://wiki.freeswitch.org/wiki/Channel_Variables#group_confirm_file
Look this variable.
I'd like know if exist similar variable for a-leg for use in the dialplan.
A call a number A lissen a announce A digit one or more DTMF The A channel is bridge with the B channel
Thank you in advance.
BR
_______________________________________________ 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
before to bridge the call the a-leg (the caller) have to lissen a announce and then have to digit one or more dtmf. If the dtmf are rights then bridge the caller with the callee, if not hangup the call. I hope now my question is more clear :) Sorry for my english. BR
Oh, You can use embedded languages (like Lua or Javascript) to take control of the call and playback files / get dtmf digits, make another call, etc. Check on the wiki for samples. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca On 19-Aug-09, at 10:48 AM, bakko wrote:
before to bridge the call the a-leg (the caller) have to lissen a announce and then have to digit one or more dtmf. If the dtmf are rights then bridge the caller with the callee, if not hangup the call. I hope now my question is more clear :) Sorry for my english. BR
_______________________________________________ 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
you can export nolocal the execute_on_answer var to do this. Set it to playback the file. Mike On Aug 19, 2009, at 5:31 AM, Max Ivanov wrote:
Hi all! Is it possible to execute playback application to legB before bridge? I mean sequence of actions similar to this:
1. originate legB 2. playback 3. bridge legA with legB using existing session from step 1 (no new incoming call)
_______________________________________________ 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
participants (5)
-
bakko
-
Mathieu Rene
-
Max Ivanov
-
Michael Jerris
-
Tristan Mahé