From cd4363d64952bc831b1a8071e7ce870b3be32fcc Mon Sep 17 00:00:00 2001 From: Olle Johansson Date: Sat, 5 Jul 2008 20:43:50 +0000 Subject: [PATCH] Merged revisions 128236 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ........ r128236 | oej | 2008-07-05 22:37:53 +0200 (Lör, 05 Jul 2008) | 2 lines Reformatting the config sample ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@128238 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- configs/sip.conf.sample | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample index f5c16612c0..6f80f95674 100644 --- a/configs/sip.conf.sample +++ b/configs/sip.conf.sample @@ -67,7 +67,6 @@ context=default ; Default context for incoming calls ;match_auth_username=yes ; if available, match user entry using the ; 'username' field from the authentication line ; instead of the From: field. - allowoverlap=no ; Disable overlap dialing support. (Default is yes) ;allowtransfer=no ; Disable all transfers (unless enabled in peers or users) ; Default is enabled @@ -306,7 +305,21 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ;session-expires=600 ;session-minse=90 ;session-refresher=uas - +; +;--------------------------- HASH TABLE SIZES ------------------------------------------------ +; For maximum efficiency, adjust the following +; values to be slightly larger than the maximum number of in-memory objects (devices). +; Too large, and space is wasted. Too small, and things will run slower. +; 563 is probably way too big for small (home) applications, but it +; should cover most small/medium sites. +; It is recommended to make the sizes be a prime number! +; This was internally set to 17 for small-memory applications... +; All tables default to 563, except when compiled in LOW_MEMORY mode, +; in which case, they default to 17. You can override this by uncommenting +; the following, and changing the values. +;hash_users=563 +;hash_peers=563 +;hash_dialogs=563 ;--------------------------- SIP DEBUGGING --------------------------------------------------- ;sipdebug = yes ; Turn on SIP debugging by default, from