rbrindley: branch 2.0 r4750 - in /branches/2.0/config: js/sip.js sip.html
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Tue Apr 21 09:26:32 CDT 2009
Author: rbrindley
Date: Tue Apr 21 09:26:29 2009
New Revision: 4750
URL: http://svn.digium.com/svn-view/asterisk-gui?view=rev&rev=4750
Log:
- added mwi_from support in sip settings page
Modified:
branches/2.0/config/js/sip.js
branches/2.0/config/sip.html
Modified: branches/2.0/config/js/sip.js
URL: http://svn.digium.com/svn-view/asterisk-gui/branches/2.0/config/js/sip.js?view=diff&rev=4750&r1=4749&r2=4750
==============================================================================
--- branches/2.0/config/js/sip.js (original)
+++ branches/2.0/config/js/sip.js Tue Apr 21 09:26:29 2009
@@ -20,7 +20,7 @@
*/
// Realtime options - 'rtautoclear','rtcachefriends','rtsavesysname','rtupdate','ignoreregexpire'
-var fieldnames = ['allowexternaldomains' ,'allowguest' ,'allowoverlap' ,'allowsubscribe' ,'allowtransfer' ,'alwaysauthreject' ,'autodomain' ,'bindaddr' ,'bindport' ,'callevents' ,'canreinvite' ,'checkmwi' ,'compactheaders' ,'context' ,'defaultexpiry', 'domain' ,'dtmfmode' ,'dumphistory' ,'externhost' ,'externip' ,'externrefresh' ,'fromdomain' ,'g726nonstandard','jbenable' ,'jbforce' ,'jbimpl' ,'jblog' ,'jbmaxsize' ,'jbresyncthreshold' ,'language' ,'localnet' ,'maxcallbitrate' ,'maxexpiry' ,'minexpiry' ,'mohinterpret' ,'mohsuggest' ,'nat' ,'notifyringing' ,'pedantic' ,'progressinband' ,'promiscredir' ,'realm' ,'recordhistory' ,'register' ,'registerattempts' ,'registertimeout' ,'relaxdtmf' , 'rtpholdtimeout' ,'rtptimeout' ,'sendrpid' ,'sipdebug' ,'srvlookup' ,'subscribecontext' ,'t1min' ,'t38pt_udptl' ,'tos_audio' ,'tos_sip' ,'tos_video' ,'trustrpid' ,'useragent' ,'usereqphone' ,'videosupport'] ;
+var fieldnames = ['allowexternaldomains' ,'allowguest' ,'allowoverlap' ,'allowsubscribe' ,'allowtransfer' ,'alwaysauthreject' ,'autodomain' ,'bindaddr' ,'bindport' ,'callevents' ,'canreinvite' ,'checkmwi' ,'compactheaders' ,'context' ,'defaultexpiry', 'domain' ,'dtmfmode' ,'dumphistory' ,'externhost' ,'externip' ,'externrefresh' ,'fromdomain' ,'g726nonstandard','jbenable' ,'jbforce' ,'jbimpl' ,'jblog' ,'jbmaxsize' ,'jbresyncthreshold' ,'language' ,'localnet' ,'maxcallbitrate' ,'maxexpiry' ,'minexpiry' ,'mohinterpret' ,'mohsuggest', 'mwi_from', 'nat' ,'notifyringing' ,'pedantic' ,'progressinband' ,'promiscredir' ,'realm' ,'recordhistory' ,'register' ,'registerattempts' ,'registertimeout' ,'relaxdtmf' , 'rtpholdtimeout' ,'rtptimeout' ,'sendrpid' ,'sipdebug' ,'srvlookup' ,'subscribecontext' ,'t1min' ,'t38pt_udptl' ,'tos_audio' ,'tos_sip' ,'tos_video' ,'trustrpid' ,'useragent' ,'usereqphone' ,'videosupport'] ;
var localajaxinit = function(){
@@ -38,7 +38,7 @@
};
var t = [
- {url:'#', desc:'General', click_function: function(){ hideall(); $('#sipoptions_general').show(); } } ,
+ {url:'#', desc:'General', click_function: function(){ hideall(); $('#sipoptions_general').show(); if (parent.sessionData.PLATFORM.isABE || parent.sessionData.PLATFORM.isAA50) { $('#mwi_from_container').show(); } else { $('#mwi_from_container').hide(); }} } ,
{url:'#', desc:'TOS', click_function: function(){ hideall(); $('#sipoptions_tos').show(); } } ,
{url:'#', desc:'DebugNotify', click_function: function(){ hideall(); $('#sipoptions_debugNotify').show(); } } ,
{url:'#', desc:'NAT', click_function: function(){ hideall(); $('#sipoptions_nat').show(); } } ,
Modified: branches/2.0/config/sip.html
URL: http://svn.digium.com/svn-view/asterisk-gui/branches/2.0/config/sip.html?view=diff&rev=4750&r1=4749&r2=4750
==============================================================================
--- branches/2.0/config/sip.html (original)
+++ branches/2.0/config/sip.html Tue Apr 21 09:26:29 2009
@@ -93,6 +93,13 @@
<img src="images/tooltip_info.gif" tip="en,sip_general,9" class='tooltipinfo'>
</td>
</tr>
+ <tr id="mwi_from_container">
+ <td align=right tip="">MWI From:</td>
+ <td>
+ <input type='text' id='mwi_from' />
+ <img src="images/tooltip_info.gif" tip="" class='tooltipinfo' />
+ </td>
+ </tr>
<tr> <td colspan=2 align=center><B>SIP Domain Support</B></td></tr>
More information about the asterisk-gui-commits
mailing list