Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

As I saw some Asterisk love on here when I did a quick search, thought I'd ask if anyone knows of a way to have the "do not disturb" function on an asterisk phone time out after say 5 minutes.

In our call centre, we get phones put on do not disturb, then have them minimised and "forgotten" about, so I would love to be able to put a time limit on this function.

Did some digging, but didn't turn anything up. Any ideas?

Using tribox if that's any consideration.



share|improve this question
up vote 1 down vote accepted

When you press DND on a phone no signal (SIP message) is sent to Asterisk, it only sets a local DND state on the phone (please reject all my calls). Therefor, there is no way you can timeout a DND from Asterisk. As stated before, it should be a feature found on the phone (I do not know any phone that will do that dough)

What you can do is tell if a phone is on DND status after dialing into it, as it should answer with a

Got SIP response 480 "Do Not Disturb" back from

In that way, you can find out if an extension is set to DND and take some measure on it after dialing into it.

By the way, DND should be prohibited by law on a callcenter :-)

share|improve this answer

That's going to be a feature of the softphone you're using rather than asterisk itself (unless you're dialling a code to activate DND).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.