this solution works. thanks for the helpful comments.
exten => 621,n,Read(NUMBER,snowday,12,,10)
; create a variable from a DTMF entry / 12 characters long
;exten => 621,n,System{(/tmp touch($NUMBER)}
; create the file based on the variable entered
exten => 621,n,Set(audioscript=$[${NUMBER} + 1])
; set a channel variable in advance of recording to it
exten => 621,n,SayDigits(${NUMBER})
; say the NUMBER that was entered
exten => 621,n,SendDTMF(${NUMBER})
;exten => 621,n,System{/tmp touch($(audioscript)}
; create a file
exten => 621,n,Record(${audioscript}.gsm)
; record a file based on the NUMBER + 1
exten => 621,n,Playback(${audioscript})
; listen to the recording , etc.
exten => 621,n,System(mv ${audioscript}.gsm
/var/lib/asterisk/sounds/en) ; move the recording to the
sounds directory
exten => 621,n,Playback(dir-welcome)
exten => 621,n,Playback(${audioscript})
exten => 621,n,Playback(snowday2)
exten => 621,n,Goto(s,1)
On Mon, Feb 8, 2010 at 2:00 PM, Tzafrir Cohen <[email protected]> wrote:
> On Mon, Feb 08, 2010 at 12:36:18PM -0500, Thomas Perron wrote:
>> what is OP please?
>> can you just simply comment on the technical work please?
>
> Original Poster. The one who started the thread. In this case it's you.
>
> --
> Tzafrir Cohen
> icq#16849755 jabber:[email protected]
> +972-50-7952406 mailto:[email protected]
> http://www.xorcom.com iax:[email protected]/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
>
--
_____________________________________________________________________
-- 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