Bruce McAlister
2010-Apr-20 13:34 UTC
[asterisk-users] Voice mail "maxmessage " setting per mail box
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi All, Is it at all possible to have the "maxmessage" setting on per user/mailbox value? We have a requirement whereby we want the global maxmessage setting to be 180 seconds per mail box, however, we would like to have certain users to be able to store longer voice mail messages. Is this at all doable in asterisk? Thanks Bruce -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJLza18AAoJEI3A8f8Te208X6gH/2HRXwVfEMfSAQqyKK6a4xAY hp4p4AeoqgEK+FjpHgT7wtkLYIoz+/hqIUOUT44W6RBaZ9cEsS6hEPZAhZj+e4qx 7RPQkuxI3UVULWxzCuE/H9lSh6hWH/x95PynvmHVBuxw/Mc5um1XnkC2dmoiwnHZ Jpzlu2SnQ/lkg7BhxDtPxM1g+bYpMbdzNWv64JEaP4MxClpupDJJXJ8ETdUR/P0m f4tsttsoI3XzAuvwrVrlr//ANYA03zk1RjUYY/0Wfpj3tfSnCd0+hDDEIKo1aGJa 8EOSQptiPaISYX5ZUi0xADZ0wreodFYgov7DVQaOqDs4huaDuwYZ+UILpQETTv0=gTui -----END PGP SIGNATURE-----
Danny Nicholas
2010-Apr-20 13:58 UTC
[asterisk-users] Voice mail "maxmessage " setting per mail box
The "Out of the box" answer is no. A "simple" workaround would be to have a second instance of Asterisk that you connect to via IAX to let the "special" group leave a longer message. Exten => s,1,noop(voicemail processing) Exten => s,n,Gotoif(..special..)?longmail Exten => s,n,Voicemail(${EXTEN}@default) Exten => s,n,Playback(vm-goodbye) Exten => s,n,hangup Exten => s,n(longmail),Dial(IAX2/longmail/${EXTEN},20,m) On server 2 User 100 Exten => 100,1,Voicemail(100 at default) Exten => 100,n,playback(vm-goodbye) Exten => 100,n,hangup Users 100-199 Exten => _1XX,1,Voicemail(${EXTEN}@default) Exten => _1XX,n,playback(vm-goodbye) Exten => _1XX,n,hangup -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Bruce McAlister Sent: Tuesday, April 20, 2010 8:35 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Voice mail "maxmessage " setting per mail box -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi All, Is it at all possible to have the "maxmessage" setting on per user/mailbox value? We have a requirement whereby we want the global maxmessage setting to be 180 seconds per mail box, however, we would like to have certain users to be able to store longer voice mail messages. Is this at all doable in asterisk? Thanks Bruce -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJLza18AAoJEI3A8f8Te208X6gH/2HRXwVfEMfSAQqyKK6a4xAY hp4p4AeoqgEK+FjpHgT7wtkLYIoz+/hqIUOUT44W6RBaZ9cEsS6hEPZAhZj+e4qx 7RPQkuxI3UVULWxzCuE/H9lSh6hWH/x95PynvmHVBuxw/Mc5um1XnkC2dmoiwnHZ Jpzlu2SnQ/lkg7BhxDtPxM1g+bYpMbdzNWv64JEaP4MxClpupDJJXJ8ETdUR/P0m f4tsttsoI3XzAuvwrVrlr//ANYA03zk1RjUYY/0Wfpj3tfSnCd0+hDDEIKo1aGJa 8EOSQptiPaISYX5ZUi0xADZ0wreodFYgov7DVQaOqDs4huaDuwYZ+UILpQETTv0=gTui -----END PGP SIGNATURE----- -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Steve Edwards
2010-Apr-20 14:48 UTC
[asterisk-users] Voice mail "maxmessage " setting per mail box
On Tue, 20 Apr 2010, Bruce McAlister wrote:> Is it at all possible to have the "maxmessage" setting on per > user/mailbox value?I'm a 1.2 Luddite, so YMMV... In 1.2, maxmessage is a "global" setting. In 1.6.1.6 (just what I happened to have on hand), maxmessage has been renamed to maxsecs and is a per user setting. I don't know where between 1.2 and 1.6.1.6 this change was made -- scouring the change logs is left as an exercise for the reader :) -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000
Jared Smith
2010-Apr-20 14:51 UTC
[asterisk-users] Voice mail "maxmessage " setting per mail box
On Tue, 2010-04-20 at 14:34 +0100, Bruce McAlister wrote:> Is it at all possible to have the "maxmessage" setting on per > user/mailbox value?Absolutely, as long as you're talking about the "maxmsg" setting! In fact, there's an example in the sample voicemail.conf file that comes with Asterisk: ;4200 => 9855,Mark Spencer,markster at linux-support.net, mypager at digium.com,attach=no|serveremail=myaddy at digium.com|tz=central| maxmsg=10 See how we set this particular mailbox to only have a maximum of ten messages? -- Jared Smith Digium, Inc.
Bruce McAlister
2010-Apr-20 16:19 UTC
[asterisk-users] Voice mail "maxmessage " setting per mail box
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thanks all for your input, much appreciated. I will investigate this further with The Google :) On 20/04/2010 16:27, Steve Edwards wrote:> On Tue, 20 Apr 2010, Bruce McAlister wrote: > >> Incidently we are currently running 1.4.x for our voice mail server, >> however if 1.6.x offers maxsecs (and others) as a configurable, per >> mailbox, setting then we will look in to upgrading the environment. >> >> Can you, or any else, confirm that maxsecs is a tunable per mailbox in >> 1.6.2.x? > > GIYF... > > On 12/31/2006 tilghman updated voicemail.conf.sample. The revision log > notes the name change and that it is per-user. > (www.mirrors.docunext.com/websvn/asterisk/view/trunk/configs/voicemail.conf.sample?rev=49075) > > When it made it into a release will take a little more googling. >-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJLzdQPAAoJEI3A8f8Te208k0gIAJx+EZ21b2bFNWl602NFqa8i t3R+020BzJQM2qCLK7payMIRgRSljHbTdzsRu94XobIo9qsZB+/kIO/BwbwnvTpz AmmKTKWMgiy+8JKGZ9HyN1kBVJgBJZnzJxOqgBHuKj8eXtvXmvr4y4APFXxIKdiD 2gLYd8zwC+Qa4vowD0qr8GJvbUqhqNe1dzyhjdsT/oGSnPNsw0I0Hk+9+2HZuMVL /7VAFgSvtbF5YDRAnDp1A3MEXkIHTMQCocuifKEJ+amdDgGha+TCgO4/4H4ipUWn rInoQ9v/a0OfZKE7NdcrBFG3M6vYgvIoytlYbkl7iPRRkoNNK3ZJzlu1PnkcVC4=c80d -----END PGP SIGNATURE-----