This is probably very small fry for most of you but I found it very satisfying.
I have been having problems with the Paging/Intercom module either adding beeps where they aren’t wanted or not adding them where they are.
Anyway I managed to set it up such that for feature code paging extensions I could either have a beep or not have a beep.
But for *80 calls I still lacked a beep. I think it’s courteous to let people know they’re suddenly in an intercom call.
So I added [app-paging] to extensions override
[app-paging]
include => app-paging-custom
exten => ssetup,1,Set(_SIPURI=)
exten => ssetup,n,Set(_ALERTINFO=Ring Answer)
exten => ssetup,n,Set(_CALLINFO=<uri>\;answer-after=0)
exten => ssetup,n,Set(_SIPURI=intercom=true)
exten => ssetup,n,Set(_DTIME=5)
exten => ssetup,n,Set(_ANSWERMACRO=)
exten => ssetup,n,Set(PAGE_CONF=${EPOCH}${RAND(100,999)})
exten => ssetup,n,Return()
exten => _PAGE.,1(SKIPCHECK),Macro(autoanswer,${EXTEN:4})
exten => _PAGE.,n,Noop(${EXTRINGTIME})
exten => _PAGE.,n,GotoIf($["${EXTRINGTIME}" != "true"]?doptions)
exten => _PAGE.,n,Set(_DTIME=${RINGTIMER_DEFAULT})
exten => _PAGE.,n,ExecIf($["${DB(AMPUSER/${EXTEN:4}/ringtimer)}" != "" & ${DB(AMPUSER/${EXTEN:4}/ringtimer)} > 0]?Set(_$
exten => _PAGE.,n(doptions),ExecIf($["${DOPTIONS}" = ""]?Set(_DOPTIONS=b(autoanswer^s^1(${ALERTINFO},${CALLINFO}))))
exten => _PAGE.,n,Dial(${DIAL},${DTIME}**,A(beep)${**DOPTIONS})
exten => _PAGE.,n(skipself),Hangup
exten => _SPAGE.,1(chanspy),ChanSpy(${SP_DEVICE}-,qW)
exten => _SPAGE.,n,Hangup
;--== end of [app-paging] ==--;
and I’ve added (beep) into the fourth line of code. Works a treat!