[Freeswitch-svn] [commit] r9887 - freeswitch/trunk/src/mod/applications/mod_voicemail

Freeswitch SVN anthm at freeswitch.org
Tue Oct 7 18:33:03 EDT 2008


Author: anthm
Date: Tue Oct  7 18:33:03 2008
New Revision: 9887

Modified:
   freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c

Log:
update

Modified: freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c	Tue Oct  7 18:33:03 2008
@@ -1944,7 +1944,14 @@
 
 					if (!ok) {
 						goto end;
+					} else {
+						const char *x_box = switch_xml_attr(x_user, "mailbox");
+						
+						if (x_box) {
+							myid = switch_core_session_strdup(session, x_box);
+						}
 					}
+
 				}
 
 				if (!mypass) {



More information about the Freeswitch-svn mailing list