<div>Sorry: </div><div><br></div><b>exten => s,n,Set(CHANNEL(language)=en)</b><br>and <div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; "><span class="Apple-style-span" style="background-color: rgb(255, 255, 255);">exten => s,n,Set(A_serviceline_file=/</span><span class="Apple-style-span" style="background-color: rgb(255, 255, 255);">var/lib/asterisk/sounds/</span><span class="Apple-style-span" style="background-color: rgb(255, 255, 255);">recordings/serviceline/${</span><span class="Apple-style-span" style="background-color: rgb(255, 255, 255);">UNIQUEID<b>}</b></span><span class="Apple-style-span" style="background-color: rgb(255, 255, 255);">)</span></span><br>
<div>NOT<div><div><b>exten => s,n,Set(CHANNEL(language)=en)<font class="Apple-style-span" color="#cc0000">)</font></b></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">exten => s,n,Set(A_serviceline_file=/var/lib/asterisk/sounds/recordings/serviceline/${UNIQUEID)</span><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(204, 0, 0);"> </span></div>
<div><span style="color: rgb(204, 0, 0); "><font class="Apple-style-span" color="#000000" face="arial, sans-serif"><br></font></span><div class="gmail_quote">On Wed, Oct 5, 2011 at 12:31 PM, Sammy Govind <span dir="ltr"><<a href="mailto:govoiper@gmail.com">govoiper@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">hmmm...what i'm saying is this <div><br></div><div><b>exten => s,n,Set(CHANNEL(language)=en))</b></div><div class="im">
<div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)"><p class="MsoNormal">
<span lang="EN-US">exten => s,n,Set(A_serviceline_file=/var/lib/asterisk/sounds/recordings/serviceline/${UNIQUEID)<u></u><u></u></span></p><div style="color:rgb(80, 0, 80)"><p class="MsoNormal"><span lang="EN-US">exten => s,n,Record(${A_serviceline_file}.wav,0,60)</span></p>
</div></span></div></div><div><b>exten => s,n,Set(CHANNEL(language)=nl))</b></div><div><div></div><div class="h5"><div><b><br></b></div><div><br></div><div><br><div class="gmail_quote">On Wed, Oct 5, 2011 at 12:29 PM, Arjan Kroon | Mobillion <span dir="ltr"><<a href="mailto:Arjan.Kroon@mobillion.nl" target="_blank">Arjan.Kroon@mobillion.nl</a>></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" style="font-size:11.0pt">Yes I already try this (only with language nl)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">exten => s,n,Set(CHANNEL(language)=nl))</span><span lang="EN-US" style="font-size:11.0pt"><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">I also try to place the voicefile in the directory /var/lib/asterisk/sounds/ and /var/lib/asterisk/sounds/applications/ of but without any success.<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:26</span></p><div><div></div><div><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><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Since you've changed the language (sound directory) So just as a test change the language back to "en" and if it goes well revert back language after the recording.<u></u><u></u></p>
<div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p><div><p class="MsoNormal">On Wed, Oct 5, 2011 at 12:20 PM, Arjan Kroon | Mobillion <<a href="mailto:Arjan.Kroon@mobillion.nl" target="_blank">Arjan.Kroon@mobillion.nl</a>> wrote:<u></u><u></u></p>
<div><div><p class="MsoNormal"><span lang="EN-US">CLI::</span><u></u><u></u></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 </span><u></u><u></u></p>
<div><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 </span><u></u><u></u></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 </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><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</span><u></u><u></u></p><p class="MsoNormal">
<span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">In de Conf file I use the following command:</span><u></u><u></u></p></div><p class="MsoNormal"><span lang="EN-US">exten => s,n,Set(A_serviceline_file=/var/lib/asterisk/sounds/recordings/serviceline/${UNIQUEID) </span><u></u><u></u></p>
<div><p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US">exten => s,n,Record(${A_serviceline_file}.wav,0,60)</span><u></u><u></u></p></div><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">I don’t call the beep file in my dialplan.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></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><u></u><u></u></p><div><div><p class="MsoNormal"><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></p>
</div></div></div><div><div><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 <<a href="mailto:Arjan.Kroon@mobillion.nl" target="_blank">Arjan.Kroon@mobillion.nl</a>> 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 => 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: '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" 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 => 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 <<a href="mailto:Arjan.Kroon@mobillion.nl" target="_blank">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" target="_blank">asterisk-users-bounces@lists.digium.com</a><br>
> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">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" target="_blank">asterisk-users-bounces@lists.digium.com</a><br>
> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">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" target="_blank">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" 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><p class="MsoNormal"><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><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>
</div></div></blockquote></div><br></div></div></div></div>