Revert change that removed q931_call structure too soon
authorMatthew Fredrickson <creslin@digium.com>
Wed, 7 Sep 2005 20:52:17 +0000 (20:52 +0000)
committerMatthew Fredrickson <creslin@digium.com>
Wed, 7 Sep 2005 20:52:17 +0000 (20:52 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6538 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index e6e31d2..aa212c2 100755 (executable)
@@ -2402,7 +2402,6 @@ static int zt_hangup(struct ast_channel *ast)
                                                                icause = atoi(cause);
                                                }
                                                pri_hangup(p->pri->pri, p->call, icause);
-                                               p->call = NULL;
                                        }
                                        if (res < 0) 
                                                ast_log(LOG_WARNING, "pri_disconnect failed\n");