rbrindley: branch 2.0 r4907 - /branches/2.0/config/iax.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Tue Jun 23 09:43:25 CDT 2009


Author: rbrindley
Date: Tue Jun 23 09:43:22 2009
New Revision: 4907

URL: http://svn.asterisk.org/svn-view/asterisk-gui?view=rev&rev=4907
Log:

- Added the following to the IAX page
	- HTML 4.01 DOCTYPE
	- <html>, <head>, <title>, and "Content-Type" <meta>
- moved js to the bottom


Modified:
    branches/2.0/config/iax.html

Modified: branches/2.0/config/iax.html
URL: http://svn.asterisk.org/svn-view/asterisk-gui/branches/2.0/config/iax.html?view=diff&rev=4907&r1=4906&r2=4907
==============================================================================
--- branches/2.0/config/iax.html (original)
+++ branches/2.0/config/iax.html Tue Jun 23 09:43:22 2009
@@ -1,3 +1,4 @@
+<!DOCTYPE html PUBLIC "-//W3C/DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <!--
  * Asterisk-GUI	- an Asterisk configuration interface
  *
@@ -18,217 +19,221 @@
  * at the top of the source tree.
  *
 -->
-<script src="js/jquery.js"></script>
-<script src="js/astman.js"></script>
-<script src="js/iax.js"></script>
-<link href="stylesheets/schwing.css" media="all" rel="Stylesheet" type="text/css" />
-<style type="text/css">
+<html>
+<head>
+	<title>IAX Settings</title>
+	<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" />
 
-</style>
-
+	<link href="stylesheets/schwing.css" media="all" rel="Stylesheet" type="text/css" />
+	<style type="text/css"></style>
+</head>
 <body bgcolor="EFEFEF">
