Skip to content
Snippets Groups Projects
Commit 5e8102a3 authored by Mark Spencer's avatar Mark Spencer
Browse files

Release, ourselves

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1004 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 48647bfc
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment