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:
parent
60be2d76f8
commit
1ed9289f48
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue