[Asterisk-Users] Dynamic Dialplan - Turn VM on/off?

Rod Bacon rod.bacon at empoweredcomms.com.au
Sun Apr 17 23:25:25 MST 2005


Thanks Boris. I think I can follow that logic!


----- Original Message ----- 
From: "Boris Bakchiev" <boris at jildent.com.au>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" 
<asterisk-users at lists.digium.com>
Sent: Monday, April 18, 2005 4:17 PM
Subject: RE: [Asterisk-Users] Dynamic Dialplan - Turn VM on/off?


Rod,

Here is my macro for this:

[macro-sipexten]
exten => a,1,VoicemailMain(${ARG1})
exten => a,2,Hangup()
exten => s,1,DBGet(NATIMEOUT=Features/${EXTEN}/NATIMEOUT)
exten => s,2,Dial(${ARG2},${NATIMEOUT})
exten => s,3,Goto(s-${DIALSTATUS},1)
exten => s,102,Goto(s,350)
exten => s,350,SetVar(NATIMEOUT=30)
exten => s,351,Goto(s,2)

As you can see it picks it up from DB with default being 30secs if no DB
entry exist.



> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] On Behalf Of Rod Bacon
> Sent: Monday, 18 April 2005 15:58
> To: asterisk-users at lists.digium.com
> Subject: [Asterisk-Users] Dynamic Dialplan - Turn VM on/off?
>
> G'day. I've been working with * for some time now, but mostly from a
> enterprise perspective. I've just setup my own box at home and want to
> enable some more "home user" type functionality.
>
> Does anyone have a trick to allow the dynamic modification of the
> dialplan by users? I want the ability to switch voicemail on/off (or
at
> least alter the timeout).
>
> In essence, I want to simulate the act of manually turning an
answering
> machine on when you leave home (for my wife).
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users


This message (and any associated files) is intended only for the use of =he 
individual or entity to which it is addressed and may contain =nformation 
that is confidential, subject to copyright or constitutes a =rade secret. If 
you are not the intended recipient you are hereby =otified that any 
dissemination, copying or distribution of this =essage, or files associated 
with this message, is strictly prohibited. =f you have received this message 
in error, please notify us immediately =y replying to the message and 
deleting it from your computer. Messages =ent to and from us may be 
monitored...

Internet communications cannot be guaranteed to be secured or error-free =s 
information could be intercepted, corrupted, lost, destroyed, arrive =ate or 
incomplete, or contain viruses. Therefore, we do not accept =esponsibility 
for any errors or omissions that are present in this =essage, or any 
attachment, that have arisen as a result of e-mail =ransmission. If 
verification is required, please request a hard-copy =ersion. Any views or 
opinions presented are solely those of the author =nd do not necessarily 
represent those of the company.


_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list