I’m calling GET DATA from my Perl AGI Script - it plays the audio file, but does not return the DTMF code entered by the user. No matter what key I press, it always times out. Even pressing # seems to have no effect.
Any pointers as to why it is happening? Rest of the AGI script works fine.
Here’s my code
my $filename = "welcome.sln"; #Audio File my $timeout = 6000; my $maxdigits = 1; print "GET DATA $filename $timeout $maxdigits \n"; my $result = <STDIN>; WriteLog($result); #Function which writes the $result to a log file
Output (irrespective of the key press) : 200 (timeout)