This configures a ‘virtual’ extension that rings a group of phones¬†simultaneously, stopping when any one of them is picked up.

For this we need to create Ringgroup and add extensions. Then create context for incoming calls so that when someone calls the DID, it will go to the ring group.

[ext-did-0002]

include => ext-did-0002-custom

exten => fax,1,Goto(ext-fax,in_fax,1)

exten => 19499300360,1,Set(__FROM_DID=${EXTEN})

exten => 19499300360,n,Gosub(app-blacklist-check,s,1)

exten => 19499300360,n,ExecIf($[ “${CALLERID(name)}” = “” ] ?Set(CALLERID(name)=${CALLERID(num)}))

exten => 19499300360,n,Set(__CALLINGPRES_SV=${CALLERPRES()})

exten => 19499300360,n,Set(CALLERPRES()=allowed_not_screened)

exten => 19499300360,n,Goto(600@ext-group,s,1)

where 600@ext-group is the ring group