[asterisk-commits] lmadsen: branch 1.8 r343102 - /branches/1.8/apps/app_authenticate.c

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


Author: lmadsen
Date: Wed Nov  2 14:32:39 2011
New Revision: 343102

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=343102
Log:
Add note about how Authenticate() application with option 'd' works.

(closes issue ASTERISK-17422)
Reported by: Leif Madsen

Modified:
    branches/1.8/apps/app_authenticate.c

Modified: branches/1.8/apps/app_authenticate.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/apps/app_authenticate.c?view=diff&rev=343102&r1=343101&r2=343102
==============================================================================
--- branches/1.8/apps/app_authenticate.c (original)
+++ branches/1.8/apps/app_authenticate.c Wed Nov  2 14:32:39 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