From 19f4f3c36c5202821f1131ddb3d0015670bbe810 Mon Sep 17 00:00:00 2001 From: Martin Pycko Date: Mon, 28 Jul 2003 15:12:37 +0000 Subject: [PATCH] Fix the bug when Sending Complete IE is sent or not sent (i don't remember) asterisk would jump to s|1 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1233 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_zap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 7db748e4a9..0d46dbb847 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -5609,10 +5609,10 @@ static void *pri_dchannel(void *vpri) strcpy(pri->pvt[chan]->callerid, ""); strncpy(pri->pvt[chan]->rdnis, e->ring.redirectingnum, sizeof(pri->pvt[chan]->rdnis)); } - /* If immediate=yes or call complete go to s|1 */ - if (pri->pvt[chan]->immediate || e->ring.complete) { + /* If immediate=yes go to s|1 */ + if (pri->pvt[chan]->immediate) { if (option_verbose > 2) - ast_verbose(VERBOSE_PREFIX_3 "Going to extension s|1 because of immediate=yes or Complete received\n"); + ast_verbose(VERBOSE_PREFIX_3 "Going to extension s|1 because of immediate=yes\n"); strcpy(pri->pvt[chan]->exten, "s"); } /* Get called number */