-<div class="iframeTitleBar">
-	IAX (Inter Asterisk Exchange Protocol) Configuration
-	<span style="cursor: pointer; cursor: hand;" onclick="window.location.reload();" >&nbsp;<img src="images/refresh.png" title=" Refresh " border=0 >&nbsp;</span>
-</div>
-
-<center>
-	<div id="tabbedMenu"></div>
-	
-	<div style='width: 800px;'>
-	
-		<div id='iaxoptions_general' style='display: none;'>
-			<table class="field_text" align="center" width="100%" cellpadding=3 cellspacing=0 border=0>
-			<tr>	<td align=right tip="en,iax_general,0" width="50%">Bind Port:</td>
-					<td>&nbsp;<input type='text' size=4 id='bindport' dfalt='4569' pattern='^\d*$' class="input8"></td>
-			</tr>
-			<tr>	<td align=right tip="en,iax_general,1">Bind Address:</td>
-					<td>&nbsp;<input type='text' size=14 dfalt='' id='bindaddr' class="input8"></td>
-			</tr>
-			<tr>	<td align=right tip="en,iax_general,2">IAX1 Compatibility:</td>
-					<td><input type='checkbox' id='iaxcompat' dfalt='n'></td>
-			</tr>
-			<tr>	<td align=right tip="en,iax_general,3">No Checksums:</td>
-					<td><input type='checkbox' id='nochecksums' dfalt='n'></td>
-			</tr>
-			<tr>	<td align=right tip="en,iax_general,4">Delay Reject:</td>
-					<td><input type='checkbox' id='delayreject' dfalt='n'></td>
-			</tr>
-			<tr>	<td align=right tip="en,iax_general,5">ADSI:</td>
-					<td><input type='checkbox' dfalt='n' id='adsi'></td>
-			</tr>
-			<tr>	<td align=right tip="en,iax_general,8">Music On Hold Interpret:</td>
-					<td>&nbsp;<input type='text' size=14 id='mohinterpret' dfalt='default' class="input8"></td>
-			</tr>
-			<tr>	<td align=right tip="en,iax_general,9">Music On Hold Suggest:</td>
-					<td>&nbsp;<input type='text' size=14 id='mohsuggest' class="input8"></td>
-			</tr>
-			<tr>	<td align=right tip="en,iax_general,10">Language:</td>
-					<td>&nbsp;<input type='text' size=3 dfalt='en' id='language' class="input8"></td>
-			</tr>	
-			<tr>	<td align=right tip="en,iax_general,11">Bandwidth:</td>
-					<td>&nbsp;<select id="bandwidth" class="input8">
-						<option value="low">low</option>
-						<option value="medium">medium</option>
-						<option value="high">high</option>
-					</select>
-					</td>
-			</tr>
-			</table>
-		</div>
-	
-	
-	
-<!--		<div id='iaxoptions_cdr' style='display: none;'>
-			<table class="field_text" align="center" width="100%" cellpadding=3 cellspacing=0 border=0>
-			<tr>	<td align=right tip="en,iax_general,6"  width="50%">AMA Flags:</td>
-					<td>&nbsp;<input type='text' size=14 id='amaflags' class="input8"></td>
-			</tr>
-			<tr>	<td align=right tip="en,iax_general,7">Accountcode:</td>
-					<td>&nbsp;<input type='text' size=14 id='accountcode' class="input8"></td>
-			</tr>
-			</table>
-		</div>-->
-		
-		
-		
-		
-		<div id='iaxoptions_jitterBuffer' style='display: none;'>
-			<table class="field_text" align="center" width="100%" cellpadding=3 cellspacing=0 border=0>
-			<tr>	<td align=right tip="en,iax_general,12" width="50%">Enable Jitter Buffer:</td>
-					<td><input type='checkbox' id='jitterbuffer'></td>
-			</tr>
-			
-			<tr>	<td align=right tip="en,iax_general,13">Force Jitter Buffer:</td>
-					<td><input type='checkbox' id='forcejitterbuffer'></td>
-			</tr>
-			<tr>	<td align=right tip="en,iax_general,14">Drop Count:</td>
-					<td>&nbsp;<input type='text' size=4 id='dropcount' pattern='^\d*$' class="input8"></td>
-			</tr>
-			<tr>	<td align=right tip="en,iax_general,15">Max Jitter Buffer:</td>
-					<td>&nbsp;<input type='text' size=4 id='maxjitterbuffer' dfalt='1000' pattern='^\d*$' class="input8"></td>
-			</tr>
-			<tr>	<td align=right tip="en,iax_general,16">Max Interpolation Frames:</td>
-					<td>&nbsp;<input type='text' size=4 id='maxjitterinterps' dfalt='10' pattern='^\d*$' class="input8"></td>
-			</tr>
-			<tr>	<td align=right tip="en,iax_general,17">Resync Threshold:</td>
-					<td>&nbsp;<input type='text' size=4 id='resyncthreshold' dfalt='1000' pattern='^\d*$' class="input8"></td>
-			</tr>
-			<tr>	<td align=right tip="en,iax_general,18">Max Excess Buffer:</td>
-					<td>&nbsp;<input type='text' size=4 id='maxexcessbuffer' pattern='^\d*$' class="input8"></td>
-			</tr>
-			<tr>	<td align=right tip="en,iax_general,19">Min Excess Buffer:</td>
-					<td>&nbsp;<input type='text' size=4 id='minexcessbuffer' pattern='^\d*$' class="input8"></td>
-			</tr>
-			<tr>	<td align=right tip="en,iax_general,20">Jitter Shrink Rate:</td>
-					<td>&nbsp;<input type='text' size=4 id='jittershrinkrate' pattern='^\d*$' class="input8"></td>
-			</tr>
-			</table>
-		</div>
-	
-	
-	
-		<div id='iaxoptions_trunkregistration' style='display: none;'>
-			<table class="field_text" align="center" width="100%" cellpadding=3 cellspacing=0 border=0>
-			<tr>	<td colspan=2 align=center><B>IAX Registration Options</B></td></tr>
-			<tr>	<td align=right tip="en,iax_general,23"  width="50%">Min Reg Expire:</td>
-					<td>&nbsp;<input type='text' size=4 id='minregexpire' dfalt='60'  pattern='^\d*$' class="input8"></td>
-			</tr>
-			<tr>	<td align=right tip="en,iax_general,24">Max Reg Expire:</td>
-					<td>&nbsp;<input type='text' size=4 id='maxregexpire' dfalt='60' pattern='^\d*$' class="input8"></td>
-			</tr>
-			<tr>	<td align=right tip="en,iax_general,25">IAX ThreadCount:</td>
-					<td>&nbsp;<input type='text' size=4 id='iaxthreadcount' dfalt='10' pattern='^\d*$' class="input8"></td>
-			</tr>
-			<tr>	<td align=right tip="en,iax_general,26">IAX Max ThreadCount:</td>
-					<td>&nbsp;<input type='text' size=4 id='iaxmaxthreadcount' dfalt='100' pattern='^\d*$' class="input8"></td>
-			</tr>
-			<tr>	<td align=right tip="en,iax_general,29">Auto Kill:</td>
-					<td>&nbsp;<input size=3 type='text' id='autokill' class="input8"></td>
-			</tr>
-			
-			<tr>	<td align=right tip="en,iax_general,30"><NOBR>Authentication Debugging:</NOBR></td>
-					<td><input type='checkbox' id='authdebug'></td>
-			</tr>
-			<tr>	<td align=right  tip="en,iax_general,31">Codec Priority:</td>
-					<td>&nbsp;<select id="codecpriority" dfalt='reqonly' class="input8">
-							<option value="caller">caller</option>
-							<option value="disabled">disabled</option>
-							<option value="reqonly">reqonly</option>
-						</select>
-					</td>
-			</tr>
-			<tr>	<td align=right  tip="en,iax_general,32">Type of Service:</td>
-					<td>&nbsp;<select size=1 id="tos" class="input8">
-						<option value='ef'>ef</option>
-						<option value='CS0'>CS0</option>
-						<option value='CS1'>CS1</option>
-						<option value='CS2'>CS2</option>
-						<option value='CS3'>CS3</option>
-						<option value='CS4'>CS4</option>
-						<option value='CS5'>CS5</option>
-						<option value='CS6'>CS6</option>
-						<option value='CS7'>CS7</option>
-						<option value='AF11'>AF11</option>
-						<option value='AF12'>AF12</option>
-						<option value='AF13'>AF13</option>
-						<option value='AF21'>AF21</option>
-						<option value='AF22'>AF22</option>
-						<option value='AF23'>AF23</option>
-						<option value='AF31'>AF31</option>
-						<option value='AF32'>AF32</option>
-						<option value='AF33'>AF33</option>
-						<option value='AF41'>AF41</option>
-						<option value='AF42'>AF42</option>
-						<option value='AF43'>AF43</option>
-						</select>
-					</td>
-			</tr>
-			<tr>	<td colspan=2 align=center><BR><B>IAX Trunking Options</B></td></tr>
-			<tr>	<td align=right tip="en,iax_general,21">Trunk Freq:</td>
-					<td>&nbsp;<input type='text' size=4 id='trunkfreq' dfalt='20' pattern='^\d*$' class="input8"></td>
-			</tr>
-			<tr>	<td align=right tip="en,iax_general,22">Trunk Time Stamps:</td>
-					<td><input type='checkbox' id='trunktimestamps' dfalt='n'></td>
-			</tr>
-			</table>
-		</div>
-	
-	
-		
-		<!--<div id='iaxoptions_realtime' style='display: none;'>
-			<table class="field_text" align="center" width="100%" cellpadding=3 cellspacing=0 border=0>
-			<tr>	<td align=right  tip="en,iax_general,33"  width="50%">Cache Friends:</td>
-					<td><input type='checkbox' id='rtcachefriends'></td>
-			</tr>
-			<tr>	<td align=right  tip="en,iax_general,34">Send Registry Updates:</td>
-					<td><input type='checkbox' id='rtupdate'></td>
-			</tr>
-			<tr>	<td align=right  tip="en,iax_general,35">Auto-Expire Friends:</td>
-					<td><input type='checkbox' id='rtautoclear'></td>
-			</tr>
-			<tr>	<td align=right  tip="en,iax_general,36">Ignore Expired Peers:</td>
-					<td><input type='checkbox' id='rtignoreexpire'></td>
-			</tr>
-			</table>
-		</div>-->
-		
-		<div id='iaxoptions_Codecs' style='display: none;'>
-			<table class="field_text" align="center" width="100%" cellpadding=3 cellspacing=0 border=0>
-			<tr>
-				<td align=right>Allowed Codecs:</td>
-				<td>&nbsp;<span id='allow'></span></td>
-			</tr>
-			</table>
-		</div>
-	
-		
-		<div style='margin-top:15px; width:100%; text-align:center;'>
-			<span class='guiButtonCancel' onclick='window.location.reload();' style='margin-left:10px'>Cancel</span>
-			<span class='guiButtonEdit' onclick='saveChanges();'>Save</span>
-		</div>
-	
+	<div class="iframeTitleBar">
+		IAX (Inter Asterisk Exchange Protocol) Configuration
+		<span style="cursor: pointer; cursor: hand;" onclick="window.location.reload();" >&nbsp;<img src="images/refresh.png" title=" Refresh " border=0 >&nbsp;</span>
 	</div>
 
