changeset 143:bf3b19bf57e9

sip-in: bug in last commit
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 08 Oct 2022 19:05:53 -0800
parents bb9a75557f59
children 4e16aeafbfbf
files sip-in/retrans.c
diffstat 1 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/sip-in/retrans.c	Sat Oct 08 13:42:27 2022 -0800
+++ b/sip-in/retrans.c	Sat Oct 08 19:05:53 2022 -0800
@@ -40,7 +40,8 @@
 				call->sip_tx_count++;
 			} else {
 				syslog(LOG_ERR,
-					"Call in%06u: 100rel retrans timeout");
+					"Call in%06u: 100rel retrans timeout",
+					call->in_tag_num);
 				call->overall_state = OVERALL_STATE_TEARDOWN;
 				disconnect_mncc(call, GSM48_CAUSE_LOC_PRN_S_LU,
 						GSM48_CC_CAUSE_INTERWORKING);
@@ -57,7 +58,8 @@
 				call->sip_tx_count++;
 			} else {
 				syslog(LOG_ERR,
-					"Call in%06u: 200 retrans timeout");
+					"Call in%06u: 200 retrans timeout",
+					call->in_tag_num);
 				call->overall_state = OVERALL_STATE_TEARDOWN;
 				disconnect_mncc(call, GSM48_CAUSE_LOC_PRN_S_LU,
 						GSM48_CC_CAUSE_INTERWORKING);
@@ -74,7 +76,8 @@
 				call->sip_tx_count++;
 			} else {
 				syslog(LOG_ERR,
-				"Call in%06u: late error retrans timeout");
+				"Call in%06u: late error retrans timeout",
+					call->in_tag_num);
 				call->sip_state = SIP_STATE_ENDED;
 				sip_mark_end_time(call, sip_linger_error);
 				transition_dead_sip(call);
@@ -87,7 +90,8 @@
 				call->sip_tx_count++;
 			} else {
 				syslog(LOG_ERR,
-					"Call in%06u: BYE-out retrans timeout");
+					"Call in%06u: BYE-out retrans timeout",
+					call->in_tag_num);
 				call->sip_state = SIP_STATE_ENDED;
 				sip_mark_end_time(call, sip_linger_error);
 				transition_dead_sip(call);