[Asterisk-cvs] asterisk/channels chan_zap.c,1.415,1.416

mattf at lists.digium.com mattf at lists.digium.com
Fri Mar 11 01:30:41 CST 2005


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

Modified Files:
	chan_zap.c 
Log Message:
Making 2bct work only if transfer=yes in zapata.conf for the channel


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.415
retrieving revision 1.416
diff -u -d -r1.415 -r1.416
--- chan_zap.c	9 Mar 2005 06:42:56 -0000	1.415
+++ chan_zap.c	11 Mar 2005 07:26:55 -0000	1.416
@@ -2876,7 +2876,10 @@
 #ifdef PRI_2BCT
 		q931c0 = p0->call;
 		q931c1 = p1->call;
-		if (q931c0 && q931c1 && !triedtopribridge) {
+		if (p0->tranfer && p1->transfer 
+				&& q931c0 && q931c1 
+				&& !triedtopribridge) {
+
 			pri_channel_bridge(q931c0, q931c1);
 			triedtopribridge = 1;
 		}




More information about the svn-commits mailing list