[Asterisk-Users] timed Loop
Chris
listmail at odisok.net
Mon Apr 11 14:58:22 MST 2005
That won't work on outgoing calls, will it?
Regard,
Chris
----- Original Message -----
From: "Eric Wieling aka ManxPower" <eric at fnords.org>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com>
Sent: Monday, April 11, 2005 2:46 PM
Subject: Re: [Asterisk-Users] timed Loop
>
> [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 => s,8,Background(company-dir-411)
>
> exten => 411,1,Goto(extensions,2110,1)
>
> exten => 0,1,Playback(pls-wait-connect-call)
> exten => 0,2,Goto(extensions,2100,1)
>
> 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
More information about the asterisk-users
mailing list