Multiple Ring group / Multiple missed call

Discussion in 'General' started by Patrick_elx, Feb 4, 2009.

  1. Patrick_elx

    Joined:
    Dec 14, 2008
    Messages:
    1,120
    Likes Received:
    0
    I wanted on an incoming call to have extension 101 and 102 ring then if no answer before two rings ring more extensions 103,104 etc...

    My setup:
    ring group A with 101 and 102 and a 8 second delay, if no answer then go to ring group B

    Ring group B with extension 101, 102, 103, 104 etc... if no answer within 30s then go to voice mail.

    inbound route to ring group A


    It's working great, however:
    - extension 101 & 102 will see two missed call instead of one.
    - you have to time properly the delay of ring group A to avoid a weird ring pattern on extensions 101 & 102 when switching to ring group B
    - it increases traffic by having to release the call then recreating it for the ring group A extensions

    Is there a better way to do it?
     
  2. Patrick_elx

    Joined:
    Dec 14, 2008
    Messages:
    1,120
    Likes Received:
    0
    To answer my own question to avoid the multiple missed calls and the recall of the same extension (thanks to voip-info.org).

    in extensions_custom.conf add:

    exten => _900XXXXX,1,Wait(${EXTEN:3:2})
    exten => _900XXXXX,2,Dial(SIP/${EXTEN:5})


    in ringgroup A enter

    101
    102
    90008103#
    90008104#
    etc

    no need for ringgroup B anymore.

    When the ringgroup is called it will ring 101 and 102 immediately and will wait 08 sec to ring 103 and 104.
    If 101 or 102 answer first, then 103 and 104 will not ring.
    Extensions 101 and 102 will see only one missed call (and not 2 like previously)
     

Share This Page