[Asterisk-Users] Caller entered digits ignored during wait....

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Tue Mar 30 22:46:13 MST 2004


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




More information about the asterisk-users mailing list