[app-pagegroups]
include => app-pagegroups-custom
exten => 11111,1,Macro(user-callerid,)
exten => 11111,n,Set(_PAGEGROUP=11111)
exten => 11111,n(busy-check),GotoIf($[${TRYLOCK(apppagegroups11111)}]?:busy)
exten => 11111,n(devstate),Set(DEVICE_STATE(Custom:PAGE11111)=INUSE)
exten => 11111,n,Gosub(app-paging,ssetup,1())
exten => 11111,n,Set(PAGEMODE=SPAGE)
exten => 11111,n,Set(PAGE_MEMBERS=22222-33333-44444-55555)
exten => 11111,n,Set(PAGE_CONF_OPTS=)
exten => 11111,n,Set(ANNOUNCEMENT=custom/sirena-9db)
exten => 11111,n(agi),AGI(page.agi)
exten => 11111,n,Set(CONFBRIDGE(user,template)=page_user_duplex)
exten => 11111,n,Set(CONFBRIDGE(user,admin)=yes)
exten => 11111,n,Set(CONFBRIDGE(user,marked)=yes)
exten => 11111,n,Answer
exten => 11111,n(page),ConfBridge(${PAGE_CONF},,,admin_menu)
exten => 11111,n,Hangup
exten => 11111,n(busy),Set(PAGE${PAGEGROUP}BUSY=TRUE)
exten => 11111,n(play-busy),Busy(3)
exten => 11111,n(busy-hang),Goto(app-pagegroups,h,1)
exten => h,1,ExecIf($[${ISNULL(${PAGE${PAGEGROUP}BUSY})}]?Set(DEVICE_STATE(Custom:PAGE${PAGEGROUP})=NOT_INUSE))
;--== end of [app-pagegroups] ==--;