]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Voicemail: Remove mailbox identifier format (box@context) assumptions in the system.
authorRichard Mudgett <rmudgett@digium.com>
Thu, 19 Dec 2013 16:37:56 +0000 (16:37 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 19 Dec 2013 16:37:56 +0000 (16:37 +0000)
commita624ee8afed42c5a7efe6a118c2524b912fc6f7c
tree17e4480ad0eae1b7da111c1868b22ac54ef841e1
parent294b65e9e4dc39389ead6d063bc411e19f805092
Voicemail: Remove mailbox identifier format (box@context) assumptions in the system.

This change is in preparation for external MWI support.

Removed code from the system for normal mailbox handling that appends
@default to the mailbox identifier if it does not have a context.  The
only exception is the legacy hasvoicemail users.conf option.  The legacy
option will only work for app_voicemail mailboxes.  The system cannot make
any assumptions about the format of the mailbox identifer used by
app_voicemail.

chan_sip and chan_dahdi/sig_pri had the most changes because they both
tried to interpret the mailbox identifier.  chan_sip just stored and
compared the two components.  chan_dahdi actually used the box
information.

The ISDN MWI support configuration options had to be reworked because
chan_dahdi was parsing the box@context format to get the box number.  As a
result the mwi_vm_boxes chan_dahdi.conf option was added and is documented
in the chan_dahdi.conf.sample file.

Review: https://reviewboard.asterisk.org/r/3072/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@404348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
25 files changed:
CHANGES
UPGRADE.txt
apps/app_voicemail.c
channels/chan_dahdi.c
channels/chan_dahdi.h
channels/chan_h323.c
channels/chan_iax2.c
channels/chan_mgcp.c
channels/chan_sip.c
channels/chan_skinny.c
channels/chan_unistim.c
channels/h323/chan_h323.h
channels/sig_pri.c
channels/sig_pri.h
channels/sip/include/sip.h
configs/chan_dahdi.conf.sample
configs/iax.conf.sample
configs/sip.conf.sample
configs/skinny.conf.sample
configs/voicemail.conf.sample
funcs/func_vmcount.c
include/asterisk/app.h
main/app.c
res/res_jabber.c
res/res_xmpp.c