[Asterisk-Users] * does not listen to DTMF during wait ?

Gary White (Network Administrator) admin at netpathway.com
Sun Nov 7 10:06:09 MST 2004


What about

AbsoluteTimeout(seconds)
T (capital T): Timeout on AbsoluteTimeout

exten => s,n,AbsoluteTimeout(15)

exten => T,1,Playback(goodbye)

> Damon Estep wrote:
>  > I also tried RepsonseTimeout but then you can only have one timeout
>
>> event (ie hangup). Sure would be nice to specify progressive timeout,
>> like on first timeout goto, on second timeout hangup.
>> I assume loligo/silence/10 is an empty gsm file that I have not
>> installed...
>
>
> [auto-attendent]
> ;
> ; Auto Attendent
> ;
> exten => s,1,SetVar(SAVED_CONTEXT=incoming)
> exten => s,2,SetVar(COUNT=1)
> exten => s,3,Answer
> exten => s,4,DigitTimeout(5)
> exten => s,5,ResponseTimeout(7)
> exten => s,6,Wait(.5)
> exten => s,7,Background(if-u-know-ext-dial)
>
> exten => t,1,GotoIf($[${COUNT} = 3]?exit,1)
> exten => t,2,SetVar(COUNT=$[${COUNT} + 1])
> exten => t,3,Goto(s,7)
>
>
> exten => i,1,GotoIf($[${COUNT} = 3]?exit,1)
> exten => i,2,SetVar(COUNT=$[${COUNT} + 1])
> exten => i,3,Playback(extension)
> exten => i,4,SayDigits(${INVALID_EXTEN})
> exten => i,5,Wait(.5)
> exten => i,6,Playback(pbx-invalid)
> exten => i,7,Goto(s,6)
>
>
> exten => exit,1,Playback(goodbye)
> exten => exit,2,Wait(3)
> exten => exit,3,Hangup
>
>
> include => extensions
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users



-- 
Gary White                                  admin at netpathway.com
Network Administrator                           Internet Pathway
105 D East Church Street                     Voice: 601-776-3355
P. O. Box 777                                  Fax: 601-776-2314
Quitman, MS 39355            Registered Linux User Number 198875 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3182 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20041107/3490f001/smime.bin


More information about the asterisk-users mailing list