
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Advanced Call-Handling Applications
|
105
the next call comes to the ring group. An example of a ring group configuration
using Asterisk is given in Chapter 4.
Project 5.3. Set Up a Private Hunt Group
What you need for this project:
• Asterisk
• At least two SIP phones (soft or hard)
• LAN
To configure Asterisk for a sequential hunt group of private phones, let’s start with
the extension configuration (extensions.conf) for the IP phones used in the last cou-
ple of examples:
exten => 103,1,Dial(SIP/103,40,r)
exten => 104,1,Dial(SIP/104,40,r)
Consider that extensions 103 and 104 both ring a SIP phone for 40 seconds each,
individually. A hunt group would ring them both, one at a time for a certain dura-
tion, in sequence. Here’s a bit of dial-plan that establishes a sequential ring group at
extension number 100 consisting of SIP phones 103 and 104:
exten => 100,1,Dial(SIP/103,10,r)
exten => 100,2,Dial(SIP/104,10,r)
So, 100’s first priority is to attempt to connect the call on SIP phone 103. It rings that
phone for 10 seconds before giving up and going on to its next priority, which is to
ring SIP phone 104. It’s the second property of the
exten declaration that assigns a
priority—check out Chapter 17 for the details on the
exten declaration in Asterisk.
Add cell phone bridging to this hunt group ...