MODAPP-176

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10613 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-12-05 16:02:50 +00:00
parent 35b7706576
commit 5a8afcb267
1 changed files with 4 additions and 2 deletions

View File

@ -1991,8 +1991,10 @@ static void voicemail_check_main(switch_core_session_t *session, const char *pro
if (x_box) {
myid = switch_core_session_strdup(session, x_box);
}
if (!(actual_id = switch_xml_attr(x_user, "id"))) {
if ((actual_id = switch_xml_attr(x_user, "id"))) {
actual_id = switch_core_session_strdup(session, actual_id);
} else {
actual_id = id;
}
}