[asterisk-users] IVR Demo / Create file / Move file / Demo all

2010-02-08 Thread Thomas Perron
Do you see any syntax errors? Positive comments welcomed. The short version of the logic is as follows: create a file based on the NUMBER create a an audio file move to a new extension (label) and play the results exten = 621,1,Answer() exten =

Re: [asterisk-users] IVR Demo / Create file / Move file / Demo all

2010-02-08 Thread Steve Edwards
On Mon, 8 Feb 2010, Thomas Perron wrote: Do you see any syntax errors? Yes. Lots. Can I please have the last 5 minutes of my life back? Positive comments welcomed. Please don't bother the list to syntax check your code if you are too lazy to type it into your dialplan and see if Asterisk

Re: [asterisk-users] IVR Demo / Create file / Move file / Demo all

2010-02-08 Thread Danny Nicholas
Edwards Sent: Monday, February 08, 2010 11:20 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] IVR Demo / Create file / Move file / Demo all On Mon, 8 Feb 2010, Thomas Perron wrote: Do you see any syntax errors? Yes. Lots. Can I please have the last 5

Re: [asterisk-users] IVR Demo / Create file / Move file / Demo all

2010-02-08 Thread Thomas Perron
Demo / Create file / Move file / Demo all On Mon, 8 Feb 2010, Thomas Perron wrote: Do you see any syntax errors? Yes. Lots. Can I please have the last 5 minutes of my life back? Positive comments welcomed. Please don't bother the list to syntax check your code if you are too lazy to type

Re: [asterisk-users] IVR Demo / Create file / Move file / Demo all

2010-02-08 Thread Danny Nicholas
: [asterisk-users] IVR Demo / Create file / Move file / Demo all Do you see any syntax errors? Positive comments welcomed. The short version of the logic is as follows: create a file based on the NUMBER create a an audio file move to a new extension (label) and play the results exten = 621,1,Answer

Re: [asterisk-users] IVR Demo / Create file / Move file / Demo all

2010-02-08 Thread Steve Edwards
Un-top-posting... [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Thomas Perron Do you see any syntax errors? [snip] On Mon, 8 Feb 2010, Danny Nicholas wrote: exten = 621,n,Read(NUMBER,enteryournumberstartingwithaone,12,,5) ; create a variable from a DTMF entry / 12

Re: [asterisk-users] IVR Demo / Create file / Move file / Demo all

2010-02-08 Thread Tzafrir Cohen
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

Re: [asterisk-users] IVR Demo / Create file / Move file / Demo all

2010-02-08 Thread Thomas Perron
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} +