Hi danny,<br><br>Shall we take it as agi bug ?<br><br>Thanks,<br>Ashik<br><br><br><div class="gmail_quote">On Thu, Sep 9, 2010 at 7:10 PM, Danny Nicholas <span dir="ltr">&lt;<a href="mailto:danny@debsinc.com">danny@debsinc.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">










<div link="blue" vlink="blue" lang="EN-US">

<div>

<div>

<div class="MsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

<hr align="center" size="2" width="100%">

</span></font></div>

<p class="MsoNormal"><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>Ashik Ali<br>
<b><span style="font-weight: bold;">Sent:</span></b> Thursday, September 09, 2010
2:06 AM<br>
<b><span style="font-weight: bold;">To:</span></b> Asterisk
 Users Mailing List - Non-Commercial Discussion<br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [asterisk-users] agi
playback to execute say.conf settings</span></font></p>

</div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<p class="MsoNormal" style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><div class="im">hi,<br>
<br>
any response ?<br>
<br>
thanks,<br>
Ashik<br>
</div><font color="navy"><span style="color: navy;">&lt;snip&gt;</span></font></span></font></p>

<p class="MsoNormal" style="margin-bottom: 12pt;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">exec
playback in AGI expects to find a file or set of files in
/var/lib/asterisk/sounds.  Here is the vital snippet from the PERL AGI I
whipped up to test your query</span></font></p>

<p class="MsoNormal" style="margin-bottom: 12pt;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">print
&quot;EXEC PLAYBACK beep \&quot;\&quot;\n&quot;;</span></font></p>

<p class="MsoNormal" style="margin-bottom: 12pt;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">#print
&quot;EXEC PLAYBACK &#39;num:334456,say&#39; \&quot;\&quot;\n&quot;; this line will
fail with</span></font></p>

<p class="MsoNormal" style="margin-bottom: 12pt;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">    --
AGI Script Executing Application: (PLAYBACK) Options: (&#39;num:334456,say&#39;)</span></font></p>

<p class="MsoNormal" style="margin-bottom: 12pt;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">[Sep  9
08:33:16] WARNING[8569]: file.c:664 ast_openstream_full: File &#39;num:334456,say&#39;
does not exist in any format</span></font></p>

<p class="MsoNormal" style="margin-bottom: 12pt;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">[Sep  9
08:33:16] WARNING[8569]: file.c:991 ast_streamfile: Unable to open
&#39;num:334456,say&#39; (format 0x4 (ulaw)): No such file or directory</span></font></p>

<p class="MsoNormal" style="margin-bottom: 12pt;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">[Sep  9
08:33:16] WARNING[8569]: app_playback.c:440 playback_exec: ast_streamfile
failed on SIP/134-0000000a for &#39;num:334456,say&#39;</span></font></p>

<p class="MsoNormal" style="margin-bottom: 12pt;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">print
&quot;SAY NUMBER 334456 \&quot;\&quot;\n&quot;; This does the same thing in AGI
as playback(num:334456,say)</span></font></p>

<p class="MsoNormal" style="margin-bottom: 12pt;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">print
&quot;EXEC PLAYBACK beep \&quot;\&quot;\n&quot;;</span></font></p>

<p class="MsoNormal" style="margin-bottom: 12pt;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">my
$result = &lt;STDIN&gt;;</span></font></p>

</div>

</div>


<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>