[asterisk-users] voicemail number of rings

Danny Nicholas danny at debsinc.com
Fri Apr 24 15:32:16 CDT 2009


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-bounces at lists.digium.com
[mailto:asterisk-users-bounces at 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




More information about the asterisk-users mailing list