Yes I did, is it possible mod_vmd is interering? It's stopped before I
call the start_dtmf function
session:setHangupHook("myHangupHook", "blah")
session:setInputCallback("onInput");
session:execute("vmd","start");
if (session:ready() == false) then
freeswitch.consoleLog("info", " : Call Failed!!!\n");
end
session:answer();
________________________________
From: [email protected]
[mailto:[email protected]] On Behalf Of
Anthony Minessale
Sent: 07 December 2009 23:21
To: [email protected]
Subject: Re: [Freeswitch-users] Trapping dtmf on bridged call
did you set the inputcallback too?
On Mon, Dec 7, 2009 at 4:59 PM, Nik Middleton
<[email protected]> wrote:
Can this be done in an lua script?
Regards,
________________________________
From: [email protected]
[mailto:[email protected]] On Behalf Of
Michael Collins
Sent: 07 December 2009 22:18
To: [email protected]
Subject: Re: [Freeswitch-users] Trapping dtmf on bridged call
On Mon, Dec 7, 2009 at 2:02 PM, Nik Middleton
<[email protected]> wrote:
Hi
Is it possible to trap on DTMF on a bridged call within an LUA script?
I've tried setting the gateway to use inband, but no joy. It looks like
I could use start_dtmf, but I can't see how to launch this within LUA
Perhaps you could use bind-meta-app to bind a key combo like *1 to
whatever you want to have happen. Check it out:
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bind_meta_app
The Local_Extension in the default.xml dialplan file has a few examples
of using this tool.
-MC
_______________________________________________
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:[email protected]
<mailto:msn%[email protected]>
GTALK/JABBER/PAYPAL:[email protected]
<mailto:paypal%[email protected]>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:[email protected]
<mailto:sip%[email protected]>
iax:[email protected]/888
googletalk:[email protected]
<mailto:googletalk%3aconf%[email protected]>
pstn:213-799-1400
_______________________________________________
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org