Show us how you're doing the playback, If you're doing session:execute('playback', 'blah.wav'); The input callback won't function you have to use session:streamFile instead./b_________________________________________________________________________
On Tue, Jun 27, 2017 at 1:10 PM, Muhammad Naseer Bhatti <nbhatti@gmail.com> wrote:
I am running an IVR which collects DTMF input while the file is being played, written in Lua. I set InputCallback and then listen for DTMF events. If event found, take actions etc.session:setInputCallback("eventHandler") playbackMessage (playback_delay)Facing a strange issues with Verizon where they send a quick RTP Event write after starting the audio, which triggers the DTMF event and bad things happen in my script. This only happens within first 1 to 2 seconds of RTP. How can I have my InputCallback listen for events only after a few seconds while still playing the audio? or do I have to switch to playAndGetDigits() ?--
Sent with Airmail
____________________________________________________________ _____________
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
--
Brian West
brian@freeswitch.orgTwitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.comBook a phone call (CST)
Allison prompts for FreeSWITCH:
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
Skype:briankwest
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