URGENT : DTMF during bridge
Hi, I need to handle DTMF during bridge in order to hangup the called party on caller request. The DTMF sequence should be ##. Any idea on how to do that?? Thanks. -- View this message in context: http://old.nabble.com/URGENT-%3A-DTMF-during-bridge-tp27107895p27107895.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
On Mon, Jan 11, 2010 at 1:43 AM, Oscav <oscav@hotmail.fr> wrote:
Hi,
I need to handle DTMF during bridge in order to hangup the called party on caller request. The DTMF sequence should be ##. Any idea on how to do that??
I think you need bind_meta_app. Look at the wiki as well as the
Local_Extension example to see how bind_meta_app works. The catch for you, though, is that you can't use ## as your digit sequence, instead you'll need to use *# or ** or something like that. -MC
Is it really necessary to say "URGENT"? I doubt anyone will respond any faster/sooner. Anyway: bind_meta_app will do * + a char to do an action. So *# could be hangup. You could listen to DTMF events over ESL and do whatever action you want. Keep in mind you should have a maximum time duration between the first a second char. That way, if I hit # 1s into the call and then again 5min into the call you don't hangup on me. On Mon, Jan 11, 2010 at 3:43 AM, Oscav <oscav@hotmail.fr> wrote:
Hi,
I need to handle DTMF during bridge in order to hangup the called party on caller request. The DTMF sequence should be ##. Any idea on how to do that??
Thanks. -- View this message in context: http://old.nabble.com/URGENT-%3A-DTMF-during-bridge-tp27107895p27107895.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
-- -Rupa
On Mon, Jan 11, 2010 at 4:47 PM, Rupa Schomaker <rupa@rupa.com> wrote:
Is it really necessary to say "URGENT"? I doubt anyone will respond any faster/sooner.
Anyway:
bind_meta_app will do * + a char to do an action. So *# could be hangup.
You could listen to DTMF events over ESL and do whatever action you want. Keep in mind you should have a maximum time duration between the first a second char. That way, if I hit # 1s into the call and then again 5min into the call you don't hangup on me.
Rupa is wise... :) -MC
participants (3)
-
Michael Collins
-
Oscav
-
Rupa Schomaker