View previous topic :: View next topic |
Author |
Message |
JCasale at activenetwe... Guest
|
Posted: Wed May 28, 2008 9:27 pm Post subject: [asterisk-users] Wait for input |
|
|
After dialing an extension and reaching a dial plan, how
does one read input and what is that variable (I the input
is stored as a defined system var) called? Given I don't know
what any of these terms are, its making it hard to search
Thanks!
jlc |
|
Back to top |
|
|
ddunkin at netos.net Guest
|
Posted: Wed May 28, 2008 9:45 pm Post subject: [asterisk-users] Wait for input |
|
|
The function is 'read'.
Read(variable[|filename][|maxdigits][|option][|attempts][|timeout])
http://www.voip-info.org/wiki/view/Asterisk+cmd+Read
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Joseph L.
Casale
Sent: Wednesday, May 28, 2008 19:28
To: 'asterisk-users at lists.digium.com'
Subject: [asterisk-users] Wait for input
After dialing an extension and reaching a dial plan, how
does one read input and what is that variable (I the input
is stored as a defined system var) called? Given I don't know
what any of these terms are, its making it hard to search
Thanks!
jlc
_______________________________________________
-- 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 |
|
Back to top |
|
|
asterisk.org at sedwar... Guest
|
|
Back to top |
|
|
asterisk.org at sedwar... Guest
|
Posted: Wed May 28, 2008 9:59 pm Post subject: [asterisk-users] Wait for input |
|
|
Quote: | [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Joseph L.
Casale
After dialing an extension and reaching a dial plan, how
does one read input and what is that variable (I the input
is stored as a defined system var) called? Given I don't know
what any of these terms are, its making it hard to search
|
On Wed, 28 May 2008, Darryl Dunkin wrote:
Or, depending on what the OP is trying to accomplish, maybe "waitexten()"
is what he is looking for.
Thanks in advance,
------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000 |
|
Back to top |
|
|
JCasale at activenetwe... Guest
|
Posted: Wed May 28, 2008 11:20 pm Post subject: [asterisk-users] Wait for input |
|
|
Quote: | 3) Ask questions that won't condemn you to a lifetime of negative karma
| Lol, I was trying to build a dialplan to authenticate for long distance,
but wasn't sure what I was looking for to accept the actual number once
in the dial plan. Theory was user dials 1234, it then prompts for authentication
and if successful, WaitExten or Read looks like it could do what I need. I was
hoping to then play something suggesting to enter number which would then push
that into my Dial SIP line. Not sure what is more appropriate, Read or WaitExten?
Thanks!
jlc |
|
Back to top |
|
|
|