You don't have to put this in the dialplan. It's one of those low-level functions in Asterisk (possibly controlled at the driver level-- I'm not sure about that). If you have an extension defined, pick up the handset and dial '*78', you should see on the Asterisk CLI:
Enabled DND on channel <whatever>
And then if someone tries to call that channel, they'd get handled as if the person had the phone off the hook, even if it weren't. It's that simple. To turn it back off, you use '*79'.
jl
p.s. I think I actually added that info that you quoted from voip-info. If you think it's unclear, grab an account and reword it!
Stephen Rosebush wrote:
I quote from the wiki on voip-info:
In Asterisk, DND is controlled by dialing: *78 to turn *on* Do Not Disturb mode and *79 to turn *off* Do Not Disturb mode
How would one implement this?? I've seen dialplans that created these extensions and you would need to use the Asterisk DB to set the DND flag on or off.. I am still pretty new and I would like to know how to implement this and maybe some other 'star' services?
Thanks a bunch guys!
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
