≡ Dial()
I’m sure everyone knows what Dial() does - or can visit voip-info.org to find out. I’m going to quickly go over a couple tricks that weren’t so obvious to me at first.
Hunting
If you reach a Dial() in your application and the line is busy, you can simply specify another Dial immediately below it to send the call to another extension.
exten => s,1,Dial(SIP/200) ; if this dial exits non-zero (busy) we move to the next one
exten => s,2,DIal(SIP/300)
You can chain as many of these you need to get a “call hunt” type feature.
Simultaneous Dialing
You can also specify multiple channels to dial from a single dial command.
exten => s,1,Dial(SIP/200&SIP/300&SIP/400)
In the above example, all three extensions would ring at the same time. The first one to answer takes the call.
Enjoy.
- the evil genius

