mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-07 10:28:32 +00:00
Null out call number on release complete when number is unallocated (bug #4633)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6639 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -5196,6 +5196,8 @@ static void *ss_thread(void *data)
|
||||
chan->hangupcause = AST_CAUSE_UNALLOCATED;
|
||||
ast_hangup(chan);
|
||||
p->exten[0] = '\0';
|
||||
/* Since we send release complete here, we won't get one */
|
||||
p->call = NULL;
|
||||
}
|
||||
return NULL;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user