[Pkg-voip-commits] r5775 - /asterisk/trunk/debian/patches/bristuff/uniqueid-40-manager

tzafrir-guest at alioth.debian.org tzafrir-guest at alioth.debian.org
Sun May 25 10:48:55 UTC 2008


Author: tzafrir-guest
Date: Sun May 25 10:48:55 2008
New Revision: 5775

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=5775
Log:
Add a small chunk that got dropped from the patched manager.c .

Modified:
    asterisk/trunk/debian/patches/bristuff/uniqueid-40-manager

Modified: asterisk/trunk/debian/patches/bristuff/uniqueid-40-manager
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk/trunk/debian/patches/bristuff/uniqueid-40-manager?rev=5775&op=diff
==============================================================================
--- asterisk/trunk/debian/patches/bristuff/uniqueid-40-manager (original)
+++ asterisk/trunk/debian/patches/bristuff/uniqueid-40-manager Sun May 25 10:48:55 2008
@@ -54,9 +54,16 @@
  		return 0;
  	}
  	if (!ast_strlen_zero(priority) && (sscanf(priority, "%d", &pi) != 1)) {
-@@ -1685,7 +1702,11 @@ static int action_redirect(struct manses
+@@ -1683,8 +1700,18 @@ static int action_redirect(struct manses
+ 			return 0;
  		}
  	}
++	if (!ast_strlen_zero(priority2) && (sscanf(priority2, "%d", &pi2) != 1)) {
++		if ((pi = ast_findlabel_extension(NULL, context2, exten2, priority2, NULL)) < 1) {
++			astman_send_error(s, m, "Invalid extra priority\n");
++			return 0;
++		}
++	}
  	/* XXX watch out, possible deadlock!!! */
 -	chan = ast_get_channel_by_name_locked(name);
 + 	if (!ast_strlen_zero(uniqueid)) {




More information about the Pkg-voip-commits mailing list