[Asterisk-cvs] asterisk/channels chan_zap.c,1.229,1.230

markster at lists.digium.com markster at lists.digium.com
Wed May 19 11:27:33 CDT 2004


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

Modified Files:
	chan_zap.c 
Log Message:
Always send proceeding, send progress when appropriate


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.229
retrieving revision 1.230
diff -u -d -r1.229 -r1.230
--- chan_zap.c	19 May 2004 15:23:11 -0000	1.229
+++ chan_zap.c	19 May 2004 15:40:01 -0000	1.230
@@ -6535,9 +6535,12 @@
 						if (res < 0)
 							ast_log(LOG_WARNING, "Unable to set gains on channel %d\n", pri->pvt[chan]->channel);
 						if (e->ring.complete || !pri->overlapdial) {
-							/* We don't send acknowledge here because that means ringing, and that
-							   isn't necessarily the case */
-							/* pri_acknowledge(pri->pri, e->ring.call, chan, 1); */
+							/* Just announce proceeding */
+#ifdef PRI_PROCEEDING
+							pri_proceeding(pri->pri, e->ring.call, 0);
+#else
+#warning "You need newer libpri!"
+#endif							
 						} else  {
 							pri_need_more_info(pri->pri, e->ring.call, chan, 1);
 						}




More information about the svn-commits mailing list