[asterisk-users] error in playback of voiceprompt????

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Jun 23 05:38:17 CDT 2009


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



More information about the asterisk-users mailing list