Voicemail Parameters Per Context

I was wondering if is possible to configure general parameters per context on Voicemail.

For example:

[general]
format=wav
attach=yes
maxmsg=100
maxsecs=180
minsecs=3
.
.
.

[company-a]
maxmsg=50
maxsecs=100
minsecs=2
1234 => 5678,Company2 User,root@localhost
.
.
.

In this case, the context “company-a” should overwrite general settings, is this possible?

I don’t believe Voicemail supports that, just setting the options on the mailbox entry itself at the end[1]. You could try and see if it does work, though.

[1] https://github.com/asterisk/asterisk/blob/master/configs/samples/voicemail.conf.sample#L449

I am asking because of this:

[other]
;The intro can be customized on a per-context basis
;directoryintro=dir-company2
1234 => 5678,Company2 User,root@localhost

This made me think that maybe the other parameters can be configured in the same way.

Directory is a separate dialplan application, so it looks at the configuration in its own way.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.