Skip to main content

Day / Night Mode - Feature code

Posted by AdrianSimpson on Fri, 09/27/2019

Hi All,

We are installing a PBX for a customer that used to have shorcut/feature button on thier phone simply to put the system in to night mode / day mode.

We would like to replicate this - I know the feature code for the day / night mode is an IVR system which you have to listen to then press X etc... - I just wondered if there was more of a direct route / feature code to press and simply put into either mode.

Would i need to produce my own script?

Any response appreciated.

Thanks
Adrian


Submitted by AdrianSimpson on Tue, 10/01/2019 Permalink

HI Volodya,

Thanks for this, I have made 2 scripts, and added a UK voice file instead of the tl/daymode

exten => s,1,Answer
exten => s,n,Set(result=${TL_SET_OFFICEMODE(${tenant},day)})
exten => s,n,Playback(tl/day-mode)
exten => s,n,Hangup

Worked perfectly, thanks again