-</center>
+	<center>
+		<div id="tabbedMenu"></div>
+		
+		<div style='width: 800px;'>
+		
+			<div id='iaxoptions_general' style='display: none;'>
+				<table class="field_text" align="center" width="100%" cellpadding=3 cellspacing=0 border=0>
+				<tr>	<td align=right tip="en,iax_general,0" width="50%">Bind Port:</td>
+						<td>&nbsp;<input type='text' size=4 id='bindport' dfalt='4569' pattern='^\d*$' class="input8"></td>
+				</tr>
+				<tr>	<td align=right tip="en,iax_general,1">Bind Address:</td>
+						<td>&nbsp;<input type='text' size=14 dfalt='' id='bindaddr' class="input8"></td>
+				</tr>
+				<tr>	<td align=right tip="en,iax_general,2">IAX1 Compatibility:</td>
+						<td><input type='checkbox' id='iaxcompat' dfalt='n'></td>
+				</tr>
+				<tr>	<td align=right tip="en,iax_general,3">No Checksums:</td>
+						<td><input type='checkbox' id='nochecksums' dfalt='n'></td>
+				</tr>
+				<tr>	<td align=right tip="en,iax_general,4">Delay Reject:</td>
+						<td><input type='checkbox' id='delayreject' dfalt='n'></td>
+				</tr>
+				<tr>	<td align=right tip="en,iax_general,5">ADSI:</td>
+						<td><input type='checkbox' dfalt='n' id='adsi'></td>
+				</tr>
+				<tr>	<td align=right tip="en,iax_general,8">Music On Hold Interpret:</td>
+						<td>&nbsp;<input type='text' size=14 id='mohinterpret' dfalt='default' class="input8"></td>
+				</tr>
+				<tr>	<td align=right tip="en,iax_general,9">Music On Hold Suggest:</td>
+						<td>&nbsp;<input type='text' size=14 id='mohsuggest' class="input8"></td>
+				</tr>
+				<tr>	<td align=right tip="en,iax_general,10">Language:</td>
+						<td>&nbsp;<input type='text' size=3 dfalt='en' id='language' class="input8"></td>
+				</tr>	
+				<tr>	<td align=right tip="en,iax_general,11">Bandwidth:</td>
+						<td>&nbsp;<select id="bandwidth" class="input8">
+							<option value="low">low</option>
+							<option value="medium">medium</option>
+							<option value="high">high</option>
+						</select>
+						</td>
+				</tr>
+				</table>
+			</div>
+		
+		
+		
+	<!--		<div id='iaxoptions_cdr' style='display: none;'>
+				<table class="field_text" align="center" width="100%" cellpadding=3 cellspacing=0 border=0>
+				<tr>	<td align=right tip="en,iax_general,6"  width="50%">AMA Flags:</td>
+						<td>&nbsp;<input type='text' size=14 id='amaflags' class="input8"></td>
+				</tr>
+				<tr>	<td align=right tip="en,iax_general,7">Accountcode:</td>
+						<td>&nbsp;<input type='text' size=14 id='accountcode' class="input8"></td>
+				</tr>
+				</table>
+			</div>-->
+			
+			
+			
+			
+			<div id='iaxoptions_jitterBuffer' style='display: none;'>
+				<table class="field_text" align="center" width="100%" cellpadding=3 cellspacing=0 border=0>
+				<tr>	<td align=right tip="en,iax_general,12" width="50%">Enable Jitter Buffer:</td>
+						<td><input type='checkbox' id='jitterbuffer'></td>
+				</tr>
+				
+				<tr>	<td align=right tip="en,iax_general,13">Force Jitter Buffer:</td>
+						<td><input type='checkbox' id='forcejitterbuffer'></td>
+				</tr>
+				<tr>	<td align=right tip="en,iax_general,14">Drop Count:</td>
+						<td>&nbsp;<input type='text' size=4 id='dropcount' pattern='^\d*$' class="input8"></td>
+				</tr>
+				<tr>	<td align=right tip="en,iax_general,15">Max Jitter Buffer:</td>
+						<td>&nbsp;<input type='text' size=4 id='maxjitterbuffer' dfalt='1000' pattern='^\d*$' class="input8"></td>
+				</tr>
+				<tr>	<td align=right tip="en,iax_general,16">Max Interpolation Frames:</td>
+						<td>&nbsp;<input type='text' size=4 id='maxjitterinterps' dfalt='10' pattern='^\d*$' class="input8"></td>
+				</tr>
+				<tr>	<td align=right tip="en,iax_general,17">Resync Threshold:</td>
+						<td>&nbsp;<input type='text' size=4 id='resyncthreshold' dfalt='1000' pattern='^\d*$' class="input8"></td>
+				</tr>
+				<tr>	<td align=right tip="en,iax_general,18">Max Excess Buffer:</td>
+						<td>&nbsp;<input type='text' size=4 id='maxexcessbuffer' pattern='^\d*$' class="input8"></td>
+				</tr>
+				<tr>	<td align=right tip="en,iax_general,19">Min Excess Buffer:</td>
+						<td>&nbsp;<input type='text' size=4 id='minexcessbuffer' pattern='^\d*$' class="input8"></td>
+				</tr>
+				<tr>	<td align=right tip="en,iax_general,20">Jitter Shrink Rate:</td>
+						<td>&nbsp;<input type='text' size=4 id='jittershrinkrate' pattern='^\d*$' class="input8"></td>
+				</tr>
+				</table>
+			</div>
+		
+		
+		
+			<div id='iaxoptions_trunkregistration' style='display: none;'>
+				<table class="field_text" align="center" width="100%" cellpadding=3 cellspacing=0 border=0>
+				<tr>	<td colspan=2 align=center><B>IAX Registration Options</B></td></tr>
+				<tr>	<td align=right tip="en,iax_general,23"  width="50%">Min Reg Expire:</td>
+						<td>&nbsp;<input type='text' size=4 id='minregexpire' dfalt='60'  pattern='^\d*$' class="input8"></td>
+				</tr>
+				<tr>	<td align=right tip="en,iax_general,24">Max Reg Expire:</td>
+						<td>&nbsp;<input type='text' size=4 id='maxregexpire' dfalt='60' pattern='^\d*$' class="input8"></td>
+				</tr>
+				<tr>	<td align=right tip="en,iax_general,25">IAX ThreadCount:</td>
+						<td>&nbsp;<input type='text' size=4 id='iaxthreadcount' dfalt='10' pattern='^\d*$' class="input8"></td>
+				</tr>
+				<tr>	<td align=right tip="en,iax_general,26">IAX Max ThreadCount:</td>
+						<td>&nbsp;<input type='text' size=4 id='iaxmaxthreadcount' dfalt='100' pattern='^\d*$' class="input8"></td>
+				</tr>
+				<tr>	<td align=right tip="en,iax_general,29">Auto Kill:</td>
+						<td>&nbsp;<input size=3 type='text' id='autokill' class="input8"></td>
+				</tr>
+				
+				<tr>	<td align=right tip="en,iax_general,30"><NOBR>Authentication Debugging:</NOBR></td>
+						<td><input type='checkbox' id='authdebug'></td>
+				</tr>
+				<tr>	<td align=right  tip="en,iax_general,31">Codec Priority:</td>
+						<td>&nbsp;<select id="codecpriority" dfalt='reqonly' class="input8">
+								<option value="caller">caller</option>
+								<option value="disabled">disabled</option>
+								<option value="reqonly">reqonly</option>
+							</select>
+						</td>
+				</tr>
+				<tr>	<td align=right  tip="en,iax_general,32">Type of Service:</td>
+						<td>&nbsp;<select size=1 id="tos" class="input8">
+							<option value='ef'>ef</option>
+							<option value='CS0'>CS0</option>
+							<option value='CS1'>CS1</option>
+							<option value='CS2'>CS2</option>
+							<option value='CS3'>CS3</option>
+							<option value='CS4'>CS4</option>
+							<option value='CS5'>CS5</option>
+							<option value='CS6'>CS6</option>
+							<option value='CS7'>CS7</option>
+							<option value='AF11'>AF11</option>
+							<option value='AF12'>AF12</option>
+							<option value='AF13'>AF13</option>
+							<option value='AF21'>AF21</option>
+							<option value='AF22'>AF22</option>
+							<option value='AF23'>AF23</option>
+							<option value='AF31'>AF31</option>
+							<option value='AF32'>AF32</option>
+							<option value='AF33'>AF33</option>
+							<option value='AF41'>AF41</option>
+							<option value='AF42'>AF42</option>
+							<option value='AF43'>AF43</option>
+							</select>
+						</td>
+				</tr>
+				<tr>	<td colspan=2 align=center><BR><B>IAX Trunking Options</B></td></tr>
+				<tr>	<td align=right tip="en,iax_general,21">Trunk Freq:</td>
+						<td>&nbsp;<input type='text' size=4 id='trunkfreq' dfalt='20' pattern='^\d*$' class="input8"></td>
+				</tr>
+				<tr>	<td align=right tip="en,iax_general,22">Trunk Time Stamps:</td>
+						<td><input type='checkbox' id='trunktimestamps' dfalt='n'></td>
+				</tr>
+				</table>
+			</div>
+		
+		
+			
+			<!--<div id='iaxoptions_realtime' style='display: none;'>
+				<table class="field_text" align="center" width="100%" cellpadding=3 cellspacing=0 border=0>
+				<tr>	<td align=right  tip="en,iax_general,33"  width="50%">Cache Friends:</td>
+						<td><input type='checkbox' id='rtcachefriends'></td>
+				</tr>
+				<tr>	<td align=right  tip="en,iax_general,34">Send Registry Updates:</td>
+						<td><input type='checkbox' id='rtupdate'></td>
+				</tr>
+				<tr>	<td align=right  tip="en,iax_general,35">Auto-Expire Friends:</td>
+						<td><input type='checkbox' id='rtautoclear'></td>
+				</tr>
+				<tr>	<td align=right  tip="en,iax_general,36">Ignore Expired Peers:</td>
+						<td><input type='checkbox' id='rtignoreexpire'></td>
+				</tr>
+				</table>
+			</div>-->
+			
+			<div id='iaxoptions_Codecs' style='display: none;'>
+				<table class="field_text" align="center" width="100%" cellpadding=3 cellspacing=0 border=0>
+				<tr>
+					<td align=right>Allowed Codecs:</td>
+					<td>&nbsp;<span id='allow'></span></td>
+				</tr>
+				</table>
+			</div>
+		
+			
+			<div style='margin-top:15px; width:100%; text-align:center;'>
+				<span class='guiButtonCancel' onclick='window.location.reload();' style='margin-left:10px'>Cancel</span>
+				<span class='guiButtonEdit' onclick='saveChanges();'>Save</span>
+			</div>
+		
+		</div>
+
+	</center>
+	<script src="js/jquery.js"></script>
+	<script src="js/astman.js"></script>
+	<script src="js/iax.js"></script>
 </body>
+</html>




More information about the asterisk-gui-commits mailing list