Modified change from gkelleter a bit. If you change things in the TE State machine, check the whole code! Disconnects might also be sent out in other States like outgoing Setup.. i've did your change only in state 7 == In Setup + Out Alerting, please check if that works for you.

This commit is contained in:
Chrisian Richter 2006-10-16 07:43:57 +00:00
parent 60be2d76f8
commit 1ed9289f48
1 changed files with 1 additions and 1 deletions

View File

@ -1082,7 +1082,7 @@ l3dss1_disconnect(l3_process_t *pc, u_char pr, void *arg)
else
cause = CAUSE_INVALID_CONTENTS;
}
else
else if (pc->state == 7) /* Call Received*/
cause = pc->err;
ret = check_infoelements(pc, skb, ie_DISCONNECT);
if (ERR_IE_COMPREHENSION == ret)