On Mon, Mar 29, 2010 at 5:26 PM, Bradley Brashier <bjbrashier@gmail.com>wrote:
I need to add the ability to record a call to an existing infrastructure, and I'm intending to use FreeSwitch to do this. The recording needs to happen upon a DTMF command, which I understand is normally done via bind_meta_app. From what I can tell, bind_meta_app requires that you use the * key in addition to some other key. Unfortunately, the system is already doing something else with *, so that's not a key I can use to get this to work.
My question, then: what is the best way to record a call using DTMFs that do not include *?
Use tone_detect and pick the frequencies for the key you prefer to use. More info: http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_tone_detect DTMF frequencies are listed here: http://en.wikipedia.org/wiki/Dual-tone_multi-frequency_signaling#Keypad
- Should I have Freeswitch forward an appropriate DTMF to a controlling application that starts recording?
- Should I try to modify the bind_meta_app code to use another digit instead (say, #)? If so, where is the right place to look for this?
As a separate, but related question, I also need to play a disclaimer when the recording starts ("This call is now being recorded."). Is it OK to use bind_meta_app to bind 2 apps to the same DTMF combo?
This part is easy: just have the destination app be "execute_extension" like in the Local_Extension bind_meta_app examples. -MC