Since you&#39;ve changed the language (sound directory) So just as a test change the language back to &quot;en&quot; and if it goes well revert back language after the recording.<div><br><br><div class="gmail_quote">On Wed, Oct 5, 2011 at 12:20 PM, Arjan Kroon | Mobillion <span dir="ltr">&lt;<a href="mailto:Arjan.Kroon@mobillion.nl">Arjan.Kroon@mobillion.nl</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="NL" link="blue" vlink="purple"><div><p class="MsoNormal"><span lang="EN-US">CLI::<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-US">-- Executing [s@ serviceline:93] Record(&quot;CAPI/ISDN1#02/318647615-37&quot;, &quot;/var/lib/asterisk/sounds/recordings/serviceline/1317737932.67.wav,0,60&quot;) in new stack <u></u><u></u></span></p>
<div class="im"><p class="MsoNormal"><span lang="EN-US">[Oct  4 16:19:38] WARNING[13370]: file.c:644 ast_openstream_full: File beep does not exist in any format <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">[Oct  4 16:19:38] WARNING[13370]: file.c:950 ast_streamfile: Unable to open beep (format 0x8 (alaw)): No such file or directory <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[Oct  4 16:19:38] WARNING[13370]: app_record.c:281 record_exec: ast_streamfile failed on CAPI/ISDN1#02/318647615-37<br><br><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">In de Conf file I use the following command:<u></u><u></u></span></p></div><p class="MsoNormal"><span lang="EN-US">exten =&gt; s,n,Set(A_serviceline_file=/var/lib/asterisk/sounds/recordings/serviceline/${UNIQUEID) <u></u><u></u></span></p>
<div class="im"><p class="MsoNormal"><span lang="EN-US">exten =&gt; s,n,Record(${A_serviceline_file}.wav,0,60)<br><br></span><span lang="EN-US" style="font-size:11.0pt"><u></u><u></u></span></p></div><p class="MsoNormal">
<span lang="EN-US" style="font-size:11.0pt">I don’t call the beep file in my dialplan.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal">
<span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span style="font-size:10.0pt">Van:</span></b><span style="font-size:10.0pt"> <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>Namens </b>Sammy Govind<br>
<b>Verzonden:</b> 05-10-2011 09:04</span></p><div><div></div><div class="h5"><br><b>Aan:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br><b>Onderwerp:</b> Re: [asterisk-users] Beep file with Record<u></u><u></u></div>
</div><p></p></div><div><div></div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">How are you calling the beep.alaw from the dialplan?<u></u><u></u></p><div><div><p class="MsoNormal">paste the relevant dialplan here and corresponding CLI logs.<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">On Wed, Oct 5, 2011 at 11:58 AM, Arjan Kroon | Mobillion &lt;<a href="mailto:Arjan.Kroon@mobillion.nl" target="_blank">Arjan.Kroon@mobillion.nl</a>&gt; wrote:<u></u><u></u></p>
<p class="MsoNormal">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.<u></u><u></u></p><div><p class="MsoNormal"><br>-----Oorspronkelijk bericht-----<br>Van: <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>] Namens Danny Nicholas<u></u><u></u></p>
</div><p class="MsoNormal">Verzonden: 04-10-2011 17:16<u></u><u></u></p><div><div><p class="MsoNormal">Aan: &#39;Asterisk Users Mailing List - Non-Commercial Discussion&#39;<br>Onderwerp: Re: [asterisk-users] Beep file with Record<br>
<br>I see two &quot;problems&quot; here.  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.  problem 2 is possibly just in my head as I am still avoiding Asterisk 1.8 like the plague;  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" 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>] 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" 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>] 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" target="_blank">Arjan.Kroon@mobillion.nl</a>&gt; wrote:<br>
&gt; This is my complete CLI logging<br>&gt;<br>&gt; -- Executing [s@ serviceline:93] Record(&quot;CAPI/ISDN1#02/318647615-37&quot;,<br>&gt; &quot;/var/lib/asterisk/sounds/recordings/serviceline/1317737932.67.wav,0,6<br>&gt; 0&quot;) in new stack [Oct  4 16:19:38] WARNING[13370]: file.c:644<br>
&gt; ast_openstream_full: File beep does not exist in any format [Oct  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  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" target="_blank">asterisk-users-bounces@lists.digium.com</a><br>
&gt; [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] Namens Danny Nicholas<br>&gt; Verzonden: 04-10-2011 16:30<br>&gt; Aan: &#39;Asterisk Users Mailing List - Non-Commercial Discussion&#39;<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" target="_blank">asterisk-users-bounces@lists.digium.com</a><br>
&gt; [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">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" target="_blank">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&#39;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;        /var/lib/asterisk/sounds/beep.gsm<br>&gt;        /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.  Are you using the language prefix?<br>
<br>--<br>~ Andrew &quot;lathama&quot; Latham <a href="mailto:lathama@gmail.com" target="_blank">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>              <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>
--<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>
              <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>
<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>
              <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>
<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><u></u><u></u></p>
</div></div></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></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></div>