[asterisk-commits] lmadsen: trunk r343104 - /trunk/apps/app_authenticate.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Nov 2 14:33:52 CDT 2011


Author: lmadsen
Date: Wed Nov  2 14:33:49 2011
New Revision: 343104

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=343104
Log:
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

Modified:
    trunk/apps/app_authenticate.c

Modified: trunk/apps/app_authenticate.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_authenticate.c?view=diff&rev=343104&r1=343103&r2=343104
==============================================================================
--- trunk/apps/app_authenticate.c (original)
+++ trunk/apps/app_authenticate.c Wed Nov  2 14:33:49 2011
@@ -73,7 +73,13 @@
 						<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




More information about the asterisk-commits mailing list