I’m trying to make an outbound call using AMD application to recognize Answering Machine, If it’s a machine I will hangup the channel, if it’s not I will Dial another extension (or place the channel in a queue).
The problem is that I need to play a MOH sound while AMD is executing. Starting a MOH sound on the same channel where I’m executing AMD application doesn’t work (MOH sound is processed by AMD).
I was trying to start MOH on the first local channel, and then processing AMD on the callee channel, it works, but I can’t stop the MOH on the first channel after AMD finish.
Anybody can help me?