rbrindley: branch 2.0 r4704 - /branches/2.0/config/js/trunks_voip.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Thu Apr 2 16:21:37 CDT 2009


Author: rbrindley
Date: Thu Apr  2 16:21:34 2009
New Revision: 4704

URL: http://svn.digium.com/svn-view/asterisk-gui?view=rev&rev=4704
Log:

- DOM_edit.. instead of just edit..


Modified:
    branches/2.0/config/js/trunks_voip.js

Modified: branches/2.0/config/js/trunks_voip.js
URL: http://svn.digium.com/svn-view/asterisk-gui/branches/2.0/config/js/trunks_voip.js?view=diff&rev=4704&r1=4703&r2=4704
==============================================================================
--- branches/2.0/config/js/trunks_voip.js (original)
+++ branches/2.0/config/js/trunks_voip.js Thu Apr  2 16:21:34 2009
@@ -169,7 +169,7 @@
 
 	if( isNewTrunk == true ) {
 	// New Trunk
-		var tcv = edit_VOIPTrunk_Context_Basis.value;  /* How do we assign context name ? */
+		var tcv = DOM_edit_VOIPTrunk_Context_Basis.value;  /* How do we assign context name ? */
 		if (tcv == 'FromUser') {
 			var tmp_ttype = parent.pbx.trunks.getType(DOM_edit_VOIPTrunk_Username.value);
 			if( tmp_ttype ){
@@ -202,7 +202,7 @@
 		if (ttv =='SIP') { 
 			var retval = parent.pbx.trunks.add('sip', trp, cbf, tcv);
 		} else if (ttv =='IAX') { 
-			var retval = parent.pbx.trunks.add('iax', trp, cbf, tcv);
+			var retval = parent.pbx.trunks.add('iax', trp, cbf, DOM_edit_VOIPTrunk_Context_Basis.value);
 		}
 
 		if (retval) {




More information about the asterisk-gui-commits mailing list