add auth user and doc cleanup

This commit is contained in:
Raymond Chandler committed 2012-01-20 18:09:12 -05:00
1 parent 5d4cccd447
commit 6fd2416da7
2 files changed
+4 -3

No files matched your search

@@ -2521,6 +2521,7 @@ static void voicemail_check_main(switch_core_session_t *session, vm_profile_t *p
if (auth_only) {
if (authed) {
switch_channel_set_variable(channel, "user_pin_authenticated", "true");
switch_channel_set_variable(channel, "user_pin_authenticated_user", myid);
if (!zstr(myid)) switch_ivr_set_user(session, myid);
} else {
switch_channel_hangup(channel, SWITCH_CAUSE_USER_CHALLENGE);