bkruse: trunk r3054 - /trunk/config/users.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Tue May 13 13:20:32 CDT 2008


Author: bkruse
Date: Tue May 13 13:20:31 2008
New Revision: 3054

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=3054
Log:
Make sure we add g729 to the global codec
array to be added to the select box.

(closes issue #12614)
Reported by: robardill
Patched by: bkruse

Modified:
    trunk/config/users.html

Modified: trunk/config/users.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/users.html?view=diff&rev=3054&r1=3053&r2=3054
==============================================================================
--- trunk/config/users.html (original)
+++ trunk/config/users.html Tue May 13 13:20:31 2008
@@ -323,10 +323,11 @@
 					if(resp[i][1][0] == "a") {
 						continue; /* codec is a_mu, alaw to mulaw direct codec/decoder, not a codec preference. */
 					}
-						allcodecs[i] = resp[i][1][0];
-				}
-				if(resp[i][1][0] == "g729a") { 
-					resp[i][1][0] = "g729"; 
+					if(resp[i][1][0] == "g729a") { 
+						resp[i][1][0] = "g729"; 
+					}
+					/* make sure we add g729 to the global list */
+					allcodecs[i] = resp[i][1][0];
 				}
 			}
 		}




More information about the asterisk-gui-commits mailing list