Mason Loring Bliss
2005-Oct-05 12:46 UTC
[Asterisk-Users] Voicemailmain automatic extension detection?
Is there a way I can have "voice mail check" calls coming from my internal users automatically get to the right extension, without having the user enter their extension? I'm thinking that I could have the local SPA boxes translate, or have each user live in a context where the extension in question exists uniquely per user, but both of these seem kludgey. Thanks in advance for clues! -- Mason Loring Bliss mason@blisses.org http://blisses.org/ Anything can be impossible, given sufficient bureaucracy.
Michiel van Baak
2005-Oct-05 13:08 UTC
[Asterisk-Users] Voicemailmain automatic extension detection?
On 15:46, Wed 05 Oct 05, Mason Loring Bliss wrote:> Is there a way I can have "voice mail check" calls coming from my internal > users automatically get to the right extension, without having the user > enter their extension? > > I'm thinking that I could have the local SPA boxes translate, or have > each user live in a context where the extension in question exists > uniquely per user, but both of these seem kludgey. >Give the users a voicemailbox with the same number as their callerid number. Then add something like this in your extensions.conf (taken from my own private setup) exten => 8500,1,VoicemailMain(${CALLERIDNUM}) On another system I implemented it so users call their own extension number to reach voicemail: exten => 2001/2001,1,VoicemailMain(2001) The first method is easier in a larger setup, since it matches all users/voicemailboxes with only one line in extensions.conf Good luck -- Michiel van Baak http://michiel.vanbaak.info michiel@vanbaak.info GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7E0B9A2D "Why is it drug addicts and computer afficionados are both called users?" -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20051005/487ffeea/attachment.pgp
Kevin Walsh
2005-Oct-05 13:14 UTC
[Asterisk-Users] Voicemailmain automatic extension detection?
Mason Loring Bliss [mason@blisses.org] wrote:> Is there a way I can have "voice mail check" calls coming from my internal > users automatically get to the right extension, without having the user > enter their extension? > > I'm thinking that I could have the local SPA boxes translate, or have > each user live in a context where the extension in question exists > uniquely per user, but both of these seem kludgey. > > Thanks in advance for clues! >Do you mean something like "VoiceMailMain(${CALLERIDNUM})"? -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
Jesse Keating
2005-Oct-05 13:25 UTC
[Asterisk-Users] Voicemailmain automatic extension detection?
On Wed, 2005-10-05 at 15:46 -0400, Mason Loring Bliss wrote:> > Is there a way I can have "voice mail check" calls coming from my internal > users automatically get to the right extension, without having the user > enter their extension? > > I'm thinking that I could have the local SPA boxes translate, or have > each user live in a context where the extension in question exists > uniquely per user, but both of these seem kludgey. > > Thanks in advance for clues!I use this in extensions.conf: exten => 999,1,Answer(); Voicemail call number exten => 999,2,Wait(1); exten => 999,3,VoicemailMain(${CALLERIDNUM}); This requires username of SIPs to be their VM box # Users are still asked for password, but an added 's' above (I forget exactly where) will make that go away too. -- Jesse Keating GameHouse -- Systems Engineer
Brian Buhrow
2005-Oct-05 14:38 UTC
[Asterisk-Users] Re: Voicemailmain automatic extension detection?
Hello Mason. It's easier than you might think. Here's what we do to achieve the same effect. Note that, depending on how many digits you store in your voicemail configs, you may need to change the number of stripped digits, etc. We use 3-digit dialing for voicemail, and the mailbox number matches the last 3 digits of the user's telephone number. -Brian ;Voicemail access exten => 299,1,Wait,1 ; Just to see if it's working... exten => 299,2,Answer ; Answer the call exten => 299,3,SubString(MBOX=${CALLERIDNUM}|-3|3) exten => 299,4,Voicemailmain(${MBOX}) exten => 299,5,Hangup On Oct 5, 4:04pm, asterisk-users-request@lists.digium.com wrote: } Is there a way I can have "voice mail check" calls coming from my internal } users automatically get to the right extension, without having the user } enter their extension? } } I'm thinking that I could have the local SPA boxes translate, or have } each user live in a context where the extension in question exists } uniquely per user, but both of these seem kludgey. } } Thanks in advance for clues! } } -- } Mason Loring Bliss mason@blisses.org http://blisses.org/ } Anything can be impossible, given sufficient bureaucracy. } }>-- End of excerpt from asterisk-users-request@lists.digium.com
Mason Loring Bliss
2005-Oct-21 08:35 UTC
[Asterisk-Users] Voicemailmain automatic extension detection?
On Wed, Oct 05, 2005 at 09:14:09PM +0100, Kevin Walsh wrote:> Do you mean something like "VoiceMailMain(${CALLERIDNUM})"?Yes, that works nicely. Thank you! -- Mason Loring Bliss mason@blisses.org Cthulhu fhtagn! http://blisses.org/ awake ? sleep : random() & 2 ? dream : sleep;