Tony Mountifield wrote:
In article <[EMAIL PROTECTED]>,
Chris Blunt <[EMAIL PROTECTED]> wrote:
  
Sorry to re-post this but I'm sure it's something simple that someone has
found before.

To summarise:

Dial plan answers the phone

AGI script executes

AGI debug in console show phonetics ABC - However no audio at all on the
phone and this step is less than 1 second.

Dial plan Busy

Phone hangs up.
    

Perhaps Asterisk is playing the phonetics in the background (like Background
instead of like Playback)?

Try putting a Wait(5) after the AGI (or even a sleep(5) within it), to see.

General question for anyone that knows: Is there a way in the Dialplan or
or in AGI to wait for Background messages to finish playing? Perhaps doing
a Playback of a file containing a very short length of silence?

Cheers
Tony
  
And also, you need to run Answer before Playback. This can be done in the AGI script, or dialplan before execution of AGI.

Ove

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to