Re: [asterisk-users] voicemail number of rings

2009-04-24 Thread Danny Nicholas
Here's a hack to implement this feature
Create global variable RINGS
Use playback and read to let user enter new number
Set RINGS to entered value
Change dial command(s) to include ${RING}

Here's a snippet from my dialplan that changes the default operator
exten = 644,1(start7),Playback(record/nightopext)
exten = 644,n,NoOp(executando - ${extensao} - )
exten = 644,n,BackGround(beep)
exten = 644,n,Read(digito,,3)
exten = 644,n,Gotoif($[ ${LEN(${digito})} != 3]?start7)
exten = 644,n,SayDigits(${digito})
exten = 644,n,Set(GLOBAL(NIGHTOP)=${digito})
exten = 644,n,Set(DB(Nightop/ext)=${digito})
exten = 644,n,BackGround(vm-goodbye)
exten = 644,n,Hangup()

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Adam Moffett
Sent: Friday, April 24, 2009 3:19 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] voicemail number of rings

I'd be really happy if users could use the voicemail menu to change the 
number of rings until voicemail picks up.

It seems like the current model of separate Dial and Voicemail commands 
would make that difficult, but is there any plan for such a feature in 
the future?  How about a workaround or 3rd party add on?

I store the dial timeout for each user in a database, so I know I could 
make my own little menu for them to set the number of seconds, but 
people are always a little stupefied by the fact that it's not on the 
voicemail menu. 

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


Re: [asterisk-users] voicemail number of rings

2009-04-24 Thread Philipp Kempgen
Adam Moffett schrieb:
 I'd be really happy if users could use the voicemail menu to change the 
 number of rings until voicemail picks up.
 
 It seems like the current model of separate Dial and Voicemail commands 
 would make that difficult, but is there any plan for such a feature in 
 the future?  How about a workaround or 3rd party add on?
 
 I store the dial timeout for each user in a database, so I know I could 
 make my own little menu for them to set the number of seconds, but 
 people are always a little stupefied by the fact that it's not on the 
 voicemail menu. 

There's my MiniVM by Olle the great.
http://www.asterisk.org/doxygen/trunk/Config_minivm_examples.html
http://www.voip-info.org/wiki/view/Asterisk+cmd+MiniVM
http://www.das-asterisk-buch.de/2.1/minivm.html


Philipp Kempgen
-- 
AMOOCON 2009, May 4-5, Rostock / Germany   -  http://www.amoocon.de
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  -  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
-- 

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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