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
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 -- _____________________________________________________________________ -- 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
The alaw extension is bugging me.. can you locate the default beep.gsm /beep.wav file in asterisk sounds directory !? Also check the output of *core show file formats* *core show translation* Also find out the codec of the established call.! On Wed, Oct 5, 2011 at 12:50 PM, Jeroen Eeuwes <jeroeneeuwes at gmail.com>wrote:> Hi Arjan, > > > 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. > > Just for double-checking, but what directory is listed as the > astdatadir in asterisk.conf? > > Best regards, > Jeroen Eeuwes > > -- > _____________________________________________________________________ > -- 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111005/e3bad35a/attachment.htm>
These are the directories which I gave in asterisk.conf astetcdir => /etc/asterisk astmoddir => /usr/lib64/asterisk/modules astvarlibdir => /usr/share/asterisk astdbdir => /var/spool/asterisk astkeydir => /var/lib/asterisk astdatadir => /usr/share/asterisk astagidir => /usr/share/asterisk/agi-bin astspooldir => /var/spool/asterisk astrundir => /var/run/asterisk astlogdir => /var/log/asterisk I try to change de astdatadir into /var/lib/asterisk/ But when I restart asterisk and I look at the settings in the CLI I still see Data directory: /usr/share/asterisk How can I reload the new settings? -----Oorspronkelijk bericht----- Van: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] Namens Jeroen Eeuwes Verzonden: 05-10-2011 09:50 Aan: Asterisk Users Mailing List - Non-Commercial Discussion Onderwerp: Re: [asterisk-users] Beep file with Record Hi Arjan,> 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.Just for double-checking, but what directory is listed as the astdatadir in asterisk.conf? Best regards, Jeroen Eeuwes -- _____________________________________________________________________ -- 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