]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_voicemail: Improve msg_id handling
authorJonathan Rose <jrose@digium.com>
Fri, 18 Jan 2013 18:13:58 +0000 (18:13 +0000)
committerJonathan Rose <jrose@digium.com>
Fri, 18 Jan 2013 18:13:58 +0000 (18:13 +0000)
commit1752c6279dec5c1a072fbe6a2a6d3c0df20a3384
tree59b0d541e2466ec047bd2d8ed00d4bd2f98d6462
parentf04706fde470e23c46d6133d894749c7a68128c9
app_voicemail: Improve msg_id handling

app_voicemail will no longer issue error messages when it retrieves an msg_id
with a NULL value from realtime and will instead simply populate the msg_id
field with a newly generated msg_id. In addition, this patch changes the way
msg_ids are generated to eliminate certain causes of duplicate IDs appearing
within a single system. In addition, when messages are copied, they will now
receive a new msg_id.

(closes issue ASTERISK-20717)
Reported by: Alec Davis
Review: https://reviewboard.asterisk.org/r/2220/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@379460 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_voicemail.c