Re: [asterisk-users] AGI STREAM FILE not working?

2011-06-06 Thread A E [Gmail]
On Mon, Jun 6, 2011 at 10:39 AM, Tony Mountifield wrote: > In article , > A E [Gmail] wrote: > > Hello, > > using 1.8.4. using a very simple local AGI script in bash which has only > one > > line in it: > > > > echo -e 'STREAM FILE welcome 123 \n' > > > > dialplan: > > exten => 5150,1,Answer() >

Re: [asterisk-users] AGI STREAM FILE not working?

2011-06-06 Thread Tony Mountifield
In article , A E [Gmail] wrote: > Hello, > using 1.8.4. using a very simple local AGI script in bash which has only one > line in it: > > echo -e 'STREAM FILE welcome 123 \n' > > dialplan: > exten => 5150,1,Answer() > same => n,Set(CHANNEL(language)=en_AU) > same => n,AGI(testagi.sh) > sam

Re: [asterisk-users] AGI STREAM FILE not working?

2011-06-06 Thread Steve Edwards
On Mon, Jun 6, 2011 at 2:26 AM, Steve Edwards wrote: I strongly suggest using an existing library for the language of your choice. On Mon, 6 Jun 2011, A E [Gmail] wrote: Copy that. Not planning to write an AGI script in bash actually...it will be written in C# running on a remote system.

Re: [asterisk-users] AGI STREAM FILE not working?

2011-06-05 Thread A E [Gmail]
On Mon, Jun 6, 2011 at 2:26 AM, Steve Edwards wrote: > On Mon, Jun 6, 2011 at 2:06 AM, Steve Edwards >> wrote: >> > > AGI is an interface. It consists of reading the AGI environment from STDIN >> and then, writing requests on STDOUT and reading the response from STDIN. >> > > On Mon, 6 Jun 2011

Re: [asterisk-users] AGI STREAM FILE not working?

2011-06-05 Thread Steve Edwards
On Mon, Jun 6, 2011 at 2:06 AM, Steve Edwards wrote: AGI is an interface. It consists of reading the AGI environment from STDIN and then, writing requests on STDOUT and reading the response from STDIN. On Mon, 6 Jun 2011, A E [Gmail] wrote: Right! I did read that, the problem is how do I d

Re: [asterisk-users] AGI STREAM FILE not working?

2011-06-05 Thread A E [Gmail]
On Mon, Jun 6, 2011 at 2:06 AM, Steve Edwards wrote: > On Mon, 6 Jun 2011, A E [Gmail] wrote: > > Hello,using 1.8.4. using a very simple local AGI script in bash which has >> only one line in it: >> >> echo -e 'STREAM FILE welcome 123 \n' >> >> What gives? spent 2 hrs Googling but nothing! :( >>

Re: [asterisk-users] AGI STREAM FILE not working?

2011-06-05 Thread A E [Gmail]
On Mon, Jun 6, 2011 at 2:06 AM, mahesh katta wrote: > > > On Mon, Jun 6, 2011 at 9:42 AM, A E [Gmail] wrote: > >> Hello, >> using 1.8.4. using a very simple local AGI script in bash which has only >> one line in it: >> >> echo -e 'STREAM FILE welcome 123 \n' >> >> dialplan: >> exten => 5150,1,Ans

Re: [asterisk-users] AGI STREAM FILE not working?

2011-06-05 Thread A E [Gmail]
On Mon, Jun 6, 2011 at 12:12 AM, A E [Gmail] wrote: > Hello, > using 1.8.4. using a very simple local AGI script in bash which has only > one line in it: > > echo -e 'STREAM FILE welcome 123 \n' > > dialplan: > exten => 5150,1,Answer() > same => n,Set(CHANNEL(language)=en_AU) > same => n,AGI(

Re: [asterisk-users] AGI STREAM FILE not working?

2011-06-05 Thread Steve Edwards
On Mon, 6 Jun 2011, A E [Gmail] wrote: Hello,using 1.8.4. using a very simple local AGI script in bash which has only one line in it: echo -e 'STREAM FILE welcome 123 \n' What gives? spent 2 hrs Googling but nothing! :( Maybe 1.5 hrs should have been spent reading :) One line does not an A

Re: [asterisk-users] AGI STREAM FILE not working?

2011-06-05 Thread mahesh katta
On Mon, Jun 6, 2011 at 9:42 AM, A E [Gmail] wrote: > Hello, > using 1.8.4. using a very simple local AGI script in bash which has only > one line in it: > > echo -e 'STREAM FILE welcome 123 \n' > > dialplan: > exten => 5150,1,Answer() > same => n,Set(CHANNEL(language)=en_AU) > same => n,AGI(t

[asterisk-users] AGI STREAM FILE not working?

2011-06-05 Thread A E [Gmail]
Hello, using 1.8.4. using a very simple local AGI script in bash which has only one line in it: echo -e 'STREAM FILE welcome 123 \n' dialplan: exten => 5150,1,Answer() same => n,Set(CHANNEL(language)=en_AU) same => n,AGI(testagi.sh) same => n,Hangup console output: -- Executing [5150@A