mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
Fix seg on non-PRI
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3432,7 +3432,7 @@ static int zt_indicate(struct ast_channel *chan, int condition)
|
||||
ast_log(LOG_DEBUG,"Received AST_CONTROL_PROGRESS on %s\n",chan->name);
|
||||
#ifdef ZAPATA_PRI
|
||||
#ifdef PRI_EVENT_PROCEEDING
|
||||
if (!p->proceeding && p->pri->overlapdial && p->sig==SIG_PRI) {
|
||||
if (!p->proceeding && (!p->pri || p->pri->overlapdial) && p->sig==SIG_PRI) {
|
||||
if (p->pri && p->pri->pri) {
|
||||
if (!pri_grab(p, p->pri))
|
||||
pri_acknowledge(p->pri->pri,p->call, p->prioffset, 1);
|
||||
|
Reference in New Issue
Block a user