All of the sudden ... after some code had been in production for ages ...
AGI->get_data appeared not to be a working/blocking function. Grabbing at straws
I added a text2wav command just prior to the get_data command needed to get pin-bumber key presses. Somehow the Alert message fixes the subsequent line of code.
I need some ideas as to how to debug or sort out what has really happened. Adding 'Alert' is not a good fix for me.
I'm assuming that something in phpagi or asterisk or the surrounding context changed in order to require a hack like blow.
/ THIS COMMAND MAKES NO SENSE BUT WAS NEED TO FIX THE NEXT COMMAND ! /
$AGI->text2wav('Alert');
$result = $AGI->get_data('please_pin', 3000, 20);
$keys = $result['result'];
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
All of the sudden ... after some code had been in production for ages ...
AGI->get_data appeared not to be a working/blocking function. Grabbing at straws
I added a text2wav command just prior to the get_data command needed to get pin-bumber key presses. Somehow the Alert message fixes the subsequent line of code.
I need some ideas as to how to debug or sort out what has really happened. Adding 'Alert' is not a good fix for me.
I'm assuming that something in phpagi or asterisk or the surrounding context changed in order to require a hack like blow.
/ THIS COMMAND MAKES NO SENSE BUT WAS NEED TO FIX THE NEXT COMMAND ! /
$AGI->text2wav('Alert');
$result = $AGI->get_data('please_pin', 3000, 20);
$keys = $result['result'];