<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Tony Mountifield wrote:
<blockquote cite="midekn2da$tl8$1@softins.clara.co.uk" type="cite">
  <pre wrap="">In article &lt;001c01c71464$f07ce2f0$631010ac@eitnb440101&gt;,
Chris Blunt <a class="moz-txt-link-rfc2396E" href="mailto:chris.blunt@entropy-it.com">&lt;chris.blunt@entropy-it.com&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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
  </pre>
</blockquote>
<font size="-1"><font face="Verdana">And also, you need to run Answer
before Playback. This can be done in the AGI script, or dialplan before
execution of AGI.<br>
<br>
Ove</font></font><br>
</body>
</html>