$agi->get_data suddenly stop with result of "D"

146 views Asked by At

In PHPAGI for reading digit from user i'm using $agi->get_data

$rawInput = $agi->get_data($audio, 5000, 1);
$input = $rawInput['result'];

Some users didn't hit any key, but after 2-3 seconds audio playback immediately stops and $rawInput['result'] show "D" as a result!!
Am i doing something wrong? or its Asterisk or PHPAGI bug?

1

There are 1 answers

0
arheops On

D is valid DTMF digit in extended DTMF format. Valid are 0-9,A-F,*,#

You have do debug dtmf and general debug to see what is really happens.