[Asterisk-doc] [patch] make docs valid and well-formed

Sean Wheller sean at inwords.co.za
Tue Oct 4 09:54:58 CDT 2005


Hi,

I am new here, but here is my first patch. A simple one that makes docs valid 
and well-formed.

Enjoy,

-- 
Sean Wheller
Technical Author
sean at inwords.co.za
084-854-9408
http://www.inwords.co.za
~~~~~~~~~~~~~~~~~~~~~~~~~
Registered Linux User #375355
http://wenzani.blogspot.com/
-------------- next part --------------
Index: advanced-config.xml
===================================================================
RCS file: /cvsroot/asterisk/docs/advanced-config.xml,v
retrieving revision 1.6
diff -U3 -r1.6 advanced-config.xml
--- advanced-config.xml	11 Aug 2004 19:12:17 -0000	1.6
+++ advanced-config.xml	4 Oct 2005 14:55:38 -0000
@@ -677,22 +677,25 @@
 					Compile, configure, and install the latest unixODBC package:
 					</para>
 					<programlisting>
-					tar -zxvf unixODBC-2.2.9.tar.gz &&
-					cd unixODBC-2.2.9 &&
-					./configure --sysconfdir=/etc --prefix=/usr --disable-gui &&
-					make &&
-					make install
-					</programlisting>
+<![CDATA[
+tar -zxvf unixODBC-2.2.9.tar.gz &&
+cd unixODBC-2.2.9 &&
+./configure --sysconfdir=/etc --prefix=/usr --disable-gui &&
+make &&
+make install
+]]></programlisting>
 					<para>
 					Compile, configure, and install the latest FreeTDS package:
 					</para>
 					<programlisting>
-					tar -zxvf freetds-0.62.4.tar.gz &&
-					cd freetds-0.62.4 &&
-					./configure --prefix=/usr --with -tdsver=7.0 \
-					     --with-unixodbc=/usr/lib &&
-					make &&
-					make install
+<![CDATA[
+tar -zxvf freetds-0.62.4.tar.gz &&
+cd freetds-0.62.4 &&
+./configure --prefix=/usr --with -tdsver=7.0 \
+ --with-unixodbc=/usr/lib &&
+make &&
+make install
+]]>					
 					</programlisting>
 
 					<para>
@@ -701,10 +704,12 @@
 					</para>
 
 					<programlisting>
-					make clean &&
-					make update &&
-					make &&
-					make install
+<![CDATA[
+make clean &&
+make update &&
+make &&
+make install
+]]>					
 					</programlisting>
 
 					<para>
@@ -812,11 +817,13 @@
 					</para>
 
 					<programlisting>
-					tar -zxvf freetds-0.62.4.tar.gz &&
-					cd freetds-0.62.4 &&
-					./configure --prefix=/usr --with-tdsver=7.0
-					make &&
-					make install
+<![CDATA[
+tar -zxvf freetds-0.62.4.tar.gz &&
+cd freetds-0.62.4 &&
+./configure --prefix=/usr --with-tdsver=7.0
+make &&
+make install
+]]>
 					</programlisting>
 
 					<para>
@@ -825,10 +832,12 @@
 					</para>
 
 					<programlisting>
-					make clean &&
-					make update &&
-					make &&
-					make install
+<![CDATA[
+make clean &&
+make update &&
+make &&
+make install
+]]>
 					</programlisting>
 
 					<para>
Index: agi.xml
===================================================================
RCS file: /cvsroot/asterisk/docs/agi.xml,v
retrieving revision 1.2
diff -U3 -r1.2 agi.xml
--- agi.xml	20 Mar 2004 17:32:12 -0000	1.2
+++ agi.xml	4 Oct 2005 14:55:38 -0000
@@ -138,8 +138,7 @@
 			it a very popular <!-- The most?-->choice for AGI scripting.
 			To make Perl AGI programming even easier, James Golovich created
 			Asterisk::AGI, a module designed for simplifying AGI interaction.
-			Asterisk::AGI is available from the author's web page at 
-			<ulink url="http://asterisk.gnuinter.net/"type="http"></ulink>.
+				Asterisk::AGI is available from the <ulink url="http://asterisk.gnuinter.net/" type="http">author's web page</ulink>.
 			</para>
 			<para>
 			Without using Asterisk::AGI, this is what a simple AGI script 
