[Asterisk-Users] Question about ring groups and ext. busy in call

Cullin J. Wible cwible at algorim.com
Mon Jun 26 20:59:54 MST 2006


There is a difference between call waiting (a single line with multiple call
instances) and a multi-line phone.
 
We use a Polycom phone that has 3 lines with a single call instance per
line. The configuration is set so that once a line has a single call it will
return busy.
 
Therefore, we have use the local channels to acheive the functionality that
you are looking for as outlined below. It results in a number of macro's
being run in parallel, but as long as you have enough horse power it
shouldn't be a problem.
 
Hope that helps.
 
 
Cullin J. Wible
Co-Founder & CTO
Email Data Source, Inc.
212-514-8900 x1006
 
 
 
 
exten => all,1,Dial(local/SIP-0004f2026a53&local/SIP-0004f2035e5f)
 
exten =>
SIP-0004f2026a53,1,Macro(exten-chain,SIP/0004f2026a53-1,SIP/0004f2026a53-2,S
IP/0004f2026a53-3)
exten =>
SIP-0004f2035e5f,1,Macro(exten-chain,SIP/0004f2035e5f-1,SIP/0004f2035e5f-2,S
IP/0004f2035e5f-3)
 
;
; Ring a chain of two devices (no voicemail):
;   ${ARG1} - Device(s) to ring
;   ${ARG2} - Device(s) to ring (when busy)
;   ${ARG3} - Device(s) to ring (when busy)
;
[macro-exten-chain]
exten => s,1,Playtones(ring)
exten => s,2,Dial(${ARG1}, 30, r)                       ; do the call
exten => s,3,Goto(207)                                  ; error, busy
 
exten => s,103,GotoIf($[ "${ARG2}" != "" ]?104:207); try the 2nd device
exten => s,104,Dial(${ARG2}, 30, r)                     ; do the call
exten => s,105,Playtones(busy)                          ; play busy
exten => s,106,Busy()                                   ; mark busy
 
exten => s,205,GotoIf($[ "${ARG3}" != "" ]?206:207); try the 3rd device
exten => s,206,Dial(${ARG3}, 30, jr)                    ; do the call
exten => s,207,Playtones(busy)                          ; play busy
exten => s,208,Busy()                                   ; mark busy
 
exten => i,1,Playtones(busy)
exten => i,2,Busy()
 
exten => t,1,Playtones(busy)
exten => t,2,Busy()


  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Chris Sutton
Sent: Monday, June 26, 2006 11:15 PM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Question about ring groups and ext. busy in call



I have a ring group set up with 3 extensions. we'll use 14, 15 and 16.

 

When a call comes in, it rings all three extensions.  If one particular
extension already is on the phone, it completely skips that phone and only
rings the other 2.  Example to explanation sake is:

 

Call comes in, ext. 14 is already in the middle of a call, 15 and 16 will
ring normally, but 14 does not have any indication that another call came
in.

 

What I'm trying to accomplish is:

 

I would like the ring group to always ring all 3 phones, even if one is on
the phone.  Similar to call waiting I guess. on the "multi-line" phones, it
could ring line 2 or 3 or which ever line is available if that phone is
already in progress.

 

This is necessary because some times there is only 1 person in the office
and may not always be able to hear the other phones ringing. 

 

Call pick up is not what I'm looking for.. (mainly because again, the person
may not hear/know the other phones are ringing).

 

Thank you for any help!

 

Chris

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060626/f4fc7775/attachment.htm


More information about the asterisk-users mailing list