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                        [EMAIL PROTECTED]
Fax: +61 2 9345 4396                        www.websitemanagers.com.au

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to