I've been thrust into a position where I need to learn how this works.
There's a PHP script that manages the Asterisk service through AGI. Its not too complex at this point merely answering the phone and playing back audio files depending on button presses. I have however an issue with the button presses in that AGI sends 4 or 5 inputs to the PHP script prior to the actual data input that not only stop the audio playback, but also mess up the selections as the input is actually valid. Code = 200 and result = 1. So there's no way of telling if the input is the user's or just AGi sending it.
Not sure if this is PHP, AGI or even Asterisk, but I really must find a way to either clear these inputs or ignore them.
----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
Web & Tech
There's a PHP script that manages the Asterisk service through AGI. Its not too complex at this point merely answering the phone and playing back audio files depending on button presses. I have however an issue with the button presses in that AGI sends 4 or 5 inputs to the PHP script prior to the actual data input that not only stop the audio playback, but also mess up the selections as the input is actually valid. Code = 200 and result = 1. So there's no way of telling if the input is the user's or just AGi sending it.
Not sure if this is PHP, AGI or even Asterisk, but I really must find a way to either clear these inputs or ignore them.
----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
Web & Tech