SIP device status

Hi There,

I am trying to ascertain the status of a sip device, if it is available for calls or if the user has set their SIP device to DND. I understand that the SIP device’s DND functionality is independent of Asterisk and that no message is sent to asterisk to indicate this.

What I have learned however is that when a call tries to connect to the device, it shows in asterisk logs on the CLI as a ‘480’ message.

Is there a command I can execute from the CLI that would return this same message?


Well there is no such CLI command to get 480 as a status for endpoint(that’s actually a SIP Response from the endpoint for your call ).
However you should check … VICE_STATE to see if that serves your purpose.

–Satish Barot

You may also want to look at the DIALSTATUS. Depending on the type of phone, you may be able to set that button to show presence and use a DND hint.