Hi there!
I’m just wondering if anyone else has noticed the delayed paging code used is no longer working since upgrading to Freepbx 17? It’s from many years back, so I can only assume something may have changed. It was free… worked great and for our use, did the job well.
Normal paging works perfect. When we dial 8100 to do delayed paging.. it plays the announcement, beep and acts like it’s recording. You press pound to end, and it sends a page out, but no audio from the recording plays.
Here is the old code… Perhaps I’m missing something that changed that someone else has discovered?
; Delayed paging. It this case, you dial 3205 to activate the paging system
; This context records your page, creates a call file that plays the message
; back. Extension 3206 actually plays back the file once the paging system
; answers. The third line of 3205 is used to set the extension number of your
; paging system.
exten => 8100,1,Answer
exten => 8100,2,Wait(2)
exten => 8100,n,set(pageext=“local/8000@from-internal”)
exten => 8100,n,flite(Record your page for all phones after the tone. Then press the pound key!)
exten => 8100,n,record(asterisk-recording:ulaw)
exten => 8100,n,system(echo “Channel: ${pageext}” > /var/spool/asterisk/tmp/john.call)
exten => 8100,n,system(echo “WaitTime: 30” >> /var/spool/asterisk/tmp/john.call)
exten => 8100,n,system(echo “Context: from-internal” >> /var/spool/asterisk/tmp/john.call)
exten => 8100,n,system(echo “Extension: 8110” >> /var/spool/asterisk/tmp/john.call)
exten => 8100,n,system(echo “Priority: 1” >> /var/spool/asterisk/tmp/john.call)
exten => 8100,n,system(chmod 777 /var/spool/asterisk/outgoing/john.call)
exten => 8100,n,system(mv /var/spool/asterisk/tmp/john.call /var/spool/asterisk/outgoing/)
exten => 8100,n,hangup()
exten => 8110,1,Macro(user-callerid,)
exten => 8110,n,playback(beep)
exten => 8110,n,Wait(4)
exten => 8110,n,playback(asterisk-recording)
exten => 8110,n,Wait(2)
exten => 8110,n,Hangup