[Pkg-voip-commits] r9604 - in /asterisk/branches/squeeze/debian/patches: AST-2011-014 series

tzafrir at alioth.debian.org tzafrir at alioth.debian.org
Sun Mar 25 15:43:21 UTC 2012


Author: tzafrir
Date: Sun Mar 25 15:43:21 2012
New Revision: 9604

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=9604
Log:
patch AST-2011-014: it wasn't actually commited

Should have been included in 1:1.6.2.9-2+squeeze4, but wasn't.

Added:
    asterisk/branches/squeeze/debian/patches/AST-2011-014
Modified:
    asterisk/branches/squeeze/debian/patches/series

Added: asterisk/branches/squeeze/debian/patches/AST-2011-014
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk/branches/squeeze/debian/patches/AST-2011-014?rev=9604&op=file
==============================================================================
--- asterisk/branches/squeeze/debian/patches/AST-2011-014 (added)
+++ asterisk/branches/squeeze/debian/patches/AST-2011-014 Sun Mar 25 15:43:21 2012
@@ -1,0 +1,22 @@
+--- a/channels/chan_sip.c
++++ b/channels/chan_sip.c
+@@ -16961,11 +16961,18 @@ static void handle_request_info(struct s
+ 			per device. I don't want incoming callers to record calls in my
+ 			pbx.
+ 		*/
+-		/* first, get the feature string, if it exists */
++		
+ 		struct ast_call_feature *feat;
+ 		int j;
+ 		struct ast_frame f = { AST_FRAME_DTMF, };
+ 
++		if (!p->owner) {        /* not a PBX call */
++			transmit_response(p, "481 Call leg/transaction does not exist", req);
++			sip_scheddestroy(p, DEFAULT_TRANS_TIMEOUT);
++			return;
++		}
++
++		/* first, get the feature string, if it exists */
+ 		ast_rdlock_call_features();
+ 		feat = ast_find_call_feature("automon");
+ 		if (!feat || ast_strlen_zero(feat->exten)) {

Modified: asterisk/branches/squeeze/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk/branches/squeeze/debian/patches/series?rev=9604&op=diff
==============================================================================
--- asterisk/branches/squeeze/debian/patches/series (original)
+++ asterisk/branches/squeeze/debian/patches/series Sun Mar 25 15:43:21 2012
@@ -46,4 +46,5 @@
 # Also used directly in debian/rules:
 AST-2011-013
 
+AST-2011-014
 AST-2012-002




More information about the Pkg-voip-commits mailing list