comparison sip-in/bye_in.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 a9944b66dcc5
children 9b87894704eb
comparison
equal deleted inserted replaced
107:372209628038 108:0d6435808bcd
41 return; 41 return;
42 } 42 }
43 switch (call->sip_state) { 43 switch (call->sip_state) {
44 case SIP_STATE_INVITE_PROC: 44 case SIP_STATE_INVITE_PROC:
45 case SIP_STATE_RINGING: 45 case SIP_STATE_RINGING:
46 case SIP_STATE_RINGING_PRACK: 46 case SIP_STATE_RINGING_REL:
47 call->overall_state = OVERALL_STATE_TEARDOWN; 47 call->overall_state = OVERALL_STATE_TEARDOWN;
48 disconnect_mncc(call, GSM48_CAUSE_LOC_NET_BEYOND, 48 disconnect_mncc(call, GSM48_CAUSE_LOC_NET_BEYOND,
49 GSM48_CC_CAUSE_NORM_CALL_CLEAR); 49 GSM48_CC_CAUSE_NORM_CALL_CLEAR);
50 disconnect_tmgw(call); 50 disconnect_tmgw(call);
51 strcpy(call->invite_fail, "487 Call attempt terminated"); 51 strcpy(call->invite_fail, "487 Call attempt terminated");