[asterisk-users] Beep file with Record

Andrew Latham lathama at gmail.com
Tue Oct 4 09:40:31 CDT 2011


On Tue, Oct 4, 2011 at 11:37 AM, Arjan Kroon | Mobillion
<Arjan.Kroon at mobillion.nl> wrote:
> This is my complete CLI logging
>
> -- Executing [s@ serviceline:93] Record("CAPI/ISDN1#02/318647615-37", "/var/lib/asterisk/sounds/recordings/serviceline/1317737932.67.wav,0,60") in new stack
> [Oct  4 16:19:38] WARNING[13370]: file.c:644 ast_openstream_full: File beep does not exist in any format
> [Oct  4 16:19:38] WARNING[13370]: file.c:950 ast_streamfile: Unable to open beep (format 0x8 (alaw)): No such file or directory
> [Oct  4 16:19:38] WARNING[13370]: app_record.c:281 record_exec: ast_streamfile failed on CAPI/ISDN1#02/318647615-37
>
> In de Conf file I use the following command:
> exten => s,n,Set(A_serviceline_file=/var/lib/asterisk/sounds/recordings/serviceline/${UNIQUEID)
> exten => s,n,Record(${A_serviceline_file}.wav,0,60)
>
>
> -----Oorspronkelijk bericht-----
> Van: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] Namens Danny Nicholas
> Verzonden: 04-10-2011 16:30
> Aan: 'Asterisk Users Mailing List - Non-Commercial Discussion'
> Onderwerp: Re: [asterisk-users] Beep file with Record
>
> Usually this message is received because you did something like
> playback(beep.gsm) or playback(beep.wav) instead of playback(beep).  It is
> (IMO) somewhat confusing because you have to do record(foo.gsm) but you have
> to playback using playback(foo).
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Arjan Kroon |
> Mobillion
> Sent: Tuesday, October 04, 2011 9:21 AM
> To: asterisk-users at lists.digium.com
> Subject: [asterisk-users] Beep file with Record
>
> Hi,
>
> I'm using the functionality Record in asterisk 1.8.5.
> But when I want to record something I get the following error message:
> file.c:644 ast_openstream_full: File beep does not exist in any format
>
> Could anybody tell me where I have to place the beep.gsm file?
> I already tried the following directories:
>        /var/lib/asterisk/sounds/beep.gsm
>        /var/lib/asterisk/sounds/recordings/beep.gsm
>
> Regards,
>
> Arjan Kroon

Beep is called from
http://svn.asterisk.org/svn/asterisk/trunk/apps/app_record.c and it
looks fine a first glance.  Are you using the language prefix?

-- 
~ Andrew "lathama" Latham lathama at gmail.com http://lathama.net ~



More information about the asterisk-users mailing list