]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 7 Oct 2008 22:33:03 +0000 (22:33 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 7 Oct 2008 22:33:03 +0000 (22:33 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9887 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_voicemail/mod_voicemail.c

index 6a846bc3d1e842c92e7f38110fce7dc4d07cdc8f..0011b3a7d9adc277600313a302e2c37abb70bfdf 100644 (file)
@@ -1944,7 +1944,14 @@ static void voicemail_check_main(switch_core_session_t *session, const char *pro
 
                                        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) {