[Asterisk-cvs] asterisk/channels chan_zap.c,1.215,1.216

markster at lists.digium.com markster at lists.digium.com
Wed Apr 28 00:20:00 CDT 2004


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

Modified Files:
	chan_zap.c 
Log Message:
Build again without PRI


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.215
retrieving revision 1.216
diff -u -d -r1.215 -r1.216
--- chan_zap.c	27 Apr 2004 21:50:24 -0000	1.215
+++ chan_zap.c	28 Apr 2004 04:26:26 -0000	1.216
@@ -3884,6 +3884,7 @@
 			res = tone_zone_play_tone(p->subs[index].zfd, ZT_TONE_BUSY);
 			break;
 		case AST_CONTROL_RINGING:
+#ifdef ZAPATA_PRI
 			if (!p->proceeding && p->sig==SIG_PRI && p->pri && p->pri->overlapdial) {
 				if (p->pri->pri) {		
 					if (!pri_grab(p, p->pri)) {
@@ -3895,6 +3896,7 @@
 				}
 				p->proceeding=1;
 			}
+#endif
 			res = tone_zone_play_tone(p->subs[index].zfd, ZT_TONE_RINGTONE);
 			if (chan->_state != AST_STATE_UP) {
 				if ((chan->_state != AST_STATE_RING) ||




More information about the svn-commits mailing list