⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cfgbasic.html.svn-base

📁 asterisk-gui asterisk网关接口编程 控制asterisk的接口
💻 SVN-BASE
📖 第 1 页 / 共 2 页
字号:
	newpanel( ["Voicemail", "voicemail.html", "General settings for voicemail"]);	newpanel( ["Call Queues", "queues.html", "Call queues allow calls to be sequenced to one or more agents."]);	newpanel( ["Service Providers", "trunks.html", "Service Providers are outbound lines used to allow the system to make calls to the real world.  Trunks can be VoIP lines or traditional telephony lines."]);	newpanel( ["Setup Hardware", "digital.html", "Configure & setup your T1/E1/Analog Cards."]);	//newpanel( ["Manage IAXys", "iaxyprov.html", "(beta) Provision your IAXys."]);	newpanel( ["mISDN Config", "misdn.html", "mISDN configuration from the asterisk GUI"]); // Uncomment when mISDN is completed.	newpanel( ["Calling Rules", "numberplan.html", "The Calling Rules define dialing permissions and least cost routing rules."]);	newpanel( ["Incoming Calls", "incoming.html", "Define how your incoming calls should be handled & configure DID (Direct inward Dialing)"]);	newpanel( ["Voice Menus", "menus.html", "Menus allow for more efficient routing of calls from incoming callers. Also known as IVR (Interactive Voice Response) menus or Digital Receptionist"]);//	newpanel( ["Time Based Rules", "timerules.html", "define call routing rules based on date and time"]);	newpanel( ["Call Parking", "callparking.html", "configure call parking features"]);	newpanel( ["Ring Groups", "ringgroups.html", "define RingGroups to dial more than one extension"]);	newpanel( ["Record a Menu", "record.html", "Allows you to record custom voicemenus over a phone"]);	newpanel( ["Active Channels", "status.html", "Monitor active channels."]);	// newpanel( ["Graphs", "graphs.html", "View Graphs of your System Information."]);	newpanel( ["System Info", "sysinfo.html", "System Information."]);	newpanel( ["Asterisk Logs", "syslog.html", "Asterisk Log messages."]);	newpanel( ["Global SIP options", "sip.html", "Global SIP settings."]);	newpanel( ["Global IAX options", "iax.html", "Global IAX settings."]);	// newpanel( ["CDR Configuration", "cdr_conf.html", "CDR Engine Configuration."]); // Uncomment when cdr_conf.html is finished, there are still some errors. 	//newpanel( ["CDR Reader", "cdr_conf.html", "Read all your call records from Asterisk."]);	newpanel( ["File Editor", "feditor.html", "Edit Asterisk Config Files"]);	newpanel( ["Asterisk CLI", "cli.html", "Asterisk Command Line Interface"]);	//newpanel( ["GUI Access", "http_options.html", "GUI Access settings."]);	newpanel( ["Backup", "backup.html", "Backup Management."]);	/*	if( (asterisk_guirPath && !asterisk_guiANOW) || ( !asterisk_guirPath && !asterisk_guiANOW) ){ // if is BE		newpanel( ["Provisioning", "provisioning.html", "Settings related to Polycom auto provisioning."]);	}	*/	newpanel( ["Options", "localexts.html", "Admin Settings"]);	return panels;}function pingevery(a){	window.setTimeout(makeping, 1000);	keepPinging = setInterval( makeping, a*250 );	astmanEngine.run_tool(asterisk_guiZtscan, function(t) { // run ztscan and then try loading ztscan.conf		setTimeout( function(){config2json('ztscan.conf', 0, get_FXOFXSPORTS);} , 200);		// leave some time for ztscan to generate ztscan.conf	});}function makeping(){	makerequest("","","action=ping", function(t){ if( t.match(asterisk_guipingerror) ){ window.location.href=window.location.href;} } );}eventeater.eventcb = function(msgs) {	if (loggedon == 1){		astmanEngine.pollEvents();	}}function setLoggedOn(onoff) {	if(!onoff){return;}	loggedon = 1;	var panels = returnpanels();	for( var r=0; r < panels.length; r++ ){		t = panels[r].page.split(".html")[0];		_$( t + "_U" ).style.height = "1px";		_$( t + "_U" ).style.visibility = "hidden";		_$( t ).style.visibility = "visible";	}	_$("home").style.visibility = "visible";	_$("home_U").style.height = _$('configpanel').pheight;	_$("home_U").style.visibility = "visible";}function loadscreen(srcbody) {	_$('mainscreen').style.visibility = "visible";}function show_Acctooltip(tip){	if( loggedon != 1){ return; }	_$('tooltip').innerHTML = tip ;}function registerajax() {	showdiv_statusmessage();	fit_toScreen();	ASTGUI.events.add( window , 'resize', fit_toScreen );	pao();	astmanEngine = new Astman();	astmanEngine.setURL(asterisk_rawmanPath );	createpanels();	var links_str = "";	links_str += '<a href="#" onclick="system_link()">System Configuration</a><BR>';	links_str += '<a target="_extern" href="http://www.digium.com/en/company/profile/">About Digium</a>&nbsp;|&nbsp;';	links_str += '<a target="_extern" href="http://www.asterisknow.org/bugs">Report a Bug</a>&nbsp;|&nbsp;'		+ '<a target="_extern" href="http://www.asterisknow.org/help">Help</a>&nbsp;' ;	_$('linksToshow').innerHTML = links_str;	_$('mainscreen').src = "home.html" ;	if( navigator.userAgent.indexOf("MSIE") != -1 || navigator.userAgent.indexOf("Konqueror") != -1 || navigator.userAgent.indexOf("Safari") != -1 ){		gui_feedback(browser_alert, 'green');	}}function Logoff() {	if(!confirm("Are you sure ?")){ return true; }	makerequest("","","action=logoff", function(t){ window.location.href=window.location.href; } );}function system_link(){	var newwindow_href = 'https://' + location.hostname + ':8003';	window.open(newwindow_href ,'mainwindow','width=1024,height=768,resizable=no, scrollbars=yes, toolbar=no, location=no,status=yes, menubar=no')}function reboot(){	if(!confirm("Reboot System ?")){ return true; }	parent.astmanEngine.run_tool("init 6", callback = function(){ gui_feedback("Rebooting System!!", 'green'); });}function reloadConfig(){	_$('reloadconfig').style.visibility = "hidden";	window.setTimeout( function(){ _$('reloadconfig').style.visibility = "visible"; }, asterisk_guifbt );	//gui_feedback("Running ztcfg ");	//astmanEngine.run_tool('ztcfg', function(t) { // run ztcfg		astmanEngine.cliCommand('reload', function(t){ gui_feedback("Restarted Asterisk !!",'blue'); 			if(REQUIRE_RESTART == true){				alert('The changes you made requires a restart.\n' + 'Your hardware might not work properly until you reboot !!');				REQUIRE_RESTART = false;			}		}); // then reload asterisk	//});}function pao(){	var acb = _$('dimg');	var tmp_left = acb.offsetLeft -1;	var tmp_top = acb.offsetTop -1 ;	var tmp_parent = acb;	while(tmp_parent.offsetParent != document.body){		tmp_parent = tmp_parent.offsetParent;		tmp_left += tmp_parent.offsetLeft;	}	_$('AdvancedOptions').style.left = tmp_left + 700 ;	_$('AdvancedOptions').style.top = 1 ;	_$('AdvancedOptionsSelect').selectedIndex=-1;}function hide_advops(){	_$('AdvancedOptions').style.visibility = "hidden";	if ( _$('mainscreen').contentWindow.flipadvbasic  ){		_$('mainscreen').contentWindow.flipadvbasic();	}}function goto_advancedoption(){ 	_$('mainscreen').style.visibility = "hidden";	if( _$('AdvancedOptionsSelect').value == 'TOSETUP'){top.window.location.href = "./setup/install.html"; return;}	var t;	var panels = returnpanels();	for( var r=0; r < panels.length; r++ ){		t = panels[r].page.split(".html")[0];		_$( t + "_U" ).style.height = "1px";		_$( t + "_U" ).style.visibility = "hidden";	}	_$( "localexts_U" ).style.height = _$('configpanel').pheight;	_$( "localexts_U" ).style.visibility = "visible";	_$('mainscreen').src = _$('AdvancedOptionsSelect').value ;}</script><head>	<title>Asterisk Configuration GUI</title>	<link rel="shortcut icon" href="images/favicon.ico" /></head><body onload="registerajax()" topmargin=1><table align="center" bgcolor="#dddddd" border="0" cellpadding="0" cellspacing="0" width="950" id="TOP_MAINTABLE"><tbody>	<tr height="47">		<td align="right" bgcolor="white" height="47" valign="bottom" id="dimg"><img src="images/digiumlogo.gif" align="left"></td>		<td align="center" bgcolor="white" valign="middle">		<div id="feedback_round" style="background-color: #FFFFFF; width: 400px; display: none;">			<div id="feedback" style="font-family: Arial,sans-serif,Helvetica,Trebuchet MS; font-size: 13px; font-weight: bold;"></div>		</div>		<input id="login_name" type="hidden">	</td>	<td align="right" bgcolor="white" valign="bottom" id='linksToshow'>	</td></tr><tr>	<td valign=top>		<div id="configpanel" style="border-bottom: 1px solid rgb(31, 102, 155); width: 150px;"></div>	</td>	<td id="screenholder" bgcolor="#efefef" valign="top" width="550">		<div id="titlebar" class="mainscreenTitleBar" style="position: absolute; top: 48px;">			<span style="margin-left: 4px; font-weight: bold;">Loading Screen&nbsp;<img src="images/dots.gif"></span>		</div>		<div id="borderbox" class="mainscreenBorderBox" height="100%"></div>		<iframe border="0" marginheight="0" marginwidth="0" id="mainscreen" style="position: absolute; top: 48px;" frameborder="0" scrolling="no" width="540"></iframe>	</td>	<td valign="top" width="250">		<div class="mainscreenTooltipBar" align="right">			<span id="reloadconfig" style="display:none">Activate Changes</span>&nbsp;&nbsp;&nbsp;<span id="logoutlink" style="display:none">Logout</span>&nbsp;		</div>		<div style="padding-top: 0pt; padding-bottom: 0pt;" id="tooltip_round" class="tooltip_round"><div style="background-color: rgb(221, 221, 221);"><span style="border-style: solid; border-color: rgb(206, 206, 206); border-width: 0px 1px; overflow: hidden; background-color: rgb(191, 191, 191); display: block; height: 1px; font-size: 1px; margin-left: 1px; margin-right: 1px;"></span><span style="border-style: solid; border-color: rgb(206, 206, 206); border-width: 0px 1px; overflow: hidden; background-color: rgb(191, 191, 191); display: block; height: 1px; font-size: 1px; margin-left: 0px; margin-right: 0px;"></span></div>		<div id="tooltip" style="margin-left: 4px; font-family: Trebuchet MS,Arial,Helvetica,sans-serif; font-size: 11px;">Move the mouse over to a field to see tooltips</div>		<div style="background-color: rgb(221, 221, 221);"><span style="border-style: solid; border-color: rgb(206, 206, 206); border-width: 0px 1px; overflow: hidden; background-color: rgb(191, 191, 191); display: block; height: 1px; font-size: 1px; margin-left: 0px; margin-right: 0px;"></span><span style="border-style: solid; border-color: rgb(206, 206, 206); border-width: 0px 1px; overflow: hidden; background-color: rgb(191, 191, 191); display: block; height: 1px; font-size: 1px; margin-left: 1px; margin-right: 1px;"></span></div></div>		<center> <div id="buynow_div" style="position:absolute; top:300px; width:240px; margin-left:4px;" align="center"></div>	</center>	</td></tr><tr><td colspan="3" align="center" height="18">		<div id="status" class="statusbar">Copyright 2006-2008 Digium, Inc.  Digium and Asterisk are registered <a href="http://www.digium.com/en/company/view-policy.php?id=Trademark-Policy">trademarks</a> of Digium, Inc.  All Rights Reserved. <i><a href="http://www.digium.com/en/company/policies.php">Legal Information</a></i></div>		</td></tr></tbody></table><div id="AdvancedOptions" style="display:none; position:absolute; z-index:1004; width:220px; background-color : #EFEFEF; padding : 2px 2px 4px 2px;">	<table cellpadding=1 cellspacing=0 border=0 width=220>		<tr>	<td align=right>Goto:&nbsp;</td>			<td align="center">			<select id="AdvancedOptionsSelect" class="input9" onchange="goto_advancedoption()">				<option value="moh.html">Music on Hold</option>				<option value="emailsettings.html">VM Email settings</option>				<option value="sip.html">Global SIP Settings</option>				<option value="iax.html">Global IAX Settings</option>			<!--	<option value="jabber.html">Jabber</option>				<option value="jingle.html">Jingle</option>				<option value="zapata.html">Zap Channel</option>	-->				<option value="options.html">Change Password</option>				<option value="TOSETUP">Setup Wizard</option>			</select>			</td>			<td align="right" valign="top"><span style="color: #909090; font-size: 8pt;cursor:pointer;" onclick="hide_advops();">X</span></td>		</tr>	</table></div></body>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -