From c1649932ec191b125577f955ede2cf03f8e35589 Mon Sep 17 00:00:00 2001
From: Joshua Colp <jcolp@digium.com>
Date: Fri, 5 May 2006 19:20:58 +0000
Subject: [PATCH] Minor documentation change regarding authentication. (issue
 #6644)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 doc/iax.txt | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/doc/iax.txt b/doc/iax.txt
index 48bb3e10eb..9a17c098d8 100644
--- a/doc/iax.txt
+++ b/doc/iax.txt
@@ -13,6 +13,18 @@ an optional requested extension (otherwise "s" will be used), and
 username specified in the peer's iax.conf.  If the user is not specified,
 the peer will select one.
 
+The peer uses a score to determine the best user entry to match against if
+one is not specified:
+
+1. User entry last specified in iax.conf (this is the baseline).
+2. User entry with secret specified and ACL specified.
+3. User entry with no secret specified and no ACL specified.
+4. User entry with no secret specified and ACL specified.
+5. User entry matched via username.
+
+The higher the score the better it is with 5 being an exact match and the maximum
+score possible.
+
 Protocol and rationale:
 =======================
 IAX is a simple, low overhead and low bandwidth VoIP protocol designed to 
-- 
GitLab