[asterisk-commits] mmichelson: branch mmichelson/trunk-digiumphones r366885 - in /team/mmichelso...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri May 18 09:18:57 CDT 2012
Author: mmichelson
Date: Fri May 18 09:18:52 2012
New Revision: 366885
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=366885
Log:
Fix first two findings of Matt's on review 1898.
* Update schema for voicemail messages to include a message ID.
* Remove some trailing whitespace.
The other finding is more involved and not a Friday task :)
Modified:
team/mmichelson/trunk-digiumphones/apps/app_voicemail.c
team/mmichelson/trunk-digiumphones/contrib/realtime/mysql/voicemail_messages.sql
Modified: team/mmichelson/trunk-digiumphones/apps/app_voicemail.c
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/trunk-digiumphones/apps/app_voicemail.c?view=diff&rev=366885&r1=366884&r2=366885
==============================================================================
--- team/mmichelson/trunk-digiumphones/apps/app_voicemail.c (original)
+++ team/mmichelson/trunk-digiumphones/apps/app_voicemail.c Fri May 18 09:18:52 2012
@@ -11349,7 +11349,7 @@
}
msg_id = ast_variable_retrieve(msg_cfg, "message", "msg_id");
-
+
if (msg_id) {
/* If the message has an ID, nothing further to do. Continue */
ast_config_destroy(msg_cfg);
Modified: team/mmichelson/trunk-digiumphones/contrib/realtime/mysql/voicemail_messages.sql
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/trunk-digiumphones/contrib/realtime/mysql/voicemail_messages.sql?view=diff&rev=366885&r1=366884&r2=366885
==============================================================================
--- team/mmichelson/trunk-digiumphones/contrib/realtime/mysql/voicemail_messages.sql (original)
+++ team/mmichelson/trunk-digiumphones/contrib/realtime/mysql/voicemail_messages.sql Fri May 18 09:18:52 2012
@@ -25,5 +25,7 @@
mailboxuser CHAR(30),
-- Context of the owner of the mailbox
mailboxcontext CHAR(30),
+ -- Unique ID of the message,
+ msg_id char(40),
PRIMARY KEY (dir, msgnum)
);
More information about the asterisk-commits
mailing list