Index: voip-providers.xml
===================================================================
RCS file: /cvsroot/asterisk/docs/voip-providers.xml,v
retrieving revision 1.5
diff -U3 -r1.5 voip-providers.xml
--- voip-providers.xml	15 Jun 2004 00:45:39 -0000	1.5
+++ voip-providers.xml	4 Oct 2005 14:55:39 -0000
@@ -72,9 +72,11 @@
 					<example>
 						<title>extensions.conf</title>
 						<programlisting>
-								exten => _**393.,1,SetCallerID(Your Name <12345>)
-								exten => _**393.,2,Dial(SIP/${EXTEN:5}@fwdnet)
-								exten => _**393.,3,Hangup
+<![CDATA[
+exten => _**393.,1,SetCallerID(Your Name <12345>)
+exten => _**393.,2,Dial(SIP/${EXTEN:5}@fwdnet)
+exten => _**393.,3,Hangup
+]]>
 							</programlisting>
 						</example>
 					If you want to connect to FWD via IAX instead, you can subscribe for that in your profile. Your
@@ -94,9 +96,11 @@
 					<example>
 						<title>extensions.conf</title>
 						<programlisting>
-								exten => _**393.,1,SetCallerID(Your Name <12345>)
-								exten => _**393.,2,Dial(IAX2/12345:password at iax2.fwdnet.net/${EXTEN:5})
-								exten => _**393.,3,Hangup
+<![CDATA[
+	exten => _**393.,1,SetCallerID(Your Name <12345>)
+	exten => _**393.,2,Dial(IAX2/12345:password at iax2.fwdnet.net/${EXTEN:5})
+	exten => _**393.,3,Hangup
+]]>
 							</programlisting>
 						</example>
 						The reason why ulaw is enabled is, that FWD's own services (voicemail, gateway to toll free numbers etc.
@@ -252,10 +256,10 @@
 						</example>
 					<example>
 						<title>extensions.conf</title>
-						<programlisting>
+						<programlisting><![CDATA[
 								exten => _**478.,1,SetCallerID(Your Name <3400001234>)
 								exten => _**478.,2,Dial(SIP/${EXTEN:5}@iptel)
-								exten => _**478.,3,Hangup
+								exten => _**478.,3,Hangup]]>
 							</programlisting>
 						</example>
 					</para>
@@ -327,7 +331,7 @@
 						</example>
 					<example>
 						<title>extensions.conf</title>
-						<programlisting>
+						<programlisting><![CDATA[
 								;
 								; 0 is needed in front of the area code 
 								;
@@ -340,7 +344,7 @@
 								;
 								exten => _XXXX.,1,SetCallerID(Your Name <1234567>)
 								exten => _XXXX.,2,Dial(SIP/00${EXTEN}@gossiptel)
-								exten => _XXXX.,3,Hangup
+								exten => _XXXX.,3,Hangup]]>
 							</programlisting>
 						</example>
 					</para>
@@ -425,7 +429,7 @@
 						</example>
 					<example>
 						<title>extensions.conf</title>
-						<programlisting>
+						<programlisting><![CDATA[
 								;
 								; 0 is needed in front of the area code for German phoneno.'s
 								;
@@ -438,7 +442,7 @@
 								;
 								exten => _XXXX.,1,SetCallerID(Your Name <1234567>)
 								exten => _XXXX.,2,Dial(SIP/00${EXTEN}@sipgate)
-								exten => _XXXX.,3,Hangup
+								exten => _XXXX.,3,Hangup]]>
 							</programlisting>
 						</example>
 					</para>
@@ -509,10 +513,10 @@
 						</example>
 					<example>
 						<title>extensions.conf</title>
-						<programlisting>
+						<programlisting><![CDATA[
 								exten => _1747XXXXXXX,1,SetCallerID(Your Name <17471234567>)
 								exten => _1747XXXXXXX,2,Dial(SIP/${EXTEN}@sipphone)
-								exten => _1747XXXXXXX,3,Hangup
+								exten => _1747XXXXXXX,3,Hangup]]>
 							</programlisting>
 						</example>
 					</para>


More information about the Asterisk-Doc mailing list