From 77003fea94d395c06f6de8fb809db0bc94d7c537 Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Sat, 25 Oct 2003 17:41:02 +0000 Subject: [PATCH] Fix *8# magically (bug #116) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1665 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 34847fc89d..5427977aef 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -5020,6 +5020,7 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc c = NULL; } else { ast_mutex_unlock(&p->lock); + ast_setstate(c, AST_STATE_DOWN); ast_hangup(c); ast_mutex_lock(&p->lock); c = NULL;