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.co...@xorcom.com
+972-50-7952406           mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

_______________________________________________
-- 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

Reply via email to