Here’s what I’m attempting to do and I have not found a solution yet (there may not be one) but I’m hoping somebody can work some magic for me:
I have a PBX extension connected to an FXO port on our Asterisk machine. When I receive a call on an FXO port, I’m attempting to Flash the line, send a DTMF tone and detect whether someone answers the call so that I can either Hangup (Transfer call) or return to the context. I have attempted using BackgroundDetect and WaitForNoise/WaitForAnswer but after it sends the DTMF tones, it will detect the ringing as Noise/Audio so none of those work. Is there anyway to detect whether someone answers the line so that I can either drop them back into my context or hangup if they do?