Displaying 1 result from an estimated 1 matches for "masspag".
Did you mean:
masspage
2013 Dec 06
1
Paging in waves.
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,Answer
same => n,Set(filename=$PAGE)
same => n,Wait(1)
same => n,Record(pagequeue/${filename}%d.gsm,0,30,yk)
same =>
n,Set(DURATION=$[CEIL(${STAT(s,/var/lib/asterisk/sounds/${RECORDED_FILE}.gsm)}
/ 1650)])
same => n,Playback(one-mom...