[asterisk-users] How can get user inputs from called party after dial?
Eyal Goltzman
egoltzman at gmail.com
Sat Jul 10 13:38:56 CDT 2010
Thanks, but I'm missing something here, the dial command is where?
I need to do something like:
Dial(1234)
Read(1 digit)
DoSomthing(based on digit from 1234)
And as far as I understand the Dial start the call and only come back (ig
you use the g option) after call finished.
Eyal
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at 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+cmd+Read
It'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.
-Bruce
On Sat, Jul 10, 2010 at 2:16 PM, eyal goltzman <egoltzman at gmail.com> wrote:
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
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.830 / Virus Database: 271.1.1/2991 - Release Date: 07/10/10
09:36:00
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100710/c1113a80/attachment.htm
More information about the asterisk-users
mailing list