[Pkg-voip-commits] r3426 - freepbx/trunk/debian/patches

Diego Iastrubni elcuco-guest at alioth.debian.org
Sun Apr 15 11:15:11 UTC 2007


Author: elcuco-guest
Date: 2007-04-15 11:15:10 +0000 (Sun, 15 Apr 2007)
New Revision: 3426

Modified:
   freepbx/trunk/debian/patches/fix-module_admin.dpatch
Log:
fixed the module-admin patch:
 it seems that pulling code from trunk is not always smart, and the class manager does not 
 have the method connected on the branch. just comment that and hope for good (works for me...)



Modified: freepbx/trunk/debian/patches/fix-module_admin.dpatch
===================================================================
--- freepbx/trunk/debian/patches/fix-module_admin.dpatch	2007-04-14 16:18:45 UTC (rev 3425)
+++ freepbx/trunk/debian/patches/fix-module_admin.dpatch	2007-04-15 11:15:10 UTC (rev 3426)
@@ -57,7 +57,7 @@
  	switch ($amp_conf['AMPENGINE']) {
  		case 'asterisk':
 -			if ($astman) {
-+			if (isset($astman) && $astman->connected()) {
++			if (isset($astman) /*&& $astman->connected()*/) {
  				//get version
  				$response = $astman->send_request('Command', array('Command'=>'show version'));
  				$verinfo = $response['data'];




More information about the Pkg-voip-commits mailing list