[asterisk-users] dynamically modifying the dialplan?

Vicky vicky.r at gmail.com
Sun Nov 12 06:58:34 MST 2006


I think its same as DND (do not disturb ) . It can be activated by *78 and
deactivated by *79 . I use freepbx for configuration so i am not sure if its
there in default asterisk setup . I snipped some part of my configuration
from freepbx's config files

[app-dnd-on]
exten => *78,1,Answer
exten => *78,n,Wait(1)
exten => *78,n,Macro(user-callerid,)
exten => *78,n,Set(DB(DND/${CALLERID(number)})=YES)
exten => *78,n,Playback(do-not-disturb&activated)
exten => *78,n,Macro(hangupcall,)

[app-dnd-off]
exten => *79,1,Answer
exten => *79,n,Wait(1)
exten => *79,n,Macro(user-callerid,)
exten => *79,n,dbDel(DND/${CALLERID(number)})
exten => *79,n,Playback(do-not-disturb&de-activated)
exten => *79,n,Macro(hangupcall,)





On 12/11/06, Norbert Zawodsky <norbert at zawodsky.at> wrote:
>
> Hi Brian,
>
> many thanks to you for your answers in the past! The always gave me the
> little bit of mising information...
> My Asterisk box is running fine now so I want to try the "next step"...
>
> And now to all of you ....
>
> What I want to implement is to use 1 button of my snom-360 phone for
> following purpose:
>
> If I leave my desk I press this button. A light should show up as an
> indicator/reminder. From this moment all calls to my extension should
> immediately be transferred to my voicemail box.
>
> When I return I press the button again, the light goes off and all calls
> to my extension should ring my phone again.
>
> Now, can I achieve this with a static dialplan in extensions.conf or do
> I have to use all that Realtime + DB magic?
>
> Many thanks,
> Norbert
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061112/d61a49bc/attachment.htm


More information about the asterisk-users mailing list