<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-mailStijl17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=NL link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US>CLI::<o:p></o:p></span></p><p class=MsoNormal><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 <o:p></o:p></span></p><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 <o:p></o:p></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 <o:p></o:p></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><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>In de Conf file I use the following command:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>exten => s,n,Set(A_serviceline_file=/var/lib/asterisk/sounds/recordings/serviceline/${UNIQUEID) <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>exten => s,n,Record(${A_serviceline_file}.wav,0,60)<br><br></span><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>I don’t call the beep file in my dialplan.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></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;font-family:"Tahoma","sans-serif"'>Van:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> 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<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>How are you calling the beep.alaw from the dialplan?<o:p></o:p></p><div><div><p class=MsoNormal>paste the relevant dialplan here and corresponding CLI logs.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>On Wed, Oct 5, 2011 at 11:58 AM, Arjan Kroon | Mobillion <<a href="mailto:Arjan.Kroon@mobillion.nl">Arjan.Kroon@mobillion.nl</a>> wrote:<o:p></o:p></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 => 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.<o:p></o:p></p><div><p class=MsoNormal><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<o:p></o:p></p></div><p class=MsoNormal>Verzonden: 04-10-2011 17:16<o:p></o:p></p><div><div><p class=MsoNormal>Aan: 'Asterisk Users Mailing List - Non-Commercial Discussion'<br>Onderwerp: Re: [asterisk-users] Beep file with Record<br><br>I see two "problems" 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">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 => 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 <<a href="mailto:Arjan.Kroon@mobillion.nl">Arjan.Kroon@mobillion.nl</a>> wrote:<br>> This is my complete CLI logging<br>><br>> -- Executing [s@ serviceline:93] Record("CAPI/ISDN1#02/318647615-37",<br>> "/var/lib/asterisk/sounds/recordings/serviceline/1317737932.67.wav,0,6<br>> 0") in new stack [Oct 4 16:19:38] WARNING[13370]: file.c:644<br>> ast_openstream_full: File beep does not exist in any format [Oct 4<br>> 16:19:38] WARNING[13370]: file.c:950 ast_streamfile: Unable to open<br>> beep (format 0x8 (alaw)): No such file or directory [Oct 4 16:19:38]<br>> WARNING[13370]: app_record.c:281 record_exec: ast_streamfile failed on<br>> CAPI/ISDN1#02/318647615-37<br>><br>> In de Conf file I use the following command:<br>> exten =><br>> s,n,Set(A_serviceline_file=/var/lib/asterisk/sounds/recordings/service<br>> line/${UNIQUEID) exten => s,n,Record(${A_serviceline_file}.wav,0,60)<br>><br>><br>> -----Oorspronkelijk bericht-----<br>> Van: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a><br>> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] Namens Danny Nicholas<br>> Verzonden: 04-10-2011 16:30<br>> Aan: 'Asterisk Users Mailing List - Non-Commercial Discussion'<br>> Onderwerp: Re: [asterisk-users] Beep file with Record<br>><br>> Usually this message is received because you did something like<br>> playback(beep.gsm) or playback(beep.wav) instead of playback(beep).<br>> It is<br>> (IMO) somewhat confusing because you have to do record(foo.gsm) but<br>> you have to playback using playback(foo).<br>><br>> -----Original Message-----<br>> From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a><br>> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Arjan<br>> Kroon | Mobillion<br>> Sent: Tuesday, October 04, 2011 9:21 AM<br>> To: <a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>> Subject: [asterisk-users] Beep file with Record<br>><br>> Hi,<br>><br>> I'm using the functionality Record in asterisk 1.8.5.<br>> But when I want to record something I get the following error message:<br>> file.c:644 ast_openstream_full: File beep does not exist in any format<br>><br>> Could anybody tell me where I have to place the beep.gsm file?<br>> I already tried the following directories:<br>> /var/lib/asterisk/sounds/beep.gsm<br>> /var/lib/asterisk/sounds/recordings/beep.gsm<br>><br>> Regards,<br>><br>> 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 "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> <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><o:p></o:p></p></div></div></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>