code below and debug log now attached. It seems once playback file is played no further dtmf events come through? Any ideas! while @con.connected puts "wait for event" e = @con.recvEvent puts "got event" if (!e.nil?) puts "test event" name = e.getHeader("Event-Name") break if name == "SERVER_DISCONNECTED" if name == "DTMF" digit = e.getHeader("DTMF-DIGIT") duration = e.getHeader("DTMF-DURATION") puts "*** dtmf #{digit} #{duration}" end end end --- On Wed, 1/9/10, Nigel Kent <ktngl@yahoo.co.uk> wrote: From: Nigel Kent <ktngl@yahoo.co.uk> Subject: [Freeswitch-users] Problems getting dtmf events To: freeswitch-users@lists.freeswitch.org Date: Wednesday, 1 September, 2010, 21:15 I am trying to catch dtmf events but am having problems. It seems no dtmfs are being recieved. I can filter to other events and it gets picked up so this section of the code is doing the indented action of getting events. However I notice that during the execution of the playback command while the sound file is playing if a key press is done at this time the dtmf does get received. So my thought are what conditions does the playback command set in order to be able to have dtmf get recognized. -----Inline Attachment Follows----- _______________________________________________ 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