Ring Group Problem w/Unavailable Extensions

I have setup a ring group with several extensions. Sometimes one of the extensions is not connected due to an Internet outage. When the ring group is selected, it rings once and then we get “The person at extension 404 is unavailable…” No one has a chance to answer the phone.

How do I keep this from happening?

Define ring group ? Are you using a GUI or are you writing it yourself in the conf. files ?

I’m using FreePBX to define a ring group. The problem is when extension 404 goes offline.

[ext-group]
include => ext-group-custom
exten => 1,1,Macro(user-callerid,)
exten => 1,n,GotoIf($["${CALLERID(name):0:${LEN(${RGPREFIX})}}" != “${RGPREFIX}”]?NEWPREFIX)
exten => 1,n,Set(CALLERID(name)=${CALLERID(name):${LEN(${RGPREFIX})}})
exten => 1,n(NEWPREFIX),Set(RGPREFIX=)
exten => 1,n,Set(CALLERID(name)=${RGPREFIX}${CALLERID(name)})
exten => 1,n,Set(RecordMethod=Group)
exten => 1,n,Macro(record-enable,115-118-402#-404#,${RecordMethod})
exten => 1,n,Set(RingGroupMethod=ringall)
exten => 1,n(DIALGRP),Macro(dial,20,${DIAL_OPTIONS},115-118-402#-404#)
exten => 1,n,Set(RingGroupMethod=)
exten => 1,n,Hangup
exten => 2,1,Macro(user-callerid,)
exten => 2,n,GotoIf($["${CALLERID(name):0:${LEN(${RGPREFIX})}}" != “${RGPREFIX}”]?NEWPREFIX)
exten => 2,n,Set(CALLERID(name)=${CALLERID(name):${LEN(${RGPREFIX})}})
exten => 2,n(NEWPREFIX),Set(RGPREFIX=Sales:)
exten => 2,n,Set(CALLERID(name)=${RGPREFIX}${CALLERID(name)})
exten => 2,n,Set(RecordMethod=Group)
exten => 2,n,Macro(record-enable,115-118,${RecordMethod})
exten => 2,n,Set(RingGroupMethod=ringall)
exten => 2,n(DIALGRP),Macro(dial,30,${DIAL_OPTIONS},115-118)
exten => 2,n,Set(RingGroupMethod=)
exten => 2,n,Goto(ext-group,1,1)
exten => 3,1,Macro(user-callerid,)
exten => 3,n,GotoIf($["${CALLERID(name):0:${LEN(${RGPREFIX})}}" != “${RGPREFIX}”]?NEWPREFIX)
exten => 3,n,Set(CALLERID(name)=${CALLERID(name):${LEN(${RGPREFIX})}})
exten => 3,n(NEWPREFIX),Set(RGPREFIX=SpinBox:)
exten => 3,n,Set(CALLERID(name)=${RGPREFIX}${CALLERID(name)})
exten => 3,n,Set(RecordMethod=Group)
exten => 3,n,Macro(record-enable,115-118,${RecordMethod})
exten => 3,n,Set(RingGroupMethod=ringall)
exten => 3,n(DIALGRP),Macro(dial,30,${DIAL_OPTIONS},115-118)
exten => 3,n,Set(RingGroupMethod=)
exten => 3,n,Goto(ext-group,2,1)

Too tired to go thru the code. I have this in my system and it works fine:
exten => 1234,1,Dial(SIP/100&SIP/101&SIP/102)
If the phone is offline it just throws an error in the CLI.

Great! How do I specifiy an external extension in that dial list? I have an IAX2 truck to another server where the 404 extension I’m having problems with is located.

You can try the local command (see: voip-info.org/wiki/index.php … l+channels) see if that works.

So you would have:
Exten => 1234,1,Dial(SIP/10&SIP/11&Local/15@context&SIP/12)