diff 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
line wrap: on
line diff
--- a/sip-in/call_clear.c	Wed Sep 28 18:59:55 2022 -0800
+++ b/sip-in/call_clear.c	Wed Sep 28 19:08:13 2022 -0800
@@ -55,6 +55,8 @@
 		if (call->overall_state == OVERALL_STATE_DEAD_SIP &&
 		    call->sip_clear_time >= cur_event_time.tv_sec) {
 			*pp = call->next;
+			syslog(LOG_INFO, "call in%06u cleared",
+				call->in_tag_num);
 			free(call);
 			continue;
 		}