From 9f1a17f13706a1167e356248284c7832fca4bf16 Mon Sep 17 00:00:00 2001
From: Andrew Latham <lathama@gmail.com>
Date: Wed, 2 Feb 2011 18:59:29 +0000
Subject: [PATCH] Replacing doc/* with wiki links

Adding links to http(s)://wiki.asterisk.org



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@305799 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 configs/ccss.conf.sample       | 4 ++--
 configs/chan_dahdi.conf.sample | 4 ++--
 configs/extconfig.conf.sample  | 4 ++--
 configs/h323.conf.sample       | 3 ++-
 configs/res_snmp.conf.sample   | 3 ++-
 configs/sip.conf.sample        | 6 +++---
 configs/skinny.conf.sample     | 3 ++-
 configs/sla.conf.sample        | 2 +-
 main/ast_expr2.fl              | 2 +-
 main/ast_expr2f.c              | 2 +-
 main/config.c                  | 2 +-
 res/res_srtp.c                 | 2 +-
 res/res_timing_dahdi.c         | 2 +-
 13 files changed, 21 insertions(+), 18 deletions(-)

diff --git a/configs/ccss.conf.sample b/configs/ccss.conf.sample
index c0ca12492d..385f2b23b3 100644
--- a/configs/ccss.conf.sample
+++ b/configs/ccss.conf.sample
@@ -1,8 +1,8 @@
 ;
 ; --- Call Completion Supplementary Services ---
 ;
-; For more information about CCSS, see the CCSS user documentation included
-; in the HTML and PDF documentation generated from the doc/tex/ directory.
+; For more information about CCSS, see the CCSS user documentation
+; https://wiki.asterisk.org/wiki/display/AST/Call+Completion+Supplementary+Services+(CCSS)
 ;
 
 [general]
diff --git a/configs/chan_dahdi.conf.sample b/configs/chan_dahdi.conf.sample
index c176789a69..1f103686e8 100644
--- a/configs/chan_dahdi.conf.sample
+++ b/configs/chan_dahdi.conf.sample
@@ -466,7 +466,7 @@ usecallerid=yes
 ;     polarity    = polarity reversal signals the start
 ;     polarity_IN = polarity reversal signals the start, for India,
 ;                   for dtmf dialtone detection; using DTMF.
-;                   (see doc/India-CID.txt)
+;     (see https://wiki.asterisk.org/wiki/display/AST/Caller+ID+in+India)
 ;     dtmf        = causes monitor loop to look for dtmf energy on the
 ;                   incoming channel to initate cid acquisition
 ;
@@ -1216,7 +1216,7 @@ pickupgroup=1
 ;channel = 25-47
 ;
 ; For more information on setting up SS7, see the README file in libss7 or
-; the doc/ss7.txt file in the Asterisk source tree.
+; https://wiki.asterisk.org/wiki/display/AST/Signaling+System+Number+7
 ; ----------------- SS7 Options ----------------------------------------
 
 ; ---------------- Options for use with signalling=mfcr2 --------------
diff --git a/configs/extconfig.conf.sample b/configs/extconfig.conf.sample
index bde5d1268f..cc3fa9c9f2 100644
--- a/configs/extconfig.conf.sample
+++ b/configs/extconfig.conf.sample
@@ -2,8 +2,8 @@
 ; Static and realtime external configuration
 ; engine configuration
 ;
-; Please read doc/extconfig.txt for basic table
-; formatting information.
+; See https://wiki.asterisk.org/wiki/display/AST/Realtime+Database+Configuration
+; for basic table formatting information.
 ;
 [settings]
 ;
diff --git a/configs/h323.conf.sample b/configs/h323.conf.sample
index bdeb6b3201..00eb73f0b2 100644
--- a/configs/h323.conf.sample
+++ b/configs/h323.conf.sample
@@ -27,7 +27,8 @@ port = 1720
 ;allow=all		; turns on all installed codecs
 ;disallow=g723.1	; Hm...  Proprietary, don't use it...
 ;allow=gsm		; Always allow GSM, it's cool :)
-;allow=ulaw		; see doc/rtp-packetization for framing options
+;allow=ulaw		; see https://wiki.asterisk.org/wiki/display/AST/RTP+Packetization
+			; for framing options
 ;
 ; User-Input Mode (DTMF)
 ;
diff --git a/configs/res_snmp.conf.sample b/configs/res_snmp.conf.sample
index 0aa042b087..a6e40c8e2e 100644
--- a/configs/res_snmp.conf.sample
+++ b/configs/res_snmp.conf.sample
@@ -10,7 +10,8 @@
 ; If you use the subagent model, you need to enable agentx in snmpd.conf
 ; Note that you can only run one Asterisk on the system in this case.
 ;
-; Please read documentat in doc/snmp.txt to get more information about
+; See https://wiki.asterisk.org/wiki/display/AST/Simple+Network+Management+Protocol+(SNMP)+Support 
+; to get more information about
 ; snmp support in Asterisk
 
 [general]
diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample
index 9eef03834a..9507c71df9 100644
--- a/configs/sip.conf.sample
+++ b/configs/sip.conf.sample
@@ -274,7 +274,8 @@ srvlookup=yes                   ; Enable DNS SRV lookups on outbound calls
 
 ;disallow=all                   ; First disallow all codecs
 ;allow=ulaw                     ; Allow codecs in order of preference
-;allow=ilbc                     ; see doc/rtp-packetization for framing options
+;allow=ilbc                     ; see https://wiki.asterisk.org/wiki/display/AST/RTP+Packetization
+				; for framing options
 ;
 ; This option specifies a preference for which music on hold class this channel
 ; should listen to when put on hold if the music class has not been set on the
@@ -870,8 +871,7 @@ srvlookup=yes                   ; Enable DNS SRV lookups on outbound calls
 
 ;----------------------------------------- REALTIME SUPPORT ------------------------
 ; For additional information on ARA, the Asterisk Realtime Architecture,
-; please read realtime.txt and extconfig.txt in the /doc directory of the
-; source code.
+; please read https://wiki.asterisk.org/wiki/display/AST/Realtime+Database+Configuration
 ;
 ;rtcachefriends=yes             ; Cache realtime friends by adding them to the internal list
                                 ; just like friends added from the config file only on a
diff --git a/configs/skinny.conf.sample b/configs/skinny.conf.sample
index dfbddd4c5c..163f557155 100644
--- a/configs/skinny.conf.sample
+++ b/configs/skinny.conf.sample
@@ -25,7 +25,8 @@ keepalive=120
 ;
 ;regcontext=skinnyregistrations
 
-;allow=all		; see doc/rtp-packetization for framing options
+;allow=all		; see https://wiki.asterisk.org/wiki/display/AST/RTP+Packetization
+			; for framing options
 ;disallow=
 
 ; See qos.tex or Quality of Service section of asterisk.pdf for a description of these parameters.
diff --git a/configs/sla.conf.sample b/configs/sla.conf.sample
index c2015b6227..cf760af14a 100644
--- a/configs/sla.conf.sample
+++ b/configs/sla.conf.sample
@@ -1,7 +1,7 @@
 ;
 ; Configuration for Shared Line Appearances (SLA).
 ;
-; See doc/asterisk.pdf for more information.
+; See http://wiki.asterisk.org or doc/AST.pdf for more information.
 ;
 
 ; ---- General Options ----------------
diff --git a/main/ast_expr2.fl b/main/ast_expr2.fl
index 96a09bc40e..614f8486f3 100644
--- a/main/ast_expr2.fl
+++ b/main/ast_expr2.fl
@@ -468,7 +468,7 @@ int ast_yyerror (const char *s,  yyltype *loc, struct parse_io *parseio )
 			(extra_error_message_supplied?extra_error_message:""), s2, parseio->string,spacebuf2);
 #endif
 #ifndef STANDALONE
-	ast_log(LOG_WARNING,"If you have questions, please refer to doc/tex/channelvariables.tex.\n");
+	ast_log(LOG_WARNING,"If you have questions, please refer to https://wiki.asterisk.org/wiki/display/AST/Channel+Variables\n");
 #endif
 	free(s2);
 	return(0);
diff --git a/main/ast_expr2f.c b/main/ast_expr2f.c
index 384da30392..94bcc6455a 100644
--- a/main/ast_expr2f.c
+++ b/main/ast_expr2f.c
@@ -2603,7 +2603,7 @@ int ast_yyerror (const char *s,  yyltype *loc, struct parse_io *parseio )
 			(extra_error_message_supplied?extra_error_message:""), s2, parseio->string,spacebuf2);
 #endif
 #ifndef STANDALONE
-	ast_log(LOG_WARNING,"If you have questions, please refer to doc/tex/channelvariables.tex.\n");
+	ast_log(LOG_WARNING,"If you have questions, please refer to https://wiki.asterisk.org/wiki/display/AST/Channel+Variables\n");
 #endif
 	free(s2);
 	return(0);
diff --git a/main/config.c b/main/config.c
index 0a994ea0d8..2d8f9f34e5 100644
--- a/main/config.c
+++ b/main/config.c
@@ -23,7 +23,7 @@
  * \author Mark Spencer <markster@digium.com>
  *
  * Includes the Asterisk Realtime API - ARA
- * See doc/realtime.txt and doc/extconfig.txt
+ * See http://wiki.asterisk.org
  */
 
 #include "asterisk.h"
diff --git a/res/res_srtp.c b/res/res_srtp.c
index 3a330dba1f..f21ac0f996 100644
--- a/res/res_srtp.c
+++ b/res/res_srtp.c
@@ -32,7 +32,7 @@
          <depend>srtp</depend>
 ***/
 
-/* See doc/tex/secure-calls.tex for SRTP usage information */
+/* See https://wiki.asterisk.org/wiki/display/AST/Secure+Calling */
 
 #include "asterisk.h"
 
diff --git a/res/res_timing_dahdi.c b/res/res_timing_dahdi.c
index 8a2382834c..41f74f6c9f 100644
--- a/res/res_timing_dahdi.c
+++ b/res/res_timing_dahdi.c
@@ -137,7 +137,7 @@ static unsigned int dahdi_timer_get_max_rate(int handle)
 	return 1000;
 }
 
-#define SEE_TIMING "For more information on Asterisk timing modules, including ways to potentially fix this problem, please see doc/timing.txt\n"
+#define SEE_TIMING "For more information on Asterisk timing modules, including ways to potentially fix this problem, please see https://wiki.asterisk.org/wiki/display/AST/Timing+Interfaces\n"
 
 static int dahdi_test_timer(void)
 {
-- 
GitLab