Oke, I tried this, but sorry
-- Executing [s@servicelijn:91] Set("CAPI/ISDN1#02/318647615-3e",
"CHANNEL(language)=en") in new stack
-- Executing [s@servicelijn:92] Set("CAPI/ISDN1#02/318647615-3e",
"A_serviceline_file=/var/lib/asterisk/sounds/recordings/serviceline/1317800460.74")
in new stack
-- Executing [s@servicelijn:93] Record("CAPI/ISDN1#02/318647615-3e",
"/var/lib/asterisk/sounds/recordings/serviceline/1317800460.74.wav,0,60") in
new stack
[Oct 5 09:41:03] WARNING[18963]: file.c:644 ast_openstream_full: File beep
does not exist in any format
[Oct 5 09:41:03] WARNING[18963]: file.c:950 ast_streamfile: Unable to open
beep (format 0x8 (alaw)): No such file or directory
[Oct 5 09:41:03] WARNING[18963]: app_record.c:281 record_exec: ast_streamfile
failed on CAPI/ISDN1#02/318647615-3e
== Spawn extension (servicelijn, s, 93) exited non-zero on
'CAPI/ISDN1#02/318647615-3e'
This is my conf.file
exten => s,n,Set(CHANNEL(language)=en)
exten =>
s,n,Set(A_serviceline_file=/var/lib/asterisk/sounds/recordings/serviceline/${UNIQUEID})
exten => s,n,Record(${A_serviceline_file}.wav,0,60)
Van: [email protected]
[mailto:[email protected]] Namens Sammy Govind
Verzonden: 05-10-2011 09:32
Aan: Asterisk Users Mailing List - Non-Commercial Discussion
Onderwerp: Re: [asterisk-users] Beep file with Record
hmmm...what i'm saying is this
exten => s,n,Set(CHANNEL(language)=en))
exten =>
s,n,Set(A_serviceline_file=/var/lib/asterisk/sounds/recordings/serviceline/${UNIQUEID)
exten => s,n,Record(${A_serviceline_file}.wav,0,60)
exten => s,n,Set(CHANNEL(language)=nl))
On Wed, Oct 5, 2011 at 12:29 PM, Arjan Kroon | Mobillion
<[email protected]<mailto:[email protected]>> wrote:
Yes I already try this (only with language nl)
exten => s,n,Set(CHANNEL(language)=nl))
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.
Van:
[email protected]<mailto:[email protected]>
[mailto:[email protected]<mailto:[email protected]>]
Namens Sammy Govind
Verzonden: 05-10-2011 09:26
Aan: Asterisk Users Mailing List - Non-Commercial Discussion
Onderwerp: Re: [asterisk-users] Beep file with Record
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.
On Wed, Oct 5, 2011 at 12:20 PM, Arjan Kroon | Mobillion
<[email protected]<mailto:[email protected]>> wrote:
CLI::
-- 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)
I don't call the beep file in my dialplan.
Van:
[email protected]<mailto:[email protected]>
[mailto:[email protected]<mailto:[email protected]>]
Namens Sammy Govind
Verzonden: 05-10-2011 09:04
Aan: Asterisk Users Mailing List - Non-Commercial Discussion
Onderwerp: Re: [asterisk-users] Beep file with Record
How are you calling the beep.alaw from the dialplan?
paste the relevant dialplan here and corresponding CLI logs.
On Wed, Oct 5, 2011 at 11:58 AM, Arjan Kroon | Mobillion
<[email protected]<mailto:[email protected]>> wrote:
I placed a beep.alaw file in de directory, but I get the same result.
Also I try to set the language just with two characters.
(exten => s,n,Set(CHANNEL(language)=nl))
And in the directory /var/lib/asterisk/sounds/nl/ I placed the voicefile
beep.alaw.
But with this also I get also the same result.
-----Oorspronkelijk bericht-----
Van:
[email protected]<mailto:[email protected]>
[mailto:[email protected]<mailto:[email protected]>]
Namens Danny Nicholas
Verzonden: 04-10-2011 17:16
Aan: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Onderwerp: Re: [asterisk-users] Beep file with Record
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)?
-----Original Message-----
From:
[email protected]<mailto:[email protected]>
[mailto:[email protected]<mailto:[email protected]>]
On Behalf Of Arjan Kroon | Mobillion
Sent: Tuesday, October 04, 2011 9:43 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Beep file with Record
Yes,
In the code I use set the language
exten => s,n,Set(CHANNEL(language)=nl/fvdb)
So therefore I try also to place the file in the directory
/var/lib/asterisk/sounds/nl/fvdb/
-----Oorspronkelijk bericht-----
Van:
[email protected]<mailto:[email protected]>
[mailto:[email protected]<mailto:[email protected]>]
Namens Andrew Latham
Verzonden: 04-10-2011 16:41
Aan: Asterisk Users Mailing List - Non-Commercial Discussion
Onderwerp: Re: [asterisk-users] Beep file with Record
On Tue, Oct 4, 2011 at 11:37 AM, Arjan Kroon | Mobillion
<[email protected]<mailto:[email protected]>> 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,6
> 0") 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/service
> line/${UNIQUEID) exten => s,n,Record(${A_serviceline_file}.wav,0,60)
>
>
> -----Oorspronkelijk bericht-----
> Van:
> [email protected]<mailto:[email protected]>
> [mailto:[email protected]<mailto:[email protected]>]
> 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:
> [email protected]<mailto:[email protected]>
> [mailto:[email protected]<mailto:[email protected]>]
> On Behalf Of Arjan
> Kroon | Mobillion
> Sent: Tuesday, October 04, 2011 9:21 AM
> To: [email protected]<mailto:[email protected]>
> 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 [email protected]<mailto:[email protected]>
http://lathama.net ~
--
_____________________________________________________________________
-- 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
--
_____________________________________________________________________
-- 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
--
_____________________________________________________________________
-- 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
--
_____________________________________________________________________
-- 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
--
_____________________________________________________________________
-- 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
--
_____________________________________________________________________
-- 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
--
_____________________________________________________________________
-- 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