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
--
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.
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
-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
...@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
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
[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
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
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