Or use the dialplan apps that already exist for that purpose, and will automatically choose whether to send it inband or out-of-band:
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_queue_dtmf
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_send_dtmf
For example:
<action application="queue_dtmf" data="WWWWW1234"/>
<action application="bridge" data="sofia/gateway/gw1/555"/>
This would dial 555 on gw1, and when answered wait 5s then dial 1234. W is a 1 second delay, so WWWWW is a 5 second delay.
-Steve
Frankie,Since the receiving end is looking to detect DTMF you might look into calling a script to generate tones for the extensions in question.http://wiki.freeswitch.org/wiki/TGML
On Tue, Jun 7, 2011 at 12:24 PM, Frankie Yiu <frankie.k.yiu@gmail.com> wrote:
_______________________________________________Hi there,
I have a question regarding having FreeSwitch dials an extension number after the call is connected.
Here is the condition:
Freeswitch would get a call information from database and make an outbound call. Once it is connected, and if there is an extension that we want to reach at that number, we would wait 5 second and dial that extension number. Right now I am using C# code and I don't see any API would allow me to dial an extension.
Could someone please help me?
Thanks,
Frankie
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
_______________________________________________
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