mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Release, ourselves
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1004 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1602,6 +1602,7 @@ static int zt_hangup(struct ast_channel *ast)
|
||||
if (!pri_grab(p, p->pri)) {
|
||||
res = pri_disconnect(p->pri->pri, p->call, PRI_CAUSE_NORMAL_CLEARING);
|
||||
if (p->alreadyhungup) {
|
||||
pri_release(p->pri->pri, p->call, -1);
|
||||
p->call = NULL;
|
||||
p->alreadyhungup = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user