Displaying 1 result from an estimated 1 matches for "pagequeue".
2013 Dec 06
1
Paging in waves.
...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-moment-please)
same => n,Set(MUTEAUDIO(all)=on)
same => n,SIPAddHeader(Alert-Info: RingAnswer)
same => n,SipAddHeader(Call-I...