[Asterisk-Dev] VOICEMAIL: context messages
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Sat Mar 26 21:36:43 MST 2005
On Saturday 26 March 2005 14:59, Matt Gibson wrote:
> Hi All,
>
> I Was just on IRC talking about something a client requested and
> apparently it is not doable right now, but would be a good idea. So
> I'm sending this to the dev list incase anyone has time to
> implement this.
>
> What I was wondering if, in voicemail.conf, there are multiple
> contexts for the users of voicemail, now within those contexts
> could there be a seperate message to go to people when they receive
> voicemail?
>
> something like:
>
> [default]
> emailsubject = "this subject"
> emailbody = "this email"
> user1
> user2
>
> [companya]
> emailsubject = "that subject"
> emailbody = "that email"
> user1
> user2
We have a problem, in that we're rapidly outgrowing the current
voicemail.conf format. I don't think we can even set all the mailbox
options right now for a single mailbox (given lack of space in a
char[80]). We probably need to revise the format to something more in
line with sip.conf and iax.conf, whereby each user gets his own
context, and have several inheritable contexts.
[default]
type=division
serveremail=defaultco at test.com
; More division-wide defaults here
[other]
type=division
serveremail=othercompany at test.com
[1234]
type=mailbox
secret=5578
email=test at test.com
pager=testpager at test.com
division=default
format=wav|gsm
attach=yes
[1235]
type=mailbox
secret=7934
email=another at test.com
division=other
format=wav49
attach=no
It's probably just about time to start prototyping Voicemail3.
--
Tilghman
More information about the asterisk-dev
mailing list