changeset 250:27408ac6e863

sip-in: consistent CDR logs for statelessly rejected calls
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 14 Aug 2023 23:40:56 -0800
parents e980fe9c186c
children df2726b88034
files sip-in/invite_init.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sip-in/invite_init.c	Mon Aug 14 23:38:24 2023 -0800
+++ b/sip-in/invite_init.c	Mon Aug 14 23:40:56 2023 -0800
@@ -231,7 +231,8 @@
 	/* check if GSM service is up */
 	rc = connect_gsm_mtcall();
 	if (rc < 0) {
-gsm_offline:	syslog(LOG_INFO, "Down-call from %s to %s", cdr_str, uri_user);
+gsm_offline:	syslog(LOG_INFO, "Call from %s to %s: system is down", cdr_str,
+			uri_user);
 		if (hval)
 			syslog(LOG_INFO, "Down-call PAI: %.100s", hval);
 		start_response_out_msg(&resp, "480 GSM service is offline");