FreeCalypso > hg > themwi-system-sw
comparison sip-in/call_clear.c @ 114:a30c25fb4c2f
sip-in: generate CDR syslog entries
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 28 Sep 2022 22:41:16 -0800 |
parents | bfc97065bf51 |
children | 3a1f0e13a3ac |
comparison
equal
deleted
inserted
replaced
113:bfc97065bf51 | 114:a30c25fb4c2f |
---|---|
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", | 58 syslog(LOG_INFO, "Call in%06u finished", |
59 call->in_tag_num); | 59 call->in_tag_num); |
60 free(call); | 60 free(call); |
61 continue; | 61 continue; |
62 } | 62 } |
63 pp = &call->next; | 63 pp = &call->next; |