Release active call, when disconnect is received from network
If early disconnect is received, the connecion is kept established, so the announcement can be heared by mobile subscriber.
This commit is contained in:
@@ -1641,8 +1641,8 @@ void call_out_disconnect(int callref, int cause)
|
||||
return;
|
||||
}
|
||||
|
||||
/* Release when not active */
|
||||
if (nmt->state == STATE_ACTIVE)
|
||||
/* Release when not active and not waiting for answer */
|
||||
if (nmt->state == STATE_ACTIVE || nmt->state == STATE_MO_COMPLETE)
|
||||
return;
|
||||
switch (nmt->state) {
|
||||
case STATE_MT_RINGING:
|
||||
|
Reference in New Issue
Block a user