Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Wait for input


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
JCasale at activenetwe...
Guest





PostPosted: Wed May 28, 2008 9:27 pm    Post subject: [asterisk-users] Wait for input Reply with quote

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 Smile

Thanks!
jlc
Back to top
ddunkin at netos.net
Guest





PostPosted: Wed May 28, 2008 9:45 pm    Post subject: [asterisk-users] Wait for input Reply with quote

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 Smile

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





PostPosted: Wed May 28, 2008 9:54 pm    Post subject: [asterisk-users] Wait for input Reply with quote

On Wed, 28 May 2008, Joseph L. Casale wrote:

Quote:
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 Smile

1) Read these:

http://www.loligo.com/asterisk/misc/Presentations/Asterisk-overview.v1.0.ppt
http://www.onlamp.com/pub/a/onlamp/2003/07/03/asterisk.html
http://downloads.oreilly.com/books/9780596510480.pdf

2) Play with it for a week.

3) Ask questions that won't condemn you to a lifetime of negative karma Smile

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
Back to top
asterisk.org at sedwar...
Guest





PostPosted: Wed May 28, 2008 9:59 pm    Post subject: [asterisk-users] Wait for input Reply with quote

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 Smile

On Wed, 28 May 2008, Darryl Dunkin wrote:

Quote:
The function is 'read'.

Read(variable[|filename][|maxdigits][|option][|attempts][|timeout])

http://www.voip-info.org/wiki/view/Asterisk+cmd+Read

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





PostPosted: Wed May 28, 2008 11:20 pm    Post subject: [asterisk-users] Wait for input Reply with quote

Quote:
3) Ask questions that won't condemn you to a lifetime of negative karma Smile

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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services