Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[asterisk-users] Newbie IVR: How to read() before playback()


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






PostPosted: Wed Mar 19, 2008 10:48 pm    Post subject: [asterisk-users] Newbie IVR: How to read() before playback() Reply with quote

I am working on a menu to accept input from a caller like as follows:

Exten => 100,1,Answer()
Exten => 100,n,Playback(LONG-MESSAGE)
Exten => 100,n,Read(OPTION,,2)
...

When I tested it, I noticed if I start pressing a key before the
Playback() is finished, the input is not buffered (simply ignored) and I
have to listen to the whole message before I could re-enter again.

Is there a way that I could press a key and it will be Read() before the
Playback is finished?

It seems like a lot of IVR system in the market can doing that and I am
wondering if I have missed something in Asterisk.

Any thoughts?
Back to top
pdhales at optusnet.co...
Guest





PostPosted: Thu Mar 20, 2008 12:12 am    Post subject: [asterisk-users] Newbie IVR: How to read() before playback() Reply with quote

Use Background instead of Playback, and put an
exten => XX,n,Goto
at the bottom of the context.

That should get you started.....

PaulH



On Thu, 2008-03-20 at 14:48 +1100, Lee, John (Sydney) wrote:
Quote:
I am working on a menu to accept input from a caller like as follows:

Exten => 100,1,Answer()
Exten => 100,n,Playback(LONG-MESSAGE)
Exten => 100,n,Read(OPTION,,2)
...

When I tested it, I noticed if I start pressing a key before the
Playback() is finished, the input is not buffered (simply ignored) and I
have to listen to the whole message before I could re-enter again.

Is there a way that I could press a key and it will be Read() before the
Playback is finished?

It seems like a lot of IVR system in the market can doing that and I am
wondering if I have missed something in Asterisk.

Any thoughts?

_______________________________________________
-- 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
tony at softins.clara....
Guest





PostPosted: Thu Mar 20, 2008 5:27 am    Post subject: [asterisk-users] Newbie IVR: How to read() before playback() Reply with quote

In article <136A969E54082648AD45F9228A75F53C034D30B2 at apac-syd-ex001.apac.cpwr.corp>,
Lee, John (Sydney) <John.Lee at compuware.com> wrote:
Quote:
I am working on a menu to accept input from a caller like as follows:

Exten => 100,1,Answer()
Exten => 100,n,Playback(LONG-MESSAGE)
Exten => 100,n,Read(OPTION,,2)
...

When I tested it, I noticed if I start pressing a key before the
Playback() is finished, the input is not buffered (simply ignored) and I
have to listen to the whole message before I could re-enter again.

Is there a way that I could press a key and it will be Read() before the
Playback is finished?

Try this:

exten => 100,1,Answer()
exten => 100,n,Read(OPTION,LONG-MESSAGE,2)

Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org
Back to top
gchen00 at insightbb.com
Guest





PostPosted: Thu Mar 20, 2008 7:39 am    Post subject: [asterisk-users] Newbie IVR: How to read() before playback() Reply with quote

----- Original Message -----
From: "Lee, John (Sydney)" <John.Lee at compuware.com>
To: <asterisk-users at lists.digium.com>
Sent: Wednesday, March 19, 2008 11:48 PM
Subject: [asterisk-users] Newbie IVR: How to read() before playback()
isfinished?
Quote:
I am working on a menu to accept input from a caller like as follows:

Exten => 100,1,Answer()
Exten => 100,n,Playback(LONG-MESSAGE)
Exten => 100,n,Read(OPTION,,2)
...

When I tested it, I noticed if I start pressing a key before the
Playback() is finished, the input is not buffered (simply ignored) and I
have to listen to the whole message before I could re-enter again.

Is there a way that I could press a key and it will be Read() before the
Playback is finished?

It seems like a lot of IVR system in the market can doing that and I am
wondering if I have missed something in Asterisk.

Any thoughts?


Use Read( ) app to play your LONG-MESSAGE
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