]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add auth user and doc cleanup
authorRaymond Chandler <intralanman@gmail.com>
Fri, 20 Jan 2012 23:09:12 +0000 (18:09 -0500)
committerRaymond Chandler <intralanman@gmail.com>
Fri, 20 Jan 2012 23:09:12 +0000 (18:09 -0500)
src/mod/applications/mod_httapi/mod_httapi_doc.txt
src/mod/applications/mod_voicemail/mod_voicemail.c

index 92f24409a4d4169af3cb13acb706eb8154febab5..7e45896bd3923b49a5e5df187f353054cf2739a0 100644 (file)
@@ -234,10 +234,10 @@ temp-action           : Change url to submit to. just for the next loop.
 
 
 <log level clean action>
-                   : Exit the httapi application and continue in the dialplan.
+                   : Write a log line to fs_cli, console, logs, etc.
 ATTRS:
 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.
 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/>
-                    : Get a Channel variable (depends on permissions)
+                    : Call the voicemail app without requiring "execute" permissions
 
 ATTRS:
 action             : Change url to submit to.
index 9fc68c657ee8beab0cf94c55288f7141ff89b82b..53007a3abcc5dcc05b86fe2e58958c0ede27a33c 100644 (file)
@@ -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);