[Asterisk-Users] extensions rules

steve steve at szmidt.org
Sat Mar 15 12:40:56 MST 2003


On Saturday 15 March 2003 14:23, Steven Critchfield wrote:
> On Sat, 2003-03-15 at 13:06, steve wrote:
> > Hi guys, I need a hand with extension rules. I just finished
> Think of priorities as line numbers in Basic, but with out gaps.

OK. Easy enough.

> > Example:
> > exten => s,1,Dial,Zap/2|5
> > exten => s,2,Voicemail,u100
> > exten => s,2,Background,demo-thanks
> > exten => s,3,Goto,2
> > exten => s,4,Hangup
> > exten => 1,1,Voicemail,u100
> > exten => 2,1,Goto,s|4
> > exten => i,1,Goto,s|2
> > exten => t,1,Goto,s|2

But why are we going back to 1 after menu? How do you know it's time 
to go back to 1.

> [example]
> exten => s,1,answer
> exten => s,2,Background,Your_greeting_file
> exten => s,3,Background,Your_menu_file
>
> exten => 1,1,Dial,Zap/2|5     ; maybe this should be longer
> exten => 1,2,Voicemail,u100   ; unavailable fall through
> exten => 1,102,Voicemail,b100  ; Busy skip n+101

Where did 101 come from?

> exten => 2,1,Hangup
>
> exten => t,1,Goto,s|3
>
> exten => i,1,Goto,s|3
>
>
>
> Hope this helps clear it up.

-- 

Steve Szmidt
___________________________________________________________
HTML in e-mail is not safe. It let's spammers know to spam you more,
and sets you up for online attack through IE 4.x and above.
Using HTML in e-mail only promotes it as safe to the uninitiated.





More information about the asterisk-users mailing list