eyal goltzman
2010-Jul-10 18:16 UTC
[asterisk-users] How can get user inputs from called party after dial?
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100710/4fb1c635/attachment.htm
bruce bruce
2010-Jul-10 18:29 UTC
[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 <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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100710/84b8ecef/attachment.htm