[Asterisk-Users] realtime voicemail
Vadim Berezniker
VadimB at isgcom.com
Tue Jan 17 05:31:52 MST 2006
asterisk-users-bounces at lists.digium.com wrote:
> On Monday 16 January 2006 09:02, elam at officegeneral.com wrote:
> Put in voicemail.conf searchcontexts=yes
> and do not forget to stop and start *.
> Reload may not do.
> benchev
That's not a solution, but just a workaround.
1.2.1 has a bug where it always uses an empty context when searching for
a mailbox when using realtime config.
At around line 546 of apps/app_voicemail.c there is a line that says
var = ast_load_realtime("voicemail", "mailbox", mailbox, "context",
retval->context, NULL);
Change it to
var = ast_load_realtime("voicemail", "mailbox", mailbox, "context",
context, NULL);
Then recompile and contexts will work.
More information about the asterisk-users
mailing list