[Asterisk-Users] UK (english) sound files (Paul R
Adam Goryachev
mailinglists at websitemanagers.com.au
Thu Apr 28 20:56:34 MST 2005
On Wed, 2005-04-27 at 22:54 +0100, Paul Redstone wrote:
> Sorry - still forget to clear the HTML flag - thought I'd better post again.
> [macro-record-message]
> ;
> ; ARG1 file name of message, assumed to be in sounds folder, but if below has a
> subfolder name prepended
> ; ARG2 text describing message (NT YET USED)
> ;
Why not:
exten => s,2,Playback(/var/lib/asterisk/sounds/gb/${ARG1})
exten => s,3,Record(/var/lib/asterisk/sounds/gb/${ARG1})
etc...
> exten => s,1,Wait(1)
> exten => s,2,Record(/var/lib/asterisk/sounds/gb/${ARG1}:gsm)
> exten => s,3,Wait(1)
> exten => s,4,Playback(/var/lib/asterisk/sounds/gb/${ARG1})
> exten => s,5,Wait(1)
> exten => s,6,Hangup
Regards,
Adam
--
--
Adam Goryachev
Website Managers
Ph: +61 2 8304 0000 adam at websitemanagers.com.au
Fax: +61 2 9345 4396 www.websitemanagers.com.au
More information about the asterisk-users
mailing list