How to monitor the DND status on BLF

Download the putty: http://www.yeastar.com/download/tools/putty.exe

1.Enable the SSH service in Yeastar device (LAN setting> SSH enabled)

2.Enter Yeastar device’s server IP and SSH port(default is 8022)


3.Then configure the putty with enough lines:

4.Login the SSH with username/password: root/ys123456


5.Then input the commands:
cd /persistent/var/lib/asterisk/db/custom-cfg
6.Executive the command
vi extensions_custom.conf
7.suppose that you want to monitor the DND status of the extension 100, executive the command as the followings:
[en-dnd]
exten = *75,1,Answer

exten = *75,n,Set(DB(DND/${CONTEXT:13})=1)
exten = *75,n,Set(DEVICE_STATE(Custom:DND:${CALLERID(num)})=INUSE)
exten = *75,n,Wait(1)
exten = *75,n,Playback(beep)
exten = *75,n,Wait(1)
exten = *75,n,Hangup()
[dis-dnd]
exten = *075,1,Answer

exten = *075,n,Set(DB(DND/${CONTEXT:13})=0)
exten = *075,n,Set(DEVICE_STATE(Custom:DND:${CALLERID(num)})=NOT_INUSE)
exten = *075,n,Wait(1)
exten = *075,n,Playback(beep)
exten = *075,n,Wait(1)
exten = *075,n,Hangup()
[extensions-hintcontext]
exten = 100,hint,SIP/${EXTEN}&Custom:DND:${EXTEN}


8.Then press “esc”, then use command”:wq”and press” enter “to save the file
9.executive the command: mypbxconf
10.you can enter the comamnd:asterisk -vvvvvvvvvvvr

11.And executive the command to restart the MyPBX to make the file take effect: module reload
12.Also in the Yealink phone, you can set up as the followings:

After you have configured, when the extension presses the button *75, the blf key will become red, and when the extension presses the button *075, the blf key will become green.

 

 

Have more questions? Submit a request

3 Comments

  • 0
    Avatar

    Hello, can this be configured for all the extensions on a U510 that has the Call Center Application installed on it? If yes, what would be the procedure?

     

    Thanks!

  • 0
    Avatar

    How do I implement this on s50 ?

  • 0
    Avatar

    S series now still could not support monitor the DND status on BLF

Please sign in to leave a comment.