comparison sip-in/cancel.c @ 108:0d6435808bcd

sip-in: implement 100rel for 180 Ringing response
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 28 Sep 2022 14:29:10 -0800
parents b0df2b200d77
children 9b87894704eb
comparison
equal deleted inserted replaced
107:372209628038 108:0d6435808bcd
90 } 90 }
91 /* it is for us - act on it */ 91 /* it is for us - act on it */
92 switch (call->sip_state) { 92 switch (call->sip_state) {
93 case SIP_STATE_INVITE_PROC: 93 case SIP_STATE_INVITE_PROC:
94 case SIP_STATE_RINGING: 94 case SIP_STATE_RINGING:
95 case SIP_STATE_RINGING_PRACK: 95 case SIP_STATE_RINGING_REL:
96 call->overall_state = OVERALL_STATE_TEARDOWN; 96 call->overall_state = OVERALL_STATE_TEARDOWN;
97 disconnect_mncc(call, GSM48_CAUSE_LOC_NET_BEYOND, 97 disconnect_mncc(call, GSM48_CAUSE_LOC_NET_BEYOND,
98 GSM48_CC_CAUSE_NORM_CALL_CLEAR); 98 GSM48_CC_CAUSE_NORM_CALL_CLEAR);
99 disconnect_tmgw(call); 99 disconnect_tmgw(call);
100 strcpy(call->invite_fail, "487 Call attempt terminated"); 100 strcpy(call->invite_fail, "487 Call attempt terminated");