add auth user and doc cleanup
This commit is contained in:
parent
5d4cccd447
commit
6fd2416da7
|
@ -234,10 +234,10 @@ temp-action : Change url to submit to. just for the next loop.
|
||||||
|
|
||||||
|
|
||||||
<log level clean action>
|
<log level clean action>
|
||||||
: Exit the httapi application and continue in the dialplan.
|
: Write a log line to fs_cli, console, logs, etc.
|
||||||
ATTRS:
|
ATTRS:
|
||||||
level : The log level to use.
|
level : The log level to use.
|
||||||
clean : If true do not pring log prefix.
|
clean : If true do not print log prefix.
|
||||||
action : Change url to submit to.
|
action : Change url to submit to.
|
||||||
temp-action : Change url to submit to. just for the next loop.
|
temp-action : Change url to submit to. just for the next loop.
|
||||||
|
|
||||||
|
@ -259,7 +259,7 @@ permanent : Add as a permanent param or just once.
|
||||||
|
|
||||||
|
|
||||||
<voicemail action temp-action check auth-only profile domain id/>
|
<voicemail action temp-action check auth-only profile domain id/>
|
||||||
: Get a Channel variable (depends on permissions)
|
: Call the voicemail app without requiring "execute" permissions
|
||||||
|
|
||||||
ATTRS:
|
ATTRS:
|
||||||
action : Change url to submit to.
|
action : Change url to submit to.
|
||||||
|
|
|
@ -2521,6 +2521,7 @@ static void voicemail_check_main(switch_core_session_t *session, vm_profile_t *p
|
||||||
if (auth_only) {
|
if (auth_only) {
|
||||||
if (authed) {
|
if (authed) {
|
||||||
switch_channel_set_variable(channel, "user_pin_authenticated", "true");
|
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);
|
if (!zstr(myid)) switch_ivr_set_user(session, myid);
|
||||||
} else {
|
} else {
|
||||||
switch_channel_hangup(channel, SWITCH_CAUSE_USER_CHALLENGE);
|
switch_channel_hangup(channel, SWITCH_CAUSE_USER_CHALLENGE);
|
||||||
|
|
Loading…
Reference in New Issue