summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Madsen <leif@leifmadsen.com>2011-11-02 19:33:49 +0000
committerLeif Madsen <leif@leifmadsen.com>2011-11-02 19:33:49 +0000
commit55ffab4cd934e923cfe5c4fb1030325591b942fa (patch)
tree3eacf5771d8149c067bb006b8befa87f6b61f37c
parent4b5702e52d1f7b22ad39ec2a1d6f0b4a17dedf47 (diff)
Add note about how Authenticate() application with option 'd' works.
(closes issue ASTERISK-17422) Reported by: Leif Madsen ........ Merged revisions 343102 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 343103 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@343104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--apps/app_authenticate.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/app_authenticate.c b/apps/app_authenticate.c
index 8b5fa11a6..540e3df1c 100644
--- a/apps/app_authenticate.c
+++ b/apps/app_authenticate.c
@@ -73,7 +73,13 @@ static const char app[] = "Authenticate";
<para>Set the channels' account code to the password that is entered</para>
</option>
<option name="d">
- <para>Interpret the given path as database key, not a literal file</para>
+ <para>Interpret the given path as database key, not a literal file.</para>
+ <note>
+ <para>The value is not used at all in the authentication when using this option.
+ If the family/key is set to <literal>/pin/100</literal> (value does not matter)
+ then the password field needs to be set to <literal>/pin</literal> and the pin entered
+ by the user would be authenticated against <literal>100</literal>.</para>
+ </note>
</option>
<option name="m">
<para>Interpret the given path as a file which contains a list of account