[Asterisk-Users] Very complicated dialplans?

Doug Lytle support at drdos.info
Fri Aug 5 18:31:34 MST 2005


Arik Funke wrote:

> 1. ring phones 1,2,3 monday to friday between 9:00 and 20:00; if no 
> answer after 15 sec also ring phones 4 and 5

[incoming]

exten => s,1,GotoIfTime(09:00-20:00|mon-fri|*|*?phone-rings,s,1)
exten => s.2.Hangup()


[phone-rings]

exten => s,1,Dial(SIP/PHONE1,15,rt)
exten => s,2,Dial(SIP/PHONE4,15,rt)


And so on and so forth, you get the idea.

Doug




More information about the asterisk-users mailing list