[asterisk-users] How can get user inputs from called party after dial?

2010-07-10 Thread eyal goltzman
Hi, I want to dial a party, play him a message and wait for his input, i.e. DTMF digits and use them to control the rest of the dial plan. How do I do it? If I use Dial it will not return until the end of the call, isn't it? Thanks, Eyal --

Re: [asterisk-users] How can get user inputs from called party after dial?

2010-07-10 Thread bruce bruce
You need read(): http://www.voip-info.org/wiki/view/Asterisk+cmd+Read http://www.voip-info.org/wiki/view/Asterisk+cmd+ReadIt's as easy as: exten = s,n,Read(variable,,11) exten = s,n,NoOp(${variable}) Above will take up to 11 digits input by user and will display it back in NoOP on Asterisk CLI.

Re: [asterisk-users] How can get user inputs from called party after dial?

2010-07-10 Thread Eyal Goltzman
From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of bruce bruce Sent: Saturday, July 10, 2010 9:30 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] How can get user inputs from called party after

Re: [asterisk-users] How can get user inputs from called party after dial?

2010-07-10 Thread bruce bruce
-users-boun...@lists.digium.com] *On Behalf Of *bruce bruce *Sent:* Saturday, July 10, 2010 9:30 PM *To:* Asterisk Users Mailing List - Non-Commercial Discussion *Subject:* Re: [asterisk-users] How can get user inputs from called party after dial? You need read(): http://www.voip-info.org/wiki

Re: [asterisk-users] How can get user inputs from called party after dial?

2010-07-10 Thread bruce bruce
...@lists.digium.com] *On Behalf Of *bruce bruce *Sent:* Saturday, July 10, 2010 9:30 PM *To:* Asterisk Users Mailing List - Non-Commercial Discussion *Subject:* Re: [asterisk-users] How can get user inputs from called party after dial? You need read(): http://www.voip-info.org/wiki/view/Asterisk

Re: [asterisk-users] How can get user inputs from called party after dial?

2010-07-10 Thread Eyal Goltzman
To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] How can get user inputs from called party after dial? You need to do some reading :-) I will give you a quick teach here. At the end of file /etc/asterisk/extensions_custom.conf (if you are running FreePBX

Re: [asterisk-users] How can get user inputs from called party after dial?

2010-07-10 Thread Eyal Goltzman
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of bruce bruce Sent: Saturday, July 10, 2010 9:30 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] How can get user inputs from called party after dial? You need read(): http://www.voip-info.org/wiki/view

Re: [asterisk-users] How can get user inputs from called party after dial?

2010-07-10 Thread Steve Edwards
On Sat, 10 Jul 2010, bruce bruce wrote: You need to do some reading :-) Now that is funny -- maybe you could take your own advice and look at http://www.php.net/docs.php instead of posting please help me debug code I'm too lazy to even see if PHP says it is syntactically correct and

Re: [asterisk-users] How can get user inputs from called party after dial?

2010-07-10 Thread bruce bruce
I was under the impression that he is new to Asterisk. No need to fuss. Hence the :-) On Sat, Jul 10, 2010 at 3:35 PM, Steve Edwards asterisk@sedwards.comwrote: On Sat, 10 Jul 2010, bruce bruce wrote: You need to do some reading :-) Now that is funny -- maybe you could take your own