From f567a767e791c51d74a2e87ef5e999f309bd9610 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 7 Oct 2008 22:33:03 +0000 Subject: [PATCH] update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9887 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_voicemail/mod_voicemail.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/mod/applications/mod_voicemail/mod_voicemail.c b/src/mod/applications/mod_voicemail/mod_voicemail.c index 6a846bc3d1..0011b3a7d9 100644 --- a/src/mod/applications/mod_voicemail/mod_voicemail.c +++ b/src/mod/applications/mod_voicemail/mod_voicemail.c @@ -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) {