FreeCalypso > hg > themwi-system-sw
comparison sip-in/call_clear.c @ 113:bfc97065bf51
sip-in: syslog beginning and clearing of calls
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 28 Sep 2022 19:08:13 -0800 |
parents | 7a4d4b8d5f04 |
children | a30c25fb4c2f |
comparison
equal
deleted
inserted
replaced
112:6aa63cf4620a | 113:bfc97065bf51 |
---|---|
53 for (pp = &call_list; *pp; ) { | 53 for (pp = &call_list; *pp; ) { |
54 call = *pp; | 54 call = *pp; |
55 if (call->overall_state == OVERALL_STATE_DEAD_SIP && | 55 if (call->overall_state == OVERALL_STATE_DEAD_SIP && |
56 call->sip_clear_time >= cur_event_time.tv_sec) { | 56 call->sip_clear_time >= cur_event_time.tv_sec) { |
57 *pp = call->next; | 57 *pp = call->next; |
58 syslog(LOG_INFO, "call in%06u cleared", | |
59 call->in_tag_num); | |
58 free(call); | 60 free(call); |
59 continue; | 61 continue; |
60 } | 62 } |
61 pp = &call->next; | 63 pp = &call->next; |
62 } | 64 } |