[Asterisk-Users] Re: Voicemailmain automatic extension detection?
Brian Buhrow
buhrow at lothlorien.nfbcal.org
Wed Oct 5 14:38:20 MST 2005
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 at 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 at blisses.org http://blisses.org/
} Anything can be impossible, given sufficient bureaucracy.
}
}
>-- End of excerpt from asterisk-users-request at lists.digium.com
More information about the asterisk-users
mailing list