pari: trunk r57 - in /trunk/config: ./ scripts/
asterisk-gui-commits at lists.digium.internal
asterisk-gui-commits at lists.digium.internal
Mon Oct 9 17:39:57 CDT 2006
Author: pari
Date: Mon Oct 9 17:39:56 2006
New Revision: 57
URL: http://svn.digium.com/view/asterisk-gui?rev=57&view=rev
Log:
Field validations and sip_general tooltips
Modified:
trunk/config/advanced.html
trunk/config/iax.html
trunk/config/jabber.html
trunk/config/jingle.html
trunk/config/meetme.html
trunk/config/menus.html
trunk/config/numberplan.html
trunk/config/queues.html
trunk/config/schwing.html
trunk/config/scripts/tooltip.js
trunk/config/sip_general.html
trunk/config/users.html
trunk/config/voicemail.html
Modified: trunk/config/advanced.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/advanced.html?rev=57&r1=56&r2=57&view=diff
==============================================================================
--- trunk/config/advanced.html (original)
+++ trunk/config/advanced.html Mon Oct 9 17:39:56 2006
@@ -80,7 +80,7 @@
new PanelDef("moh", "Music On Hold", "accordion-icon.gif", " Music on hold sometimes keeps people less angry while they wait for an answer"),
- new PanelDef("sip", "SIP", "accordion-icon.gif", "SIP (Session Initiation Protocol) Configuration"),
+ new PanelDef("sip_general", "SIP", "accordion-icon.gif", "SIP (Session Initiation Protocol) Configuration"),
new PanelDef("iax", "IAX", "accordion-icon.gif", "IAX (Inter-Asterisk eXchange Protocol) Configuration"),
Modified: trunk/config/iax.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/iax.html?rev=57&r1=56&r2=57&view=diff
==============================================================================
--- trunk/config/iax.html (original)
+++ trunk/config/iax.html Mon Oct 9 17:39:56 2006
@@ -21,6 +21,7 @@
<script src="scripts/prototype.js"></script>
<script src="scripts/rico.js"></script>
<script src="scripts/astman.js"></script>
+<script src="scripts/tooltip.js"></script>
<link href="stylesheets/rico.css" media="all" rel="Stylesheet" type="text/css" />
<link href="stylesheets/schwing.css" media="all" rel="Stylesheet" type="text/css" />
<script>
@@ -62,22 +63,19 @@
</script>
<body id="foo" onload="localajaxinit()">
<div class="mainscreenTitleBar">
- <span style="margin-left: 4px;font-weight:bold">IAX Configuration </span>
+ <span style="margin-left: 4px;font-weight:bold">IAX (Inter Asterisk Exchange Protocol) Configuration </span>
</div>
<div class="mainscreenContentBox" id="userscontent">
-<table class="mainscreenTable" align="center">
-<tr><td height=18></td></tr>
-<tr valign="top">
-<td>
- <div style="height :385px;width=400px; overflow :auto;">
- <table align="center" cellspacing=0 cellpadding=2 width=350>
+<div style="height :75%;width :100%; overflow :auto;">
+<table class="mainscreenTable" align="center" width="100%" cellpadding=3 cellspacing=0>
+ <tr><td align=right colspan=2> </td></tr>
<tr><td align=right>Bind Port:</td>
- <td> <input type='text' size=4 id='bindport'></td>
+ <td> <input type='text' size=4 id='bindport' pattern='^\d*$'></td>
</tr>
<tr><td align=right>Bind Address:</td>
- <td> <input type='text' size=15 id='bindaddr'></td>
+ <td> <input type='text' size=14 id='bindaddr'></td>
</tr>
<tr><td align=right>IAX1 Compatibility:</td>
@@ -99,30 +97,27 @@
<tr><td colspan=2><B>Call Detail Records</B></td></tr>
<tr><td align=right>AMA Flags:</td>
- <td> <input type='text' size=15 id='amaflags'></td>
+ <td> <input type='text' size=14 id='amaflags'></td>
</tr>
<tr><td align=right>Accountcode:</td>
- <td> <input type='text' size=15 id='accountcode'></td>
+ <td> <input type='text' size=14 id='accountcode'></td>
+ </tr>
+
+ <tr><td align=right>Music On Hold Interpret:</td>
+ <td> <input type='text' size=14 id='mohinterpret'></td>
+ </tr>
+
+ <tr><td align=right>Music On Hold Suggest:</td>
+ <td> <input type='text' size=14 id='mohsuggest'></td>
</tr>
<tr><td align=right>Language:</td>
<td> <input type='text' size=3 dfalt='en' id='language'></td>
</tr>
- <tr><td align=right>Music On Hold Interpret:</td>
- <td>
-
- <input type='text' size=15 id='mohinterpret'></td>
- </tr>
-
- <tr><td align=right>Music On Hold Suggest:</td>
- <td> <input type='text' size=15 id='mohsuggest'></td>
- </tr>
-
<tr><td align=right>Bandwidth:</td>
- <td>
- <select id="bandwidth">
+ <td> <select id="bandwidth">
<option value="low">low</option>
<option value="medium">medium</option>
<option value="high">high</option>
@@ -141,38 +136,38 @@
</tr>
<tr><td align=right>Drop Count:</td>
- <td> <input type='text' size=2 id='dropcount'></td>
+ <td> <input type='text' size=4 id='dropcount' pattern='^\d*$'></td>
</tr>
<tr><td align=right>Max Jitter Buffer:</td>
- <td> <input type='text' size=4 id='maxjitterbuffer'></td>
+ <td> <input type='text' size=4 id='maxjitterbuffer' pattern='^\d*$'></td>
</tr>
<tr><td align=right>Max Interpolation Frames:</td>
- <td> <input type='text' size=4 id='maxjitterinterps'></td>
+ <td> <input type='text' size=4 id='maxjitterinterps' pattern='^\d*$'></td>
</tr>
<tr><td align=right>Resync Threshold:</td>
- <td> <input type='text' size=4 id='resyncthreshold'></td>
+ <td> <input type='text' size=4 id='resyncthreshold' pattern='^\d*$'></td>
</tr>
<tr><td align=right>Max Excess Buffer:</td>
- <td> <input type='text' size=4 id='maxexcessbuffer'></td>
+ <td> <input type='text' size=4 id='maxexcessbuffer' pattern='^\d*$'></td>
</tr>
<tr><td align=right>Min Excess Buffer:</td>
- <td> <input type='text' size=4 id='minexcessbuffer'></td>
+ <td> <input type='text' size=4 id='minexcessbuffer' pattern='^\d*$'></td>
</tr>
<tr><td align=right>Jitter Shrink Rate:</td>
- <td> <input type='text' size=4 id='jittershrinkrate'></td>
+ <td> <input type='text' size=4 id='jittershrinkrate' pattern='^\d*$'></td>
</tr>
<!-- Done with Jitter Buffer -->
<tr><td colspan=2><B>IAX Trunking Options</B></td></tr>
<tr><td align=right>Trunk Freq:</td>
- <td> <input type='text' size=4 id='trunkfreq'></td>
+ <td> <input type='text' size=4 id='trunkfreq' pattern='^\d*$'></td>
</tr>
<tr><td align=right>Trunk Time Stamps:</td>
@@ -182,33 +177,50 @@
<tr><td colspan=2><B>IAX Registration Options</B></td></tr>
<tr><td align=right>Min Reg Expire:</td>
- <td> <input type='text' size=4 id='minregexpire'></td>
+ <td> <input type='text' size=4 id='minregexpire' pattern='^\d*$'></td>
</tr>
<tr><td align=right>Max Reg Expire:</td>
- <td> <input type='text' size=4 id='maxregexpire'></td>
+ <td> <input type='text' size=4 id='maxregexpire' pattern='^\d*$'></td>
</tr>
<tr><td align=right>IAX ThreadCount:</td>
- <td> <input type='text' size=4 id='iaxthreadcount'></td>
+ <td> <input type='text' size=4 id='iaxthreadcount' pattern='^\d*$'></td>
</tr>
<tr><td align=right>IAX Max ThreadCount:</td>
- <td> <input type='text' size=4 id='iaxmaxthreadcount'></td>
+ <td> <input type='text' size=4 id='iaxmaxthreadcount' pattern='^\d*$'></td>
</tr>
<tr><td align=right>Register:</td>
- <td> <input type='text' size=16 id='register'></td>
- </tr>
-
- <tr><td align=right>Authentication Debugging:</td>
+ <td> <input type='text' size=12 id='register'></td>
+ </tr>
+
+ <tr><td align=right>Reg Context:</td>
+ <td> <input type='text' size=12 id='regcontext'></td>
+ </tr>
+
+ <tr><td align=right>Auto Kill:</td>
+ <td> <input size=3 type='text' id='autokill'></td>
+ </tr>
+
+ <tr><td align=right><NOBR>Authentication Debugging:</NOBR></td>
<td><input type='checkbox' id='authdebug'></td>
</tr>
+ <tr><td align=right>Codec Priority:</td>
+ <td> <select id="codecpriority">
+ <option value="caller">caller</option>
+ <option value="host">host</option>
+ <option value="disabled">disabled</option>
+ <option value="reqonly">reqonly</option>
+ </select>
+ </td>
+ </tr>
+
<tr><td align=right>Type of Service:</td>
- <td>
- <select size=1 id="tos">
+ <td> <select size=1 id="tos">
<option value='ef'>ef</option>
<option value='CS0'>CS0</option>
<option value='CS1'>CS1</option>
@@ -233,27 +245,6 @@
</select>
</td>
</tr>
-
- <tr><td align=right>Reg Context:</td>
- <td> <input type='text' size=16 id='regcontext'></td>
- </tr>
-
- <tr><td align=right>Auto Kill:</td>
- <td><input type='text' id='autokill'></td>
- </tr>
-
- <tr><td align=right>Codec Priority:</td>
- <td>
- <select id="codecpriority">
- <option value="caller">caller</option>
- <option value="host">host</option>
- <option value="disabled">disabled</option>
- <option value="reqonly">reqonly</option>
- </select>
- </td>
- </tr>
-
-
<tr><td colspan=2><B>Realtime IAX Options</B></td></tr>
<tr><td align=right>Cache Friends:</td>
@@ -274,21 +265,12 @@
</table>
</div>
-
+<HR>
<table align="center">
- <tr><td colspan=2 align=center><div id='status'></div></td></tr>
- <tr><td colspan=2 align=center>
- <input style='width:80' type='button' id='save' value='Save'> <input style='width:80' type='button' id='cancel' value='Cancel'>
- </td>
- </tr>
+ <tr><td colspan=2 align=center height=20><div id='status'></div></td></tr>
+ <tr><td colspan=2 align=center><input style='width:80' type='button' id='save' value='Save'> <input style='width:80' type='button' id='cancel' value='Cancel'></td></tr>
</table>
-
-</td>
-</tr>
-</table>
</div>
-<div style='visibility:hidden;overflow:hidden;width:0px;height:0px'>
-<select size="5" id="hiddenfield" style="width:220px">
-</select>
-</div>
+<div style='visibility:hidden;overflow:hidden;width:0px;height:0px'><select size="5" id="hiddenfield" style="width:220px"></select></div>
+<div id='tooltip' style="margin-left:5px;height: 60px; width:575px; overflow :auto; font-family : Trebuchet MS, Arial, Helvetica, sans-serif;font-size: 11px; "></div>
</body>
Modified: trunk/config/jabber.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/jabber.html?rev=57&r1=56&r2=57&view=diff
==============================================================================
--- trunk/config/jabber.html (original)
+++ trunk/config/jabber.html Mon Oct 9 17:39:56 2006
@@ -84,17 +84,22 @@
<table cellspacing='0' cellpadding='0'>
<tr valign="top"><td>
<table>
- <tr><td>Extension:</td><td><input size='10' id='name'></td></tr>
- <tr><td>Username:</td><td><input size='20' id='username'></td></tr>
- <tr><td>Password:</td><td><input size='12' id='secret'></td></tr>
- <tr><td>Type:</td><td><input size='12' id='type'></td></tr>
- <tr><td>Server Host:</td><td><input size='20' id='serverhost'></td></tr>
- <tr><td>Port:</td><td><input size='4' id='port'></td></tr>
+ <tr><td>Extension:</td><td> <input size='24' id='name'></td></tr>
+ <tr><td>Username:</td><td> <input size='24' id='username'></td></tr>
+ <tr><td>Password:</td><td> <input size='24' id='secret'></td></tr>
+ <tr><td>Server Host:</td><td> <input size='24' id='serverhost'></td></tr>
+ <tr><td>Buddy:</td><td> <input size='24' id='buddy'></td></tr>
+ <tr><td>Status Message:</td><td> <input size='24' id='statusmessage'></td></tr>
+ <tr><td>Type:</td><td> <select id='type'>
+ <option value="client">client</option>
+ <option value="component">component</option>
+ </select>
+ </td>
+ </tr>
+ <tr><td>Port:</td><td> <input size='4' id='port' pattern='^\d*$'></td></tr>
+ <tr><td>TimeOut:</td><td> <input size='4' id='timeout' pattern='^\d*$'></td></tr>
<tr><td>Use TLS:</td><td><input type="checkbox" id='usetls'></td></tr>
<tr><td>Use SASL:</td><td><input type="checkbox" id='usesasl'></td></tr>
- <tr><td>Buddy:</td><td><input size='15' id='buddy'></td></tr>
- <tr><td>Status Message:</td><td><input size='20' id='statusmessage'></td></tr>
- <tr><td>TimeOut:</td><td><input size='3' id='timeout'></td></tr>
<tr><td colspan='2' align='center'><div style="height:15px" id='status'></div></td></tr>
</table>
</td>
Modified: trunk/config/jingle.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/jingle.html?rev=57&r1=56&r2=57&view=diff
==============================================================================
--- trunk/config/jingle.html (original)
+++ trunk/config/jingle.html Mon Oct 9 17:39:56 2006
@@ -79,7 +79,7 @@
<table cellspacing='0' cellpadding='0'>
<tr valign="top"><td>
<table>
- <tr><td>Extension:</td><td><input size='10' id='name'></td></tr>
+ <tr><td>Extension:</td><td><input size='12' id='name'></td></tr>
<tr><td>Username:</td><td><input size='20' id='username'></td></tr>
<tr><td>Disallowed Codecs:</td><td><input size='12' id='disallow'></td></tr>
<tr><td>Allowed Codecs:</td><td>
Modified: trunk/config/meetme.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/meetme.html?rev=57&r1=56&r2=57&view=diff
==============================================================================
--- trunk/config/meetme.html (original)
+++ trunk/config/meetme.html Mon Oct 9 17:39:56 2006
@@ -225,9 +225,9 @@
<table cellspacing='0' cellpadding='0'>
<tr valign="top"><td>
<table>
- <tr onmouseover="show_tooltip('en', 'meetme', 0);" ><td>Extension:</td><td><input size='5' id='name' onkeypress="return OnlyNumbers(event)"></td></tr>
- <tr onmouseover="show_tooltip('en', 'meetme', 1);"><td>PIN Code:</td><td><input size='5' id='pin' onkeypress="return OnlyNumbers(event)"></td></tr>
- <tr onmouseover="show_tooltip('en', 'meetme', 2);"><td>Administrator PIN Code:</td><td><input size='5' id='pinadmin' onkeypress="return OnlyNumbers(event)"></td></tr>
+ <tr onmouseover="show_tooltip('en', 'meetme', 0);" ><td>Extension:</td><td><input size='5' id='name' pattern='^\d*$'></td></tr>
+ <tr onmouseover="show_tooltip('en', 'meetme', 1);"><td>PIN Code:</td><td><input size='5' id='pin' pattern='^\d*$'></td></tr>
+ <tr onmouseover="show_tooltip('en', 'meetme', 2);"><td>Administrator PIN Code:</td><td><input size='5' id='pinadmin' pattern='^\d*$'></td></tr>
<tr onmouseover="show_tooltip('en', 'meetme', 3);"><td>Play hold music for first caller</td><td><input type='checkbox' id='music'></td></tr>
<tr onmouseover="show_tooltip('en', 'meetme', 4);"><td>Enable caller menu</td><td><input type='checkbox' id='menu'></td></tr>
<tr onmouseover="show_tooltip('en', 'meetme', 5);"><td>Announce callers</td><td><input type='checkbox' id='announce'></td></tr>
@@ -240,7 +240,7 @@
<tr><td>
<div style="background-image:url(images/slice-v.png)" id='advancedw'>
<table id='advancedi' align='center'><tr><td>
- <tr onmouseover="show_tooltip('en', 'meetme', 7);"><td>Room Override:</td><td><input size='5' id='room' onkeypress="return OnlyNumbers(event)"></td></tr>
+ <tr onmouseover="show_tooltip('en', 'meetme', 7);"><td>Room Override:</td><td><input size='5' id='room' pattern='^\d*$'></td></tr>
<tr><td>Record conference</td><td><input type='checkbox' id='record'></td></tr>
<tr onmouseover="show_tooltip('en', 'meetme', 8);"><td>Quiet Mode</td><td><input type='checkbox' id='quiet'></td></tr>
<tr onmouseover="show_tooltip('en', 'meetme', 9);"><td>Wait for marked user</td><td><input type='checkbox' id='waitmarked'></td></tr>
Modified: trunk/config/menus.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/menus.html?rev=57&r1=56&r2=57&view=diff
==============================================================================
--- trunk/config/menus.html (original)
+++ trunk/config/menus.html Mon Oct 9 17:39:56 2006
@@ -851,7 +851,7 @@
</td>
<td valign=top align="right" width=390>
<table align="center" width="390">
- <tr><td width="60" align=left>Name:</td><td align=left><input id='comment' onKeyUp="enable_savecancel()" disabled></td></tr>
+ <tr><td width="60" align=left>Name:</td><td align=left><input id='comment' onKeyUp="enable_savecancel()" pattern='^[a-zA-Z_0-9 ]*$' disabled ></td></tr>
<tr><td colspan=2>Steps:</td></tr>
<tr><td align=center colspan=2>
<TABLE>
@@ -877,7 +877,7 @@
<option value="Wait">Wait</option>
<option value="Hangup">Hangup</option>
</select>
- <input type=text id="newstep_var" size=4 disabled>
+ <input type=text id="newstep_var" style="display:none" size=4 disabled>
<div id="combodiv_sounds">
<select size=5 id="combosel_sounds" style="font-family: Verdana, Arial, Helvetica, Sans-Serif;font-size: 11px; ">
<option value="" style="font-weight: bold">Agent Related</option>
@@ -1090,7 +1090,7 @@
<option value="vm-youhave">vm-youhave</option>
</select>
</div>
- <input type=text id="newstep_var_digit" size=3 style="display:none;" onChange=" $('newstep_var').value = $('newstep_var_digit').value; ">
+ <input type=text id="newstep_var_digit" size=3 style="display:none;" onChange=" $('newstep_var').value = $('newstep_var_digit').value;" pattern='^\d*$'>
<SCRIPT LANGUAGE="JavaScript">combo_box('newstep_var', "combodiv_sounds","combosel_sounds"); </SCRIPT>
<input type=button style='width:45' id='addstep' onclick="add_newstep()" value="Add" disabled>
<input type=button style='width:50' id='deletestep' onclick="delete_step()" value="Delete" disabled>
Modified: trunk/config/numberplan.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/numberplan.html?rev=57&r1=56&r2=57&view=diff
==============================================================================
--- trunk/config/numberplan.html (original)
+++ trunk/config/numberplan.html Mon Oct 9 17:39:56 2006
@@ -190,6 +190,7 @@
// called "ON page load" and when the extensions select box is clicked
var tmp;
tmp = val.split(']');
+ $('combobox_div').style.display = "none";
if (tmp.length > 1) {
/* Found an entry */
@@ -491,7 +492,7 @@
</td></tr>
<tr><td>Pattern:</td><td><input size='18' id='name'>
<div id="combobox_div">
- <select size=5 id="combosel" style="font-family: Verdana, Arial, Helvetica, Sans-Serif;font-size: 11px; ">
+ <select size=5 id="combosel" style="font-family: Verdana, Arial, Helvetica, Sans-Serif;font-size: 11px;">
<option value="_9NXXXXXX">_9NXXXXXX (Seven Digit Dial)</option>
<option value="_9NXXNXXXXXX">_9NXXNXXXXXX (Ten Digit Dial)</option>
<option value='_91NXXNXXXXXX'>_91NXXNXXXXXX (1+ Dial)</option>
@@ -506,8 +507,8 @@
</SCRIPT>
</td></tr>
<tr><td>Trunk:</td><td><select id='trunk'></select></td></tr>
- <tr><td>Priority:</td><td><input size='4' id='priority'></td></tr>
- <tr><td>Real Priority:</td><td><input size='4' id='realpriority'></td></tr>
+ <tr><td>Priority:</td><td><input size='4' id='priority' pattern='^\d*$'></td></tr>
+ <tr><td>Real Priority:</td><td><input size='4' id='realpriority' pattern='^\d*$'></td></tr>
<tr><td colspan='2' align='center'><div style="height:15px" id='status'></div></td></tr>
<tr><td colspan='2'></td></tr>
</table>
Modified: trunk/config/queues.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/queues.html?rev=57&r1=56&r2=57&view=diff
==============================================================================
--- trunk/config/queues.html (original)
+++ trunk/config/queues.html Mon Oct 9 17:39:56 2006
@@ -404,8 +404,8 @@
<table cellspacing='0' cellpadding='0'>
<tr valign="top"><td>
<table>
- <tr onmouseover="show_tooltip('en', 'queues', 0);" ><td>Queue:</td><td><input size='5' id='name'></td></tr>
- <tr onmouseover="show_tooltip('en', 'queues', 1);" ><td>Full Name:</td><td><input size='24' id='fullname'></td></tr>
+ <tr onmouseover="show_tooltip('en', 'queues', 0);" ><td>Queue:</td><td><input size='5' id='name' pattern='^\d*$'></td></tr>
+ <tr onmouseover="show_tooltip('en', 'queues', 1);" ><td>Full Name:</td><td><input size='24' id='fullname' pattern='^[a-zA-Z_0-9 ]*$'></td></tr>
<tr onmouseover="show_tooltip('en', 'queues', 2);" ><td>Strategy :</td><td><select id='strategy'>
<option value="ringall">ringall</option>
<option value="roundrobin">roundrobin</option>
@@ -428,11 +428,11 @@
<tr><td>
<div style="background-image:url(images/slice-v.png)" id='advancedw'>
<table id='advancedi' align='center'>
- <tr onmouseover="show_tooltip('en', 'queues', 5);" ><td>TimeOut:</td><td> <input size='2' id='timeout'></td></tr>
- <tr onmouseover="show_tooltip('en', 'queues', 6);" ><td>Wrapup Time:</td><td> <input size='2' id='wrapuptime'></td></tr>
+ <tr onmouseover="show_tooltip('en', 'queues', 5);" ><td>TimeOut:</td><td> <input size='2' id='timeout' pattern='^\d*$'></td></tr>
+ <tr onmouseover="show_tooltip('en', 'queues', 6);" ><td>Wrapup Time:</td><td> <input size='2' id='wrapuptime' pattern='^\d*$'></td></tr>
<tr onmouseover="show_tooltip('en', 'queues', 7);" ><td>Auto Fill:</td><td><input type=checkbox id='autofill'></td></tr>
<tr onmouseover="show_tooltip('en', 'queues', 8);" ><td>Auto Pause:</td><td><input type=checkbox id='autopause'></td></tr>
- <tr onmouseover="show_tooltip('en', 'queues', 9);" ><td>Max Len:</td><td> <input size='2' id='maxlen'></td></tr>
+ <tr onmouseover="show_tooltip('en', 'queues', 9);" ><td>Max Len:</td><td> <input size='2' id='maxlen' pattern='^\d*$'></td></tr>
<tr onmouseover="show_tooltip('en', 'queues', 10);" ><td>JoinEmpty:</td><td><input type=checkbox id='joinempty'></td></tr>
<tr onmouseover="show_tooltip('en', 'queues', 11);" ><td>LeaveWhenEmpty:</td><td><input type=checkbox id='leavewhenempty'></td></tr>
<tr onmouseover="show_tooltip('en', 'queues', 12);" ><td>Report Hold Time:</td><td><input type=checkbox id='reportholdtime'></td></tr>
Modified: trunk/config/schwing.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/schwing.html?rev=57&r1=56&r2=57&view=diff
==============================================================================
--- trunk/config/schwing.html (original)
+++ trunk/config/schwing.html Mon Oct 9 17:39:56 2006
@@ -167,12 +167,13 @@
<td bgcolor='white'></td>
</tr>
<tr><td valign="bottom" align='right' colspan="2" bgcolor='white'>
-<img align='left' src="images/digiumlogo.gif" align="left">
-</td><td valign='bottom' align='right' bgcolor='white'>
-<a target='_guido' href="http://www.digium.com/guido/about">About Digium</a> |
-<a target='_guido' href="http://www.digium.com/guido/help">Help</a>
-</td></tr>
-
+ <img align='left' src="images/digiumlogo.gif" align="left">
+ </td>
+ <td valign='bottom' align='right' bgcolor='white'>
+ <a target='_guido' href="http://www.digium.com/guido/about">About Digium</a> |
+ <a target='_guido' href="http://www.digium.com/guido/help">Help</a>
+ </td>
+</tr>
<tr><td>
<div id="configpanel" style="width:150px">
<script>
Modified: trunk/config/scripts/tooltip.js
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/scripts/tooltip.js?rev=57&r1=56&r2=57&view=diff
==============================================================================
--- trunk/config/scripts/tooltip.js (original)
+++ trunk/config/scripts/tooltip.js Mon Oct 9 17:39:56 2006
@@ -81,3 +81,88 @@
tooltips['queues'].en[10] = "<BR><B> JoinEmpty:</B> Defining this option allows callers to enter the Queue when no Agents are available. If this option is not defined, callers will not be able to enter Queues with no available agents.";
tooltips['queues'].en[11] = "<BR><B>LeaveWhenEmpty:</B> Defining this option forces all callers to exit the Queue if New Callers are also not able to Enter the Queue. This option should generally be set in concert with the JoinEmpty option.";
tooltips['queues'].en[12] = "<BR><B> Report Hold Time:</B> Enabling this option causes Asterisk to report, to the Agent, the hold time of the caller before the caller is connected to the Agent.";
+
+// Tooltips for SIP_General (sip_general)
+ tooltips['sip_general']= new Object;
+ tooltips['sip_general'].en = new Array;
+
+ tooltips['sip_general'].en[0] = "<BR><B>Context:</B> Default context for incoming calls";
+ tooltips['sip_general'].en[1] = "<BR><B>Realm for digest authentication:</B> Realm for digest authentication.defaults to \'asterisk\'. If you set a system name in asterisk.conf, it defaults to that system name. Realms MUST be globally unique according to RFC 3261. Set this to your host name or domain name";
+ tooltips['sip_general'].en[2] = "<BR><B>UDP Port to bind to:</B> SIP standard port is 5060";
+ tooltips['sip_general'].en[3] = "<BR><B>IP address to bind to:</B> 0.0.0.0 binds to all";
+ tooltips['sip_general'].en[4] = "<BR><B>Domain:</B> Comma separated list of domains which Asterisk is responsible for";
+ tooltips['sip_general'].en[5] = "<BR><B>Allow guest calls:</B> Enable guest calls.";
+ tooltips['sip_general'].en[6] = "<BR><B>Overlap dialing support:</B> Enable dialing support";
+ tooltips['sip_general'].en[7] = "<BR><B>Allow Transfers:</B> Enable Transfers";
+ tooltips['sip_general'].en[8] = "<BR><B>Enable DNS SRV lookups (on outbound calls): </B> Enable DNS SRV lookups on calls";
+ tooltips['sip_general'].en[9] = "<BR><B>Pedantic:</B> Enable slow, pedantic checking of Call-ID:s, multiline SIP headers and URI-encoded headers";
+ tooltips['sip_general'].en[10] = "<BR><B> Type of Service:</B> ";
+ tooltips['sip_general'].en[11] = "<BR><B> TOS for Signalling packets:</B> Sets Type of Service for SIP packets";
+ tooltips['sip_general'].en[12] = "<BR><B>TOS for RTP audio packets:</B> Sets Type of Service for RTP audio packets";
+ tooltips['sip_general'].en[13] = "<BR><B>TOS for RTP video packets:</B> Sets Type of Service for RTP video packets";
+ tooltips['sip_general'].en[14] = "<BR><B> Max Registration/Subscription Time:</B> Maximum duration (in seconds) of incoming registration/subscriptions we allow. Default 3600 seconds.";
+ tooltips['sip_general'].en[15] = "<BR><B> Min Registration/Subscription Time:</B> Minimum duration (in seconds) of registrations/subscriptions. Default 60 seconds";
+ tooltips['sip_general'].en[16] = "<BR><B> Default Incoming/Outgoing Registration Time:</B> Default duration (in seconds) of incoming/outoing registration";
+ tooltips['sip_general'].en[17] = "<BR><B> Min RoundtripTime (T1 Time):</B> Minimum roundtrip time for messages to monitored hosts, Defaults to 100 ms";
+ tooltips['sip_general'].en[18] = "<BR><B> Override Notify MIME Type:</B> Allow overriding of mime type in MWI NOTIFY";
+ tooltips['sip_general'].en[19] = "<BR><B> Time between MWI Checks: </B> Default Time between Mailbox checks for peers";
+ tooltips['sip_general'].en[20] = "<BR><B> Music On Hold Interpret:</B> 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 channel with Set(CHANNEL(musicclass)=whatever) in the dialplan, and the peer channel putting this one on hold did not suggest a music class";
+ tooltips['sip_general'].en[21] = "<BR><B> Music On Hold Suggest:</B> This option specifies which music on hold class to suggest to the peer channel when this channel places the peer on hold. It may be specified globally or on a per-user or per-peer basis.";
+ tooltips['sip_general'].en[22] = "<BR><B> Language:</B> Default language setting for all users/peers";
+ tooltips['sip_general'].en[23] = "<BR><B> Enable Relaxed DTMF:</B> Relax dtmf handling";
+ tooltips['sip_general'].en[24] = "<BR><B> RTP TimeOut:</B> Terminate call if 60 seconds of no RTP activity when we're not on hold ";
+ tooltips['sip_general'].en[25] = "<BR><B>RTP HoldTimeOut:</B> Terminate call if 300 seconds of no RTP activity when we're on hold (must be > rtptimeout)";
+ tooltips['sip_general'].en[26] = "<BR><B>Trust Remote Party ID:</B> If Remote-Party-ID should be trusted";
+ tooltips['sip_general'].en[27] = "<BR><B>Send Remote Party ID:</B>If Remote-Party-ID should be sent";
+ tooltips['sip_general'].en[28] = "<BR><B>Generate In-Band Ringing:</B> If we should generate in-band ringing always use \'never\' to never use in-band signalling, even in cases where some buggy devices might not render it. Default: never";
+ tooltips['sip_general'].en[29] = "<BR><B>Server UserAgent:</B> Allows you to change the user agent string";
+ tooltips['sip_general'].en[30] = "<BR><B>Allow Nonlocal Redirect:</B>If checked, allows 302 or REDIR to non-local SIP address Note that promiscredir when redirects are made to the local system will cause loops since Asterisk is incapable of performing a \'hairpin\' call";
+ tooltips['sip_general'].en[31] = "<BR><B>Add 'user=phone' to URI:</B> If checked, \'user=phone\' is added to uri that contains a valid phone number";
+ tooltips['sip_general'].en[32] = "<BR><B>DTMF Mode:</B> Set default dtmfmode for sending DTMF. Default: rfc2833H";
+ tooltips['sip_general'].en[33] = "<BR><B>Send Compact SIP Headers:</B> send compact sip headers";
+ tooltips['sip_general'].en[34] = "<BR><B> SIP Video Related:</B>";
+ tooltips['sip_general'].en[35] = "<BR><B>Max Bitrate (kb/s):</B>Maximum bitrate for video calls (default 384 kb/s)";
+ tooltips['sip_general'].en[36] = "<BR><B>Support for SIP Video:</B>Turn on support for SIP video";
+ tooltips['sip_general'].en[37] = "<BR><B>Generate Manager Events:</B> Generate manager events when sip ua performs events (e.g. hold)";
+ tooltips['sip_general'].en[38] = "<BR><B>Reject NonMatching Invites:</B> When an incoming INVITE or REGISTER is to be rejected, for any reason, always reject with \'401 Unauthorized\' instead of letting the requester know whether there was a matching user or peer for their request";
+ tooltips['sip_general'].en[39] = "<BR><B>NonStandard G.726 Support:</B> If the peer negotiates G726-32 audio, use AAL2 packing order instead of RFC3551 packing order (this is required for Sipura and Grandstream ATAs, among others). This is contrary to the RFC3551 specification, the peer _should_ be negotiating AAL2-G726-32 instead";
+ tooltips['sip_general'].en[40] = "<BR><B> T.38 FAX Passthrough Support:</B>";
+ tooltips['sip_general'].en[41] = "<BR><B>T.38 fax (UDPTL) Passthrough:</B>Enables T.38 fax (UDPTL) passthrough on SIP to SIP calls";
+ tooltips['sip_general'].en[42] = "<BR><B>Sip Debugging:</B>";
+ tooltips['sip_general'].en[43] = "<BR><B>Enable SIP debugging: </B>Turn on SIP debugging by default ";
+ tooltips['sip_general'].en[44] = "<BR><B>Record SIP History:</B> Record SIP history by default";
+ tooltips['sip_general'].en[45] = "<BR><B>Dump SIP History:</B> Dump SIP history at end of SIP dialogue";
+ tooltips['sip_general'].en[46] = "<BR><B>Status Notifications (Subscriptions):</B>";
+ tooltips['sip_general'].en[47] = "<BR><B>Subscribe Context:</B> Set a specific context for SUBSCRIBE requests. Useful to limit subscriptions to local extensions";
+ tooltips['sip_general'].en[48] = "<BR><B>Allow Subscribe:</B> Support for subscriptions.";
+ tooltips['sip_general'].en[49] = "<BR><B>Notify on Ringing:</B> Notify subscriptions on RINGING state";
+ tooltips['sip_general'].en[50] = "<BR><B>Outbound SIP Registrations:</B>";
+ tooltips['sip_general'].en[51] = "<BR><B>Register:</B> Register as a SIP user agent to a SIP proxy (provider)";
+ tooltips['sip_general'].en[52] = "<BR><B>Register TimeOut:</B> Retry registration calls at every \'x\' seconds (default 20)";
+ tooltips['sip_general'].en[53] = "<BR><B>Register Attempts:</B> Number of registration attempts before we give up; 0 = continue foreverp";
+ tooltips['sip_general'].en[54] = "<BR><B>NAT Support:</B>";
+ tooltips['sip_general'].en[55] = "<BR><B>Extern ip:</B>Address that we're going to put in outbound SIP messages if we're behind a NAT";
+ tooltips['sip_general'].en[56] = "<BR><B>Extern Host:</B>Alternatively you can specify an external host, and Asterisk will perform DNS queries periodically. Not recommended for production environments! Use externip instead";
+ tooltips['sip_general'].en[57] = "<BR><B>Extern Refresh:</B> How often to refresh externhost if used. You may specify a local network in the field below";
+ tooltips['sip_general'].en[58] = "<BR><B>Local Network Address: </B> \'192.168.0.0/255.255.0.0\' : All RFC 1918 addresses are local networks, \'10.0.0.0/255.0.0.0\' : Also RFC1918, \'172.16.0.0/12\' : Another RFC1918 with CIDR notation, \'169.254.0.0/255.255.0.0\' : Zero conf local network";
+ tooltips['sip_general'].en[59] = "<BR><B>NAT mode:</B>Global NAT settings (Affects all peers and users); yes = Always ignore info and assume NAT; no = Use NAT mode only according to RFC3581; never = Never attempt NAT mode or RFC3581 support; route = Assume NAT, don't send rport";
+ tooltips['sip_general'].en[60] = "<BR><B>Allow RTP Reinvite:</B>Asterisk by default tries to redirect the RTP media stream (audio) to go directly from the caller to the callee. Some devices do not support this (especially if one of them is behind a NAT).";
+ tooltips['sip_general'].en[61] = "<BR><B>Realtime Support:</B>";
+ tooltips['sip_general'].en[62] = "<BR><B>Auto-Expire Friends:</B> Auto-Expire friends created on the fly on the same schedule as if it had just registered? (yes|no|<seconds>) If set to yes, when the registration expires, the friend will vanish from the configuration until requested again. If set to an integer, friends expire within this number of seconds instead of the registration interval.";
+ tooltips['sip_general'].en[63] = "<BR><B>Cache Friends: </B> Cache realtime friends by adding them to the internal list ";
+ tooltips['sip_general'].en[64] = "<BR><B>Save SysName:</B> Save systemname in realtime database at registration";
+ tooltips['sip_general'].en[65] = "<BR><B>Send Registry Updates:</B> Send registry updates to database using realtime?";
+ tooltips['sip_general'].en[66] = "<BR><B>Ignore Expired Peers:</B> Enabling this setting has two functions: <P> For non-realtime peers, when their registration expires, the information will _not_ be removed from memory or the Asterisk database if you attempt to place a call to the peer, the existing information will be used in spiteof it having expired</P> <P>For realtime peers, when the peer is retrieved from realtime storage, the registration information will be used regardless of whether it has expired or not; if it expires while the realtime peer is still in memory (due to caching or other reasons), the information will not be removed from realtime storage</P>";
+ tooltips['sip_general'].en[67] = "<BR><B>SIP Domain Support:</B>";
+ tooltips['sip_general'].en[68] = "<BR><B>Domain:</B> List of \'allowed\' domains";
+ tooltips['sip_general'].en[69] = "<BR><B>From Domain:</B> When making outbound SIP INVITEs to non-peers, use your primary domain \'identity\' for From: headers instead of just your IP address. This is to be polite and it may be a mandatory requirement for some destinations which do not have a prior account relationship with your server. ";
+ tooltips['sip_general'].en[70] = "<BR><B>Auto Domain:</B>Turn this on to have Asterisk add local host name and local IP to domain list.";
+ tooltips['sip_general'].en[71] = "<BR><B>Allow External Domains:</B>Allow requests for domains not serviced by this server ";
+ tooltips['sip_general'].en[72] = "<BR><B>Allow External Invites:</B> Enable INVITE and REFER to non-local domains ";
+ tooltips['sip_general'].en[73] = "<BR><B> Jitter Buffer Configuration:</B> ";
+ tooltips['sip_general'].en[74] = "<BR><B>Enable Jitter Buffer:</B> Enables the use of a jitterbuffer on the receiving side of a SIP channel.";
+ tooltips['sip_general'].en[75] = "<BR><B>Force Jitter Buffer:</B>Forces the use of a jitterbuffer on the receive side of a SIP channel ";
+ tooltips['sip_general'].en[76] = "<BR><B>Log Frames:</B>Enables jitterbuffer frame logging.";
+ tooltips['sip_general'].en[77] = "<BR><B>Max Jitter Buffer:</B> Max length of the jitterbuffer in milliseconds";
+ tooltips['sip_general'].en[78] = "<BR><B>Resync Threshold:</B> Jump in the frame timestamps over which the jitterbuffer is resynchronized. Useful to improve the quality of the voice, with big jumps in/broken timestamps, usualy sent from exotic devices and programs. Defaults to 1000.";
+ tooltips['sip_general'].en[79] = "<BR><B>Implementation: </B>Jitterbuffer implementation, used on the receiving side of a SIP channel. Two implementations are currenlty available - \'fixed\' (with size always equals to jbmaxsize) and \'adaptive\' (with variable size, actually the new jb of IAX2)";
Modified: trunk/config/sip_general.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/sip_general.html?rev=57&r1=56&r2=57&view=diff
==============================================================================
--- trunk/config/sip_general.html (original)
+++ trunk/config/sip_general.html Mon Oct 9 17:39:56 2006
@@ -24,6 +24,7 @@
phonecallbacks.loaded = function() {
$('hiddenfield').selectitem(0);
+ parent.loadscreen(this);
}
function localajaxinit(){
@@ -31,49 +32,49 @@
widgets[fieldnames[x]] = $(fieldnames[x]);
widgets[fieldnames[x]].disabled = true;
}
- astmanEngine.setURL('../../rawman');
- astmanEngine.config2list("sip.conf", $('hiddenfield'), widgets, phonecallbacks);
+ parent.astmanEngine.config2list("sip.conf", $('hiddenfield'), widgets, phonecallbacks);
}
</script>
-<body onload="localajaxinit()" bgcolor="#EFEFEF">
-<div id="dhtmltooltip"></div>
+<body id="foo" onload="localajaxinit()">
+<div class="mainscreenTitleBar">
+ <span style="margin-left: 4px;font-weight:bold">SIP (Session Intitation Protocol) Configuration</span>
+</div>
<div class="mainscreenContentBox" id="userscontent">
-<div style="height :85%;width :100%; overflow :auto;">
-<table align="center" cellspacing=0 cellpadding=2 width="97%" bgcolor="#EFEFEF">
-<tr onMouseover="ddrivetip('Default context for incoming calls','#F4EBD8')" onMouseout="hideddrivetip()"><td align=right>Context:</td>
+<div style="height :75%;width :100%; overflow :auto;">
+<table class="mainscreenTable" align="center" width="100%" cellpadding=3 cellspacing=0>
+<tr><td align=right colspan=2> </td></tr>
+<tr onmouseover="show_tooltip('en', 'sip_general', 0);"><td align=right>Context:</td>
<td> <input type='text' size=10 id='context'></td>
</tr>
-<tr onMouseover="ddrivetip('Allow/deny guest calls.','#F4EBD8')" onMouseout="hideddrivetip()"><td align=right>Allow guest calls:</td>
+<tr onmouseover="show_tooltip('en', 'sip_general', 1);"><td align=right>Realm for digest authentication:</td>
+ <td> <input type='text' id='realm'></td>
+</tr>
+<tr onmouseover="show_tooltip('en', 'sip_general', 2);"><td align=right>UDP Port to bind to:</td>
+ <td> <input type='text' size=4 id='bindport'></td>
+</tr>
+<tr onmouseover="show_tooltip('en', 'sip_general', 3);"><td align=right>IP address to bind to:</td>
+ <td> <input type='text' size=16 id='bindaddr'></td>
+</tr>
+<tr onmouseover="show_tooltip('en', 'sip_general', 4);"><td align=right>Domain:</td>
+ <td> <input type='text' size=18 id='domain'></td>
+</tr>
+<tr onmouseover="show_tooltip('en', 'sip_general', 5);"><td align=right>Allow guest calls:</td>
<td><input type='checkbox' dfalt='y' id='allowguest' ></td>
</tr>
-<tr><td align=right>Overlap dialing support:</td>
[... 482 lines stripped ...]
More information about the asterisk-gui-commits
mailing list