0

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?

MeTe-30
  • 2,512
  • 2
  • 21
  • 30

1 Answers1

0

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.

arheops
  • 15,544
  • 1
  • 21
  • 27