FreeCalypso > hg > themwi-system-sw
comparison sip-in/shutdown.c @ 110:c1c94b7fc2e2
sip-in call clearing: DEAD_SIP transition implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 28 Sep 2022 18:37:19 -0800 |
parents | 9b87894704eb |
children |
comparison
equal
deleted
inserted
replaced
109:9b87894704eb | 110:c1c94b7fc2e2 |
---|---|
39 call->mncc_state = MNCC_STATE_NO_EXIST; | 39 call->mncc_state = MNCC_STATE_NO_EXIST; |
40 if (call->overall_state != OVERALL_STATE_DEAD_SIP) { | 40 if (call->overall_state != OVERALL_STATE_DEAD_SIP) { |
41 call->overall_state = OVERALL_STATE_TEARDOWN; | 41 call->overall_state = OVERALL_STATE_TEARDOWN; |
42 disconnect_tmgw(call); | 42 disconnect_tmgw(call); |
43 disconnect_sip(call, &shutdown_cause); | 43 disconnect_sip(call, &shutdown_cause); |
44 transition_dead_sip(call); | |
44 } | 45 } |
45 } | 46 } |
46 } | 47 } |
47 | 48 |
48 void | 49 void |
56 if (call->overall_state != OVERALL_STATE_DEAD_SIP) { | 57 if (call->overall_state != OVERALL_STATE_DEAD_SIP) { |
57 call->overall_state = OVERALL_STATE_TEARDOWN; | 58 call->overall_state = OVERALL_STATE_TEARDOWN; |
58 disconnect_mncc(call, GSM48_CAUSE_LOC_PRN_S_LU, | 59 disconnect_mncc(call, GSM48_CAUSE_LOC_PRN_S_LU, |
59 GSM48_CC_CAUSE_NETWORK_OOO); | 60 GSM48_CC_CAUSE_NETWORK_OOO); |
60 disconnect_sip(call, &shutdown_cause); | 61 disconnect_sip(call, &shutdown_cause); |
62 transition_dead_sip(call); | |
61 } | 63 } |
62 } | 64 } |
63 } | 65 } |