[Asterisk-cvs] asterisk pbx.c,1.228,1.229

kpfleming at lists.digium.com kpfleming at lists.digium.com
Thu Apr 21 22:04:40 CDT 2005


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv12928

Modified Files:
	pbx.c 
Log Message:
add ability to send transferring party to a dialplan target after they blind transfer another party (bug #4056, with mods)


Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.228
retrieving revision 1.229
diff -u -d -r1.228 -r1.229
--- pbx.c	21 Apr 2005 06:02:43 -0000	1.228
+++ pbx.c	22 Apr 2005 02:55:14 -0000	1.229
@@ -6271,8 +6271,7 @@
 	if (mode) 
 		ipri = chan->priority + (ipri * mode);
 
-	/* This channel is currently in the PBX */
-	ast_explicit_goto(chan, context, exten, ipri - 1);
+	ast_explicit_goto(chan, context, exten, chan->pbx ? ipri - 1 : ipri);
 	ast_cdr_update(chan);
 	return 0;
 




More information about the svn-commits mailing list