Make sure we don't set the channel to be inalarm for a D-channel drop on PTMP connections
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@170351 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
5bb40c4b51
commit
57e2506e43
|
@ -10981,7 +10981,11 @@ static void *pri_dchannel(void *vpri)
|
|||
} else if (p->owner)
|
||||
p->owner->_softhangup |= AST_SOFTHANGUP_DEV;
|
||||
}
|
||||
p->inalarm = 1;
|
||||
/* For PTMP connections with non persistent layer 2 we want
|
||||
* to *not* declare inalarm unless there actually is an alarm */
|
||||
if (p->sig != SIG_BRI_PTMP) {
|
||||
p->inalarm = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue