Gene Kochanowsky
2004-Mar-30 17:46 UTC
[Asterisk-Users] Caller entered digits ignored during wait....
Greetings,
Below is part of the contents of my extensions.conf file.
exten => s,1,Wait,1 ; Wait a second before
answering.
exten => s,2,Answer
exten => s,3,ResponseTimeout,10 ; Set the amount of
time the user
; has to
make a selection.
exten => s,4,DigitTimeout,5 ; Set the amount of time
user has
; between
each number entry when
; dialing an
extension.
exten => s,5,Background(welcome)
exten => s,6,Background(parties)
exten => s,7,Wait(10)
exten => s,8,Background(parties)
exten => s,9,Wait(10)
exten => s,10,Background(vm-goodbye)
exten => s,11,Hangup
I can make a menu selection as long as Background is running however
during Wait(10) DTMF digits are ignored. How can I wait for a response
and register the response at the same time? I supposed I could create a
sound file of 10 second duration and play this but that seems kinda like
a hack to me.
Gene Kochanowky
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20040330/93b74c2f/attachment.htm
Gene Kochanowsky
2004-Mar-30 18:52 UTC
[Asterisk-Users] Caller entered digits ignored during wait....
I figured it out... This works -
exten => s,1,Wait,1 ; Wait a second before
answering.
exten => s,2,Answer
exten => s,3,SetVar,"loopCnt=0"
exten => s,4,Background(welcome)
exten => s,5,SetVar,"loopCnt=$[${loopCnt} + 1]"
exten => s,6,gotoif,"$[${loopCnt} >= 3]?s|7:s|9"
exten => s,7,Background(vm-goodbye)
exten => s,8,Hangup
exten => s,9,Background(parties)
exten => s,10,ResponseTimeout(10)
exten => t,1,Goto,s|5
________________________________
From: asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Gene
Kochanowsky
Sent: Tuesday, March 30, 2004 7:46 PM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] Caller entered digits ignored during wait....
Greetings,
Below is part of the contents of my extensions.conf file.
exten => s,1,Wait,1 ; Wait a second before
answering.
exten => s,2,Answer
exten => s,3,ResponseTimeout,10 ; Set the amount of
time the user
; has to
make a selection.
exten => s,4,DigitTimeout,5 ; Set the amount of time
user has
; between
each number entry when
; dialing an
extension.
exten => s,5,Background(welcome)
exten => s,6,Background(parties)
exten => s,7,Wait(10)
exten => s,8,Background(parties)
exten => s,9,Wait(10)
exten => s,10,Background(vm-goodbye)
exten => s,11,Hangup
I can make a menu selection as long as Background is running however
during Wait(10) DTMF digits are ignored. How can I wait for a response
and register the response at the same time? I supposed I could create a
sound file of 10 second duration and play this but that seems kinda like
a hack to me.
Gene Kochanowky
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20040330/7a0b4132/attachment.htm
Sean Cheesman
2004-Mar-30 19:03 UTC
[Asterisk-Users] Caller entered digits ignored during wait....
You could use the t extension to accomplish this. But if you're happy
with your way... :-)
Sean
-----Original Message-----
From: Gene Kochanowsky [mailto:gene@solutionsciences.com]
Sent: Tuesday, March 30, 2004 8:53 PM
To: asterisk-users@lists.digium.com
Subject: RE: [Asterisk-Users] Caller entered digits ignored
during wait....
I figured it out... This works -
exten => s,1,Wait,1 ; Wait a
second before answering.
exten => s,2,Answer
exten => s,3,SetVar,"loopCnt=0"
exten => s,4,Background(welcome)
exten => s,5,SetVar,"loopCnt=$[${loopCnt} + 1]"
exten => s,6,gotoif,"$[${loopCnt} >= 3]?s|7:s|9"
exten => s,7,Background(vm-goodbye)
exten => s,8,Hangup
exten => s,9,Background(parties)
exten => s,10,ResponseTimeout(10)
exten => t,1,Goto,s|5
_____
From: asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Gene
Kochanowsky
Sent: Tuesday, March 30, 2004 7:46 PM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] Caller entered digits ignored during
wait....
Greetings,
Below is part of the contents of my extensions.conf file.
exten => s,1,Wait,1 ; Wait a
second before answering.
exten => s,2,Answer
exten => s,3,ResponseTimeout,10 ; Set the
amount of time the user
;
has to make a selection.
exten => s,4,DigitTimeout,5 ; Set the amount
of time user has
;
between each number entry when
;
dialing an extension.
exten => s,5,Background(welcome)
exten => s,6,Background(parties)
exten => s,7,Wait(10)
exten => s,8,Background(parties)
exten => s,9,Wait(10)
exten => s,10,Background(vm-goodbye)
exten => s,11,Hangup
I can make a menu selection as long as Background is running
however during Wait(10) DTMF digits are ignored. How can I wait for a
response and register the response at the same time? I supposed I could
create a sound file of 10 second duration and play this but that seems
kinda like a hack to me.
Gene Kochanowky
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20040330/be27a728/attachment.htm
willy@yponeinc.com
2004-Mar-30 19:54 UTC
[Asterisk-Users] Caller entered digits ignored during wait....
That's what the 'silence' files were invented for. See loligo.com (forgot the exact reference, but do a wiki for J Todd's sound files). Yes, it's a hack, but it works. Cheers, Willy ----- Original Message Follows -----> Greetings, > > > > Below is part of the contents of my extensions.conf file. > > > > exten => s,1,Wait,1 ; Wait a > second before answering. > > exten => s,2,Answer > > exten => s,3,ResponseTimeout,10 ; Set > the amount of time the user > > > ; has to make a selection. > > exten => s,4,DigitTimeout,5 ; Set the > amount of time user has > > > ; between each number entry when > > > ; dialing an extension. > > exten => s,5,Background(welcome) > > exten => s,6,Background(parties) > > exten => s,7,Wait(10) > > exten => s,8,Background(parties) > > exten => s,9,Wait(10) > > exten => s,10,Background(vm-goodbye) > > exten => s,11,Hangup > > > > I can make a menu selection as long as Background is > running however during Wait(10) DTMF digits are ignored. > How can I wait for a response and register the response at > the same time? I supposed I could create a sound file of > 10 second duration and play this but that seems kinda like > a hack to me. > > > > Gene Kochanowky > >Willy Wouters ypOne Publishing
Gene Kochanowsky
2004-Mar-30 19:56 UTC
[Asterisk-Users] Caller entered digits ignored during wait....
How would you use the t extension to accomplish this?
Gene
________________________________
From: asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Sean
Cheesman
Sent: Tuesday, March 30, 2004 9:03 PM
To: asterisk-users@lists.digium.com
Subject: RE: [Asterisk-Users] Caller entered digits ignored during
wait....
You could use the t extension to accomplish this. But if you're happy
with your way... :-)
Sean
-----Original Message-----
From: Gene Kochanowsky [mailto:gene@solutionsciences.com]
Sent: Tuesday, March 30, 2004 8:53 PM
To: asterisk-users@lists.digium.com
Subject: RE: [Asterisk-Users] Caller entered digits ignored
during wait....
I figured it out... This works -
exten => s,1,Wait,1 ; Wait a
second before answering.
exten => s,2,Answer
exten => s,3,SetVar,"loopCnt=0"
exten => s,4,Background(welcome)
exten => s,5,SetVar,"loopCnt=$[${loopCnt} + 1]"
exten => s,6,gotoif,"$[${loopCnt} >= 3]?s|7:s|9"
exten => s,7,Background(vm-goodbye)
exten => s,8,Hangup
exten => s,9,Background(parties)
exten => s,10,ResponseTimeout(10)
exten => t,1,Goto,s|5
________________________________
From: asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Gene
Kochanowsky
Sent: Tuesday, March 30, 2004 7:46 PM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] Caller entered digits ignored during
wait....
Greetings,
Below is part of the contents of my extensions.conf file.
exten => s,1,Wait,1 ; Wait a
second before answering.
exten => s,2,Answer
exten => s,3,ResponseTimeout,10 ; Set the
amount of time the user
;
has to make a selection.
exten => s,4,DigitTimeout,5 ; Set the amount
of time user has
;
between each number entry when
;
dialing an extension.
exten => s,5,Background(welcome)
exten => s,6,Background(parties)
exten => s,7,Wait(10)
exten => s,8,Background(parties)
exten => s,9,Wait(10)
exten => s,10,Background(vm-goodbye)
exten => s,11,Hangup
I can make a menu selection as long as Background is running
however during Wait(10) DTMF digits are ignored. How can I wait for a
response and register the response at the same time? I supposed I could
create a sound file of 10 second duration and play this but that seems
kinda like a hack to me.
Gene Kochanowky
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20040330/d12c7f7e/attachment.htm
Tilghman Lesher
2004-Mar-30 22:46 UTC
[Asterisk-Users] Caller entered digits ignored during wait....
On 2004 Mar 30, at 20:56, Gene Kochanowsky wrote:> How would you use the t extension to accomplish this?exten => s,1,Wait(1) exten => s,2,Answer exten => s,3,SetVar(loopCnt=0) exten => s,4,Background(welcome) exten => s,5,Background(parties) exten => t,1,SetVar(loopCnt=$[${loopCnt} + 1]) exten => t,2,GotoIf($[${loopCnt} < 3]?s|4) exten => t,3,Background(vm-goodbye) exten => t,4,Hangup -Tilghman