summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorMatteo Brancaleoni <mbrancaleoni@espia.it>2003-03-01 06:00:15 +0000
committerMatteo Brancaleoni <mbrancaleoni@espia.it>2003-03-01 06:00:15 +0000
commitd76da9c8e8f0cbbecfd10cbcbcfe1286ce77d764 (patch)
treee9bef30a75b78bb987fe1bde38e99c78454b053e /channels
parent3a8580e98267799732ec903d5c4b1c34400ab322 (diff)
Sat Mar 1 07:00:01 CET 2003
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rwxr-xr-xchannels/chan_sip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index d4f5a25b3..adf23a40c 100755
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -3300,7 +3300,8 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc
ast_async_goto(transfer_to,"", p->refer_to,1, 1);
}
}
- transmit_request(p, "BYE", p->outgoing);
+ /* Always increment on a BYE */
+ transmit_request(p, "BYE", 1);
p->alreadygone = 1;
}
} else if (!strcasecmp(cmd, "CANCEL") || !strcasecmp(cmd, "BYE")) {