<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
i think you can try placing the beef file in the /var/lib/asterisk/sounds&nbsp; directory and not the language specific one. <br>and your system is calling the beep file without having it in the dialplan? sounds strange somehow to me.<br><br><br><br>Tarek Sawah<br><br>Information Technology &nbsp;Adviser<br><br>Integrated Digital Systems<br><br>CCNP, MCSE, RHCE, TELECOM<br><br>USA: +1 386 492 9993<br><br><br><br><div><hr id="stopSpelling">From: Arjan.Kroon@mobillion.nl<br>To: asterisk-users@lists.digium.com<br>Date: Wed, 5 Oct 2011 09:20:32 +0200<br>Subject: Re: [asterisk-users] Beep file with Record<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML"><style>
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass span.ecxE-mailStijl17
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass .ecxMsoChpDefault
{;}
@page WordSection1
{size:612.0pt 792.0pt;}
.ExternalClass div.ecxWordSection1
{page:WordSection1;}

</style><div class="ecxWordSection1"><p class="ecxMsoNormal"><span lang="EN-US">CLI::</span></p><p class="ecxMsoNormal"><span lang="EN-US">-- Executing [s@ serviceline:93] Record("CAPI/ISDN1#02/318647615-37", "/var/lib/asterisk/sounds/recordings/serviceline/1317737932.67.wav,0,60") in new stack </span></p><p class="ecxMsoNormal"><span lang="EN-US">[Oct &nbsp;4 16:19:38] WARNING[13370]: file.c:644 ast_openstream_full: File beep does not exist in any format </span></p><p class="ecxMsoNormal"><span lang="EN-US">[Oct &nbsp;4 16:19:38] WARNING[13370]: file.c:950 ast_streamfile: Unable to open beep (format 0x8 (alaw)): No such file or directory </span></p><p class="ecxMsoNormal"><span lang="EN-US">[Oct &nbsp;4 16:19:38] WARNING[13370]: app_record.c:281 record_exec: ast_streamfile failed on CAPI/ISDN1#02/318647615-37<br><br></span></p><p class="ecxMsoNormal"><span lang="EN-US">&nbsp;</span></p><p class="ecxMsoNormal"><span lang="EN-US">In de Conf file I use the following command:</span></p><p class="ecxMsoNormal"><span lang="EN-US">exten =&gt; s,n,Set(A_serviceline_file=/var/lib/asterisk/sounds/recordings/serviceline/${UNIQUEID) </span></p><p class="ecxMsoNormal"><span lang="EN-US">exten =&gt; s,n,Record(${A_serviceline_file}.wav,0,60)<br><br></span><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;;" lang="EN-US"></span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;;" lang="EN-US">I don’t call the beep file in my dialplan.</span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);" lang="EN-US">&nbsp;</span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);" lang="EN-US">&nbsp;</span></p><div style="border-right: medium none; border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0cm 0cm;"><p class="ecxMsoNormal"><b><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">Van:</span></b><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;"> asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] <b>Namens </b>Sammy Govind<br><b>Verzonden:</b> 05-10-2011 09:04<br><b>Aan:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br><b>Onderwerp:</b> Re: [asterisk-users] Beep file with Record</span></p></div><p class="ecxMsoNormal">&nbsp;</p><p class="ecxMsoNormal">How are you calling the beep.alaw from the dialplan?</p><div><div><p class="ecxMsoNormal">paste the relevant dialplan here and corresponding CLI logs.</p></div><div><p class="ecxMsoNormal">&nbsp;</p></div><div><p class="ecxMsoNormal">On Wed, Oct 5, 2011 at 11:58 AM, Arjan Kroon | Mobillion &lt;<a href="mailto:Arjan.Kroon@mobillion.nl">Arjan.Kroon@mobillion.nl</a>&gt; wrote:</p><p class="ecxMsoNormal">I placed a beep.alaw file in de directory, but I get the same result.<br><br>Also I try to set the language just with two characters.<br>(exten =&gt; s,n,Set(CHANNEL(language)=nl))<br>And in the directory /var/lib/asterisk/sounds/nl/ I placed the voicefile beep.alaw.<br>But with this also I get also the same result.</p><div><p class="ecxMsoNormal"><br>-----Oorspronkelijk bericht-----<br>Van: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] Namens Danny Nicholas</p></div><p class="ecxMsoNormal">Verzonden: 04-10-2011 17:16</p><div><div><p class="ecxMsoNormal">Aan: 'Asterisk Users Mailing List - Non-Commercial Discussion'<br>Onderwerp: Re: [asterisk-users] Beep file with Record<br><br>I see two "problems" here. &nbsp;Problem 1 is that you are using the alaw codec, so it seems to me that you need this file to exist - /var/lib/asterisk/sounds/nl/fvdb/beep.alaw. &nbsp;problem 2 is possibly just in my head as I am still avoiding Asterisk 1.8 like the plague; &nbsp;AFAIK (or this is just a 1.4 thing?) Set(CHANNEL(language)=xx) xx should just be 2 characters, not xx/yyyy (nl/fvdb) (feel free to correct my assumption that language has not been expanded beyond the 2 character limitation)?<br><br><br>-----Original Message-----<br>From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Arjan Kroon | Mobillion<br>Sent: Tuesday, October 04, 2011 9:43 AM<br>To: Asterisk Users Mailing List - Non-Commercial Discussion<br>Subject: Re: [asterisk-users] Beep file with Record<br><br>Yes,<br><br>In the code I use set the language<br>exten =&gt; s,n,Set(CHANNEL(language)=nl/fvdb)<br><br>So therefore I try also to place the file in the directory /var/lib/asterisk/sounds/nl/fvdb/<br><br><br>-----Oorspronkelijk bericht-----<br>Van: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] Namens Andrew Latham<br>Verzonden: 04-10-2011 16:41<br>Aan: Asterisk Users Mailing List - Non-Commercial Discussion<br>Onderwerp: Re: [asterisk-users] Beep file with Record<br><br>On Tue, Oct 4, 2011 at 11:37 AM, Arjan Kroon | Mobillion &lt;<a href="mailto:Arjan.Kroon@mobillion.nl">Arjan.Kroon@mobillion.nl</a>&gt; wrote:<br>&gt; This is my complete CLI logging<br>&gt;<br>&gt; -- Executing [s@ serviceline:93] Record("CAPI/ISDN1#02/318647615-37",<br>&gt; "/var/lib/asterisk/sounds/recordings/serviceline/1317737932.67.wav,0,6<br>&gt; 0") in new stack [Oct &nbsp;4 16:19:38] WARNING[13370]: file.c:644<br>&gt; ast_openstream_full: File beep does not exist in any format [Oct &nbsp;4<br>&gt; 16:19:38] WARNING[13370]: file.c:950 ast_streamfile: Unable to open<br>&gt; beep (format 0x8 (alaw)): No such file or directory [Oct &nbsp;4 16:19:38]<br>&gt; WARNING[13370]: app_record.c:281 record_exec: ast_streamfile failed on<br>&gt; CAPI/ISDN1#02/318647615-37<br>&gt;<br>&gt; In de Conf file I use the following command:<br>&gt; exten =&gt;<br>&gt; s,n,Set(A_serviceline_file=/var/lib/asterisk/sounds/recordings/service<br>&gt; line/${UNIQUEID) exten =&gt; s,n,Record(${A_serviceline_file}.wav,0,60)<br>&gt;<br>&gt;<br>&gt; -----Oorspronkelijk bericht-----<br>&gt; Van: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a><br>&gt; [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] Namens Danny Nicholas<br>&gt; Verzonden: 04-10-2011 16:30<br>&gt; Aan: 'Asterisk Users Mailing List - Non-Commercial Discussion'<br>&gt; Onderwerp: Re: [asterisk-users] Beep file with Record<br>&gt;<br>&gt; Usually this message is received because you did something like<br>&gt; playback(beep.gsm) or playback(beep.wav) instead of playback(beep).<br>&gt; It is<br>&gt; (IMO) somewhat confusing because you have to do record(foo.gsm) but<br>&gt; you have to playback using playback(foo).<br>&gt;<br>&gt; -----Original Message-----<br>&gt; From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a><br>&gt; [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Arjan<br>&gt; Kroon | Mobillion<br>&gt; Sent: Tuesday, October 04, 2011 9:21 AM<br>&gt; To: <a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>&gt; Subject: [asterisk-users] Beep file with Record<br>&gt;<br>&gt; Hi,<br>&gt;<br>&gt; I'm using the functionality Record in asterisk 1.8.5.<br>&gt; But when I want to record something I get the following error message:<br>&gt; file.c:644 ast_openstream_full: File beep does not exist in any format<br>&gt;<br>&gt; Could anybody tell me where I have to place the beep.gsm file?<br>&gt; I already tried the following directories:<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp;/var/lib/asterisk/sounds/beep.gsm<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp;/var/lib/asterisk/sounds/recordings/beep.gsm<br>&gt;<br>&gt; Regards,<br>&gt;<br>&gt; Arjan Kroon<br><br>Beep is called from<br><a href="http://svn.asterisk.org/svn/asterisk/trunk/apps/app_record.c" target="_blank">http://svn.asterisk.org/svn/asterisk/trunk/apps/app_record.c</a> and it looks fine a first glance. &nbsp;Are you using the language prefix?<br><br>--<br>~ Andrew "lathama" Latham <a href="mailto:lathama@gmail.com">lathama@gmail.com</a> <a href="http://lathama.net" target="_blank">http://lathama.net</a> ~<br><br>--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> -- New to Asterisk? Join us for a live introductory webinar every Thurs:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <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>&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> -- New to Asterisk? Join us for a live introductory webinar every Thurs:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <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>&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><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>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <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>&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><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>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <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>&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></p></div></div></div><p class="ecxMsoNormal">&nbsp;</p></div></div><br>--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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