Re: [asterisk-users] Newbie IVR: How to read() before playback()is finished?
Lee, John (Sydney) wrote: >> the relaxdmtf (or similar) option in zaptel can make this work a bit >> better...but it's a try at your own risk option! >> >> PaulH > > Thanks Paul. > > I have further findings into the problem. > > While the message is being played, if I press a key during the "pause" > or "break" between words, then the key will be able to be read properly. > > So, it seems like the traffic on the pots network is pretty much > half-duplex. > On the LAN however, it is full-duplex and that is why I don't have such > problem with reading key pressed. Play with the rxgain on your PSTN card. Increase it by 2 until it works. If it doesn't work, try decreasing by 2 until it works. If it still doesn't work then start playing with txgain (I've seen txgain changes fix DTMF issues, don't know why) -- Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS, T-1, PRI, Frame Relay, Linux, and network design. Based near Birmingham, AL. Now accepting clients worldwide. ___ -- 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
Re: [asterisk-users] Newbie IVR: How to read() before playback()is finished?
Ouch...any idea what echo cancellation your system is using? PaulH On Thu, 2008-05-08 at 14:55 +1000, Lee, John (Sydney) wrote: > > the relaxdmtf (or similar) option in zaptel can make this work a bit > > better...but it's a try at your own risk option! > > > > PaulH > > Thanks Paul. > > I have further findings into the problem. > > While the message is being played, if I press a key during the "pause" > or "break" between words, then the key will be able to be read properly. > > So, it seems like the traffic on the pots network is pretty much > half-duplex. > On the LAN however, it is full-duplex and that is why I don't have such > problem with reading key pressed. > > 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 ___ -- 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
Re: [asterisk-users] Newbie IVR: How to read() before playback()is finished?
> the relaxdmtf (or similar) option in zaptel can make this work a bit > better...but it's a try at your own risk option! > > PaulH Thanks Paul. I have further findings into the problem. While the message is being played, if I press a key during the "pause" or "break" between words, then the key will be able to be read properly. So, it seems like the traffic on the pots network is pretty much half-duplex. On the LAN however, it is full-duplex and that is why I don't have such problem with reading key pressed. 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
Re: [asterisk-users] Newbie IVR: How to read() before playback() is finished?
the relaxdmtf (or similar) option in zaptel can make this work a bit better...but it's a try at your own risk option! PaulH On Thu, 2008-05-08 at 13:28 +1000, Lee, John (Sydney) wrote: > > > > > Besides the Background() app mentioned, you might like the WaitExten() > app > > Thanks guys for your response. > > I have had much success with Read() as below so that whenever I press a > key before the sound file finishes playing, it will read the digit and > move to the next line. > exten => 100,1,Answer() > exten => 100,n,Read(OPTION,SOUND-FILE,1) > exten => 100,n,GotoIf($[${OPTION} = 2]?do2:doothers) > [...] > > However, I noticed that sometimes when I call from the outside line to > this number, I need to press the key many many times before the digit > can be read. This does not happen if I do it on the LAN. > > Is there any way I could fix this problem? > > > ___ > -- 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
Re: [asterisk-users] Newbie IVR: How to read() before playback() is finished?
> > > Besides the Background() app mentioned, you might like the WaitExten() app Thanks guys for your response. I have had much success with Read() as below so that whenever I press a key before the sound file finishes playing, it will read the digit and move to the next line. exten => 100,1,Answer() exten => 100,n,Read(OPTION,SOUND-FILE,1) exten => 100,n,GotoIf($[${OPTION} = 2]?do2:doothers) [...] However, I noticed that sometimes when I call from the outside line to this number, I need to press the key many many times before the digit can be read. This does not happen if I do it on the LAN. Is there any way I could fix this problem? ___ -- 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
Re: [asterisk-users] Newbie IVR: How to read() before playback() is finished?
Lee, John (Sydney) wrote: > 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 > Besides the Background() app mentioned, you might like the WaitExten() app Moj ___ -- 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
Re: [asterisk-users] Newbie IVR: How to read() before playback() is finished?
In article <[EMAIL PROTECTED]>, Lee, John (Sydney) <[EMAIL PROTECTED]> wrote: > 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: [EMAIL PROTECTED] - http://www.softins.co.uk Play: [EMAIL PROTECTED] - http://tony.mountifield.org ___ -- 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
Re: [asterisk-users] Newbie IVR: How to read() before playback() is finished?
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: > 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 ___ -- 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
[asterisk-users] Newbie IVR: How to read() before playback() is finished?
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