From 8b7f5d13a39a7633502cf7e10dccc199d4b8a822 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Thu, 28 Nov 2019 13:40:37 +0100 Subject: [PATCH] library/MNCC_Types: fix sdp in tr_MNCC_* Make sure it is * everywhere, not "". Partially fix the SIP tests, where tr_MNCC_RTP_CONNECT did not match anymore: 13:15:27.516387 5 SIP_Tests.ttcn:219 Message enqueued on MNCC from SIP_Test-MNCC(3) @MNCC_Types.MNCC_PDU : { msg_type := MNCC_RTP_CONNECT (517), u := { rtp := { callref := 5001, ip := 0, rtp_port := 0, payload_type := 0, payload_msg_type := 0, sdp := "0" } } } id 3 13:15:27.516604 5 SIP_Tests.ttcn:221 Matching on port MNCC .u.rtp.sdp := "0" with "" unmatched: First message in the queue does not match the template: Related: OS#4282 Fixes: 06b859ca314f53a902329ed95848dbafef1d4f87 ("msc: add sdp to MNCC") Change-Id: Ic7a2df0b6faeaa88682880f816518618ced79a7e --- library/MNCC_Types.ttcn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/MNCC_Types.ttcn b/library/MNCC_Types.ttcn index 529657918..0a8e7d9f0 100644 --- a/library/MNCC_Types.ttcn +++ b/library/MNCC_Types.ttcn @@ -1478,7 +1478,7 @@ template MNCC_PDU tr_MNCC_REL_req(template uint32_t call_id, template MNCC_cause imsi := ?, lchan_type := 0, lchan_mode := 0, - sdp := "" + sdp := * } } } @@ -1856,7 +1856,7 @@ template MNCC_PDU tr_MNCC_USERINFO_ind(template uint32_t call_id := ?, template imsi := "", lchan_type := 0, lchan_mode := 0, - sdp := "" + sdp := * } } } @@ -1977,7 +1977,7 @@ template MNCC_PDU tr_MNCC_RTP_CONNECT(template uint32_t call_id, rtp_port := rtp_port, payload_type := pt, payload_msg_type := 0, - sdp := "" + sdp := * } } }