Fix *8# magically (bug #116)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1665 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
b5bcecce5d
commit
77003fea94
1 changed files with 1 additions and 0 deletions
|
@ -5020,6 +5020,7 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc
|
||||||
c = NULL;
|
c = NULL;
|
||||||
} else {
|
} else {
|
||||||
ast_mutex_unlock(&p->lock);
|
ast_mutex_unlock(&p->lock);
|
||||||
|
ast_setstate(c, AST_STATE_DOWN);
|
||||||
ast_hangup(c);
|
ast_hangup(c);
|
||||||
ast_mutex_lock(&p->lock);
|
ast_mutex_lock(&p->lock);
|
||||||
c = NULL;
|
c = NULL;
|
||||||
|
|
Loading…
Reference in a new issue