pari: branch 2.0 r4345 - /branches/2.0/config/js/pbx.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Thu Dec 11 15:56:39 CST 2008


Author: pari
Date: Thu Dec 11 15:56:38 2008
New Revision: 4345

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

 Apply dialoptions to ringgroups aswell.



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

Modified: branches/2.0/config/js/pbx.js
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/js/pbx.js?view=diff&rev=4345&r1=4344&r2=4345
==============================================================================
--- branches/2.0/config/js/pbx.js (original)
+++ branches/2.0/config/js/pbx.js Thu Dec 11 15:56:38 2008
@@ -1705,12 +1705,12 @@
 		if( rg.strategy == 'ringinorder' ){
 			rg.members.each(
 				function(member){
-					x.new_action('append', newrg, 'exten', 's,n,Dial(' + member +',' + rg.ringtime + ',i)' );
+					x.new_action('append', newrg, 'exten', 's,n,Dial(' + member +',' + rg.ringtime + ',${DIALOPTIONS}i)' );
 				}
 			);
 		}else{
 			if(rg.members.length){
-				x.new_action('append', newrg, 'exten', 's,n,Dial(' + rg.members.join('&') +',' + rg.ringtime + ',i)' );
+				x.new_action('append', newrg, 'exten', 's,n,Dial(' + rg.members.join('&') +',' + rg.ringtime + ',${DIALOPTIONS}i)' );
 			}
 		}
 		x.new_action( 'append', newrg, 'exten', 's,n,' + rg.fallback );




More information about the asterisk-gui-commits mailing list