freetdm: ss7, bug fix in COT handling

This commit is contained in:
Konrad Hammel 2010-10-27 18:07:56 -04:00
parent 3ad8a33b62
commit 5fe38d5f88
1 changed files with 4 additions and 1 deletions

View File

@ -218,7 +218,10 @@ ftdm_status_t handle_con_ind(uint32_t suInstId, uint32_t spInstId, uint32_t circ
/* check if a COT test is requested */
if ((siConEvnt->natConInd.eh.pres) && (siConEvnt->natConInd.contChkInd.pres)) {
if ((siConEvnt->natConInd.eh.pres) &&
(siConEvnt->natConInd.contChkInd.pres) &&
(siConEvnt->natConInd.contChkInd.val)) {
SS7_INFO_CHAN(ftdmchan,"[CIC:%d]Found COT Request\n", sngss7_info->circuit->cic);
/* tell the core to loop the channel */