It's been a while since I got my hands dirty, but I'm struggling to remember how I can ask FS what the last dtmf digit detected was. I'm pretty certain it can be done, though! Can anyone please remind me? ;-)
Right, I think I know what it was: session:getVariable("read_terminator_used") But it doesn't seem to do what I want, which is to play and get dtmf, looking for ANY single digit (including * or #) and then knowing what was pressed. What's the recommended way to do this (in FS 1.2?) On 24/06/2015 16:54, Alex Lake wrote:
It's been a while since I got my hands dirty, but I'm struggling to remember how I can ask FS what the last dtmf digit detected was. I'm pretty certain it can be done, though!
Can anyone please remind me? ;-)
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.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
To start with, FreeSWITCH 1.2 is many years old, I would actively look at moving to our current release 1.4.19. For what you are looking to do, try out play and get digits function. On Thursday, June 25, 2015, Alex Lake <alex@digitalmail.com> wrote:
Right, I think I know what it was: session:getVariable("read_terminator_used")
But it doesn't seem to do what I want, which is to play and get dtmf, looking for ANY single digit (including * or #) and then knowing what was pressed.
What's the recommended way to do this (in FS 1.2?)
On 24/06/2015 16:54, Alex Lake wrote:
It's been a while since I got my hands dirty, but I'm struggling to remember how I can ask FS what the last dtmf digit detected was. I'm pretty certain it can be done, though!
Can anyone please remind me? ;-)
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <javascript:;> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <javascript:;> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Alex Lake
-
Michael Jerris