Also NULL-ify the p->owner when the calls drop because of alarm

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Martin Pycko 22 years ago
parent e85c9cbc45
commit 4fbe072aa4

@ -2573,6 +2573,7 @@ static struct ast_frame *zt_handle_event(struct ast_channel *ast)
#ifdef PRI_DESTROYCALL
pri_destroycall(p->pri->pri, p->call);
p->call = NULL;
p->owner = NULL;
#else
#error Please "cvs update" and recompile libpri
#endif

Loading…
Cancel
Save