[Asterisk-cvs] asterisk/channels chan_zap.c,1.171.2.19,1.171.2.20

citats at lists.digium.com citats at lists.digium.com
Sat Apr 17 19:41:53 CDT 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/home/citats/cvs/asterisk-stable/channels

Modified Files:
      Tag: v1-0_stable
	chan_zap.c 
Log Message:
Fix libpri dependancy in chan_zap.c (bug 1435)


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.171.2.19
retrieving revision 1.171.2.20
diff -u -d -r1.171.2.19 -r1.171.2.20
--- chan_zap.c	13 Apr 2004 21:47:26 -0000	1.171.2.19
+++ chan_zap.c	17 Apr 2004 23:45:25 -0000	1.171.2.20
@@ -3644,11 +3644,13 @@
 					f = NULL;
 				}
 			} else if (f->frametype == AST_FRAME_DTMF) {
+#ifdef ZAPATA_PRI
 				if (!p->proceeding && p->sig==SIG_PRI && p->pri && p->pri->overlapdial) {
 					/* Don't accept in-band DTMF when in overlap dial mode */
 					f->frametype = AST_FRAME_NULL;
 					f->subclass = 0;
 				}
+#endif /* ZAPATA_PRI */
 				/* DSP clears us of being pulse */
 				p->pulsedial = 0;
 			}




More information about the svn-commits mailing list