mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 05:48:33 +00:00
add auth user and doc cleanup
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user