[asterisk-users] MATH
Danny Nicholas
danny at debsinc.com
Mon Feb 1 08:28:03 CST 2010
This is my feeble attempt at explaining this;
DTMF is processed by two dial-plan commands that I'm familiar with (there
are more but I'm trying to speak from my knowledge)
Waitexten reads 1 or more DTMF digits and goes to an extension in the
dialplan.
Example
- exten => s,1,playback(welcome)
- exten => s,n,Waitexten(10,m)
- exten => 0,1,verbose(operator)
- exten => 100,1,verbose(call extension 100)
- exten => 200,1,verbose(call extension 200)
The other command is read - example
- exten => 101,1,read(foobar,message,5,skip,1,9)
- exten => 101,n,verbose(you entered ${foobar})
- exten => 101,n,playback(vm-goodbye)
- exten => 101,n,hangup
HTH
--
Danny Nicholas
--
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Cary Fitch
Sent: Sunday, January 31, 2010 2:55 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] MATH
Clue,
If a caller keys in "4 5 3" will some variable return "453"?
I ASSume yes, since you can make menu selections with DTMF, "obviously" you
can process the results further or in other ways than that.
Cary
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve Edwards
Sent: Sunday, January 31, 2010 2:29 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] MATH
On Sun, 31 Jan 2010, Thomas Perron wrote:
> does dtmf any any variable that i can capture and use w/ some logic
> like in the case of a gotoif
Anyone have a clue what this means? Anyone? Anyone?
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list