FreeCalypso > hg > themwi-system-sw
comparison sip-in/retrans.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 | bb9a75557f59 |
comparison
equal
deleted
inserted
replaced
109:9b87894704eb | 110:c1c94b7fc2e2 |
---|---|
69 sip_tx_packet(&msg, &call->udp_sin); | 69 sip_tx_packet(&msg, &call->udp_sin); |
70 call->sip_tx_count++; | 70 call->sip_tx_count++; |
71 } else { | 71 } else { |
72 call->sip_state = SIP_STATE_ENDED; | 72 call->sip_state = SIP_STATE_ENDED; |
73 sip_mark_end_time(call, sip_linger_error); | 73 sip_mark_end_time(call, sip_linger_error); |
74 transition_dead_sip(call); | |
74 } | 75 } |
75 break; | 76 break; |
76 case SIP_STATE_BYE_SENT: | 77 case SIP_STATE_BYE_SENT: |
77 if (call->sip_tx_count < cfg_retrans_count) { | 78 if (call->sip_tx_count < cfg_retrans_count) { |
78 fill_bye_out_msg(&msg, call); | 79 fill_bye_out_msg(&msg, call); |
79 sip_tx_packet(&msg, &call->udp_sin); | 80 sip_tx_packet(&msg, &call->udp_sin); |
80 call->sip_tx_count++; | 81 call->sip_tx_count++; |
81 } else { | 82 } else { |
82 call->sip_state = SIP_STATE_ENDED; | 83 call->sip_state = SIP_STATE_ENDED; |
83 sip_mark_end_time(call, sip_linger_error); | 84 sip_mark_end_time(call, sip_linger_error); |
85 transition_dead_sip(call); | |
84 } | 86 } |
85 break; | 87 break; |
86 } | 88 } |
87 } | 89 } |
88 } | 90 } |