bkruse: branch asterisknow r1597 - /branches/asterisknow/config/trunks.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Thu Sep 13 16:31:59 CDT 2007


Author: bkruse
Date: Thu Sep 13 16:31:59 2007
New Revision: 1597

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1597
Log:
added compliant code for voila for setting the useragent user at domain aka fromuser

Modified:
    branches/asterisknow/config/trunks.html

Modified: branches/asterisknow/config/trunks.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/trunks.html?view=diff&rev=1597&r1=1596&r2=1597
==============================================================================
--- branches/asterisknow/config/trunks.html (original)
+++ branches/asterisknow/config/trunks.html Thu Sep 13 16:31:59 2007
@@ -233,6 +233,13 @@
 		_$('insecure').value = "port,invite";
 	}
 
+	if(_$('provider').value == "voilaip-sip" && _tsv.checked) {
+		/* save our fromuser field has the username field. */
+		_$('fromuser').value = _$('username').value;
+		widgets['fromuser'] = _$('username');
+	}
+
+
 	if ( _tsa.checked ) {
 		var _zapchan = _$('zapchan');
 		if( _zapchan.options.length == 0 ){ gui_alert(_msg2); return false; }




More information about the asterisk-gui-commits mailing list