Posted: Sat Sep 13, 2003 11:56 pm Post subject: [Asterisk-cvs] asterisk/channels chan_zap.c,1.98,1.99
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv29471/channels
Modified Files:
chan_zap.c
Log Message:
Merge sending complete patch with no number (bug #176)
Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -d -r1.98 -r1.99
--- chan_zap.c 12 Sep 2003 17:09:44 -0000 1.98
+++ chan_zap.c 13 Sep 2003 23:57:48 -0000 1.99
@@ -5831,6 +5831,12 @@
#endif
else
strcpy(pri->pvt[chan]->exten, "");
+ /* No number yet, but received "sending complete"? */
+ if (e->ring.complete && (!strlen(e->ring.callednum))) {
+ if (option_verbose > 2)
+ ast_verbose(VERBOSE_PREFIX_3 "Going to extension s|1 because of Complete received\n");
+ strcpy(pri->pvt[chan]->exten, "s");
+ }
/* queue DTMF frame if the PBX for this call was already started (we're forwarding INFORMATION further on */
if (pri->overlapdial && pri->pvt[chan]->call==e->ring.call && pri->pvt[chan]->owner) {
/* how to do that */
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum