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
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,Backgrou
Title: Message
How would you use the t extension to
accomplish this?
Gene
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sean Cheesman
Sent: Tuesday, March 30, 2004 9:03
PM
To:
[EMAIL PROTECTED]
Subject: RE: [Asterisk-Users] Caller
entered digits ignored
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 fil
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 =>
Asterisk doesn't accept keys during wait, use Background
and play 1 sec silence instead.
/Stig
At 23:46 2004-03-30 -0600, you wrote:
>
>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