changeset 85:70c3c8ebee33

sip-in: handle MNCC RTP bogons from OsmoMSC
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 20 Sep 2022 22:47:53 -0800
parents f82157ac7303
children f332ccc240f1
files sip-in/mncc_handle.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sip-in/mncc_handle.c	Tue Sep 20 22:44:44 2022 -0800
+++ b/sip-in/mncc_handle.c	Tue Sep 20 22:47:53 2022 -0800
@@ -217,6 +217,12 @@
 	case MNCC_RTP_CREATE:
 		handle_rtp_create(msg, msglen);
 		return;
+	case MNCC_RTP_CONNECT:
+		syslog(LOG_ERR, "MNCC_RTP_CONNECT error from OsmoMSC");
+		return;
+	case MNCC_RTP_FREE:
+		syslog(LOG_ERR, "MNCC_RTP_FREE bogon from OsmoMSC");
+		return;
 	default:
 		syslog(LOG_CRIT,
 			"FATAL: received unexpected MNCC message type 0x%x",