Oguzhan Kayhan
2009-Jun-23 08:31 UTC
[asterisk-users] error in playback of voiceprompt????
Hello, I am trying to create a simple IVR for testing.. What i did is to create a voice file from asterisk-gui. And i saw it created that under /var/lib/asterisk/sounds/record/ as deneme.gsm Then i tried to make a IVR menu and play that file. I tried exten=s,4,Playback(/record/deneme.gsm) exten=s,4,Playback(record/deneme.gsm) exten=s,4,Playback(deneme.gsm) exten=s,4,Playback(/var/lib/asterisk/sounds/record/deneme.gsm) but everytime i got the error msg file.c:635 ast_openstream_full: File /record/deneme.gsm does not exist in any format etc... It is a bug or am i making a mistake for the path of sound files???
Hi Drop the '.gsm' from the filename. Ish Oguzhan Kayhan wrote:> Hello, > I am trying to create a simple IVR for testing.. > What i did is to create a voice file from asterisk-gui. > And i saw it created that under /var/lib/asterisk/sounds/record/ as > deneme.gsm > > Then i tried to make a IVR menu and play that file. > I tried > exten=s,4,Playback(/record/deneme.gsm) > exten=s,4,Playback(record/deneme.gsm) > exten=s,4,Playback(deneme.gsm) > exten=s,4,Playback(/var/lib/asterisk/sounds/record/deneme.gsm) > but everytime i got the error msg > file.c:635 ast_openstream_full: File /record/deneme.gsm does not exist in > any format etc... > > It is a bug or am i making a mistake for the path of sound files??? > > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >-- Ishfaq Malik Software Developer PackNet Ltd Office: 0161 660 3062
exten=s,4,Playback(/record/deneme.gsm) should be exten=s,4,Playback(/record/deneme) so without a format. On Tue, 2009-06-23 at 11:31 +0300, Oguzhan Kayhan wrote:> Hello, > I am trying to create a simple IVR for testing.. > What i did is to create a voice file from asterisk-gui. > And i saw it created that under /var/lib/asterisk/sounds/record/ as > deneme.gsm > > Then i tried to make a IVR menu and play that file. > I tried > exten=s,4,Playback(/record/deneme.gsm) > exten=s,4,Playback(record/deneme.gsm) > exten=s,4,Playback(deneme.gsm) > exten=s,4,Playback(/var/lib/asterisk/sounds/record/deneme.gsm) > but everytime i got the error msg > file.c:635 ast_openstream_full: File /record/deneme.gsm does not exist in > any format etc... > > It is a bug or am i making a mistake for the path of sound files??? > > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > 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/20090623/5baccd91/attachment.htm
Stefan Schmidt
2009-Jun-23 09:06 UTC
[asterisk-users] error in playback of voiceprompt????
hello, you should try it with the following: exten=s,4,Playback(record/deneme) the .gsm is not necessary best regards steve Oguzhan Kayhan schrieb:> Hello, > I am trying to create a simple IVR for testing.. > What i did is to create a voice file from asterisk-gui. > And i saw it created that under /var/lib/asterisk/sounds/record/ as > deneme.gsm > > Then i tried to make a IVR menu and play that file. > I tried > exten=s,4,Playback(/record/deneme.gsm) > exten=s,4,Playback(record/deneme.gsm) > exten=s,4,Playback(deneme.gsm) > exten=s,4,Playback(/var/lib/asterisk/sounds/record/deneme.gsm) > but everytime i got the error msg > file.c:635 ast_openstream_full: File /record/deneme.gsm does not exist in > any format etc... > > It is a bug or am i making a mistake for the path of sound files??? > > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- F?r weitere Fragen stehen wir gerne unter voip at sil.at oder 059944 - 2440 zur Verf?gung. Mit freundlichen Gr?ssen -- Stefan Schmidt Sysadmin/VOIP // voip at sil.at // Tel 059944-2440// ------------------------------------------------- SILVER SERVER GmbH // Lorenz-Mandl-Gasse 33/1 // A-1160 Wien // Fax 059944-9000 // www.sil.at // -------------------------------------------------
Oguzhan Kayhan
2009-Jun-23 09:21 UTC
[asterisk-users] error in playback of voiceprompt????
> exten=s,4,Playback(/record/deneme.gsm) > > should be > > exten=s,4,Playback(/record/deneme) > > so without a format. >Thank you. That worked :)> > On Tue, 2009-06-23 at 11:31 +0300, Oguzhan Kayhan wrote: > >> Hello, >> I am trying to create a simple IVR for testing.. >> What i did is to create a voice file from asterisk-gui. >> And i saw it created that under /var/lib/asterisk/sounds/record/ as >> deneme.gsm >> >> Then i tried to make a IVR menu and play that file. >> I tried >> exten=s,4,Playback(/record/deneme.gsm) >> exten=s,4,Playback(record/deneme.gsm) >> exten=s,4,Playback(deneme.gsm) >> exten=s,4,Playback(/var/lib/asterisk/sounds/record/deneme.gsm) >> but everytime i got the error msg >> file.c:635 ast_openstream_full: File /record/deneme.gsm does not exist >> in >> any format etc... >> >> It is a bug or am i making a mistake for the path of sound files??? >> >> >> >> _______________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> >> 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 -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
On Tue, Jun 23, 2009 at 11:31:54AM +0300, Oguzhan Kayhan wrote:> Hello, > I am trying to create a simple IVR for testing.. > What i did is to create a voice file from asterisk-gui. > And i saw it created that under /var/lib/asterisk/sounds/record/ as > deneme.gsm > > Then i tried to make a IVR menu and play that file. > I tried > exten=s,4,Playback(/record/deneme.gsm)This is an absolute path ( /record/deneme.gsm.<fmt> )> exten=s,4,Playback(record/deneme.gsm)This is a relative format. Usually relative to /var/lib/asterisk/sounds . There's also the language to consider.> exten=s,4,Playback(deneme.gsm)Likewise, relative.> exten=s,4,Playback(/var/lib/asterisk/sounds/record/deneme.gsm)Likewise, absolute. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir