I've been working on writing a subroutine to page groups of phones at once
and I'm having some difficulty.
My goal is to have a user call an extension, I record the page they wish to
play, I then page out that recorded file to the phones in groups.
[sub-masspage]
exten => s,1,NoOP
same => n,
I wanted to follow up that I had solved my issue to my satisfaction and
share the dialplan that did so.
[sub-masspage]
exten => s,1,NoOP
same => n,Answer
same => n,Set(filename=PAGE)
same => n,Wait(1)
same => n,Record(pagequeue/${filename}%d.gsm,0,60,yk)
same =>
n,Set(DURATION=$[CEIL(