]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Merged revisions 180383 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Thu, 5 Mar 2009 19:27:07 +0000 (19:27 +0000)
committerMark Michelson <mmichelson@digium.com>
Thu, 5 Mar 2009 19:27:07 +0000 (19:27 +0000)
commit2876025927d12f3ef752b1ba8cda8c3aba649e56
tree4cf0c6dd63a353d25600629da83bd56f40d7fe80
parent67358b6e502103d74631fc55946d7f62751c99a2
Merged revisions 180383 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r180383 | mmichelson | 2009-03-05 13:14:14 -0600 (Thu, 05 Mar 2009) | 31 lines

  Merged revisions 180380 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r180380 | mmichelson | 2009-03-05 12:58:48 -0600 (Thu, 05 Mar 2009) | 25 lines

    Fix broken mailbox parsing when searchcontexts option is enabled.

    When using the searchcontexts option in voicemail.conf, the code
    made the assumption that all mailbox names defined were unique across
    all contexts. However, the code did nothing to actually enforce this
    assumption, nor did it do anything to alert a user that he may have
    created an ambiguity in his voicemail.conf file by defining the same
    mailbox name in multiple contexts.

    With this change, we now will issue a nice long warning if searchcontexts
    is on and we encounter the same mailbox name in multiple contexts and ignore
    any duplicates after the first box. Whether searchcontexts is enabled or not,
    if we come across a duplicate mailbox in the same context, then we will issue
    a warning and ignore the duplicated mailbox. I have also added a small note
    to voicemail.conf.sample in the explanation for searchcontexts explaining
    that you cannot define the same mailbox in multiple contexts if you have
    enabled the option.

    (closes issue #14599)
    Reported by: lmadsen
    Patches:
          14599.patch uploaded by mmichelson (license 60) (with slight modification)
    Tested by: lmadsen
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@180425 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_voicemail.c
configs/voicemail.conf.sample