[asterisk-commits] lmadsen: branch 10 r343103 - in /branches/10: ./ apps/app_authenticate.c

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


Author: lmadsen
Date: Wed Nov  2 14:33:08 2011
New Revision: 343103

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

Modified:
    branches/10/   (props changed)
    branches/10/apps/app_authenticate.c

Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

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