I have developed Asterisk DTMF using phpagi . i am having the issue is every DTMF value getting after the audio file played . i need to get the DTMF value during audio file playing time.
My Code is
$result = $agi->get_data(‘beep’,2000,1);
$card_type = $result[‘result’];
Please help me on this