From c316578eb1c52e24d22798fe684a097b518fe319 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Tue, 1 Jun 2021 17:25:50 +0200 Subject: sip wip Change-Id: I2300259cc1b24605528ea42c1d2706ea296d2eaa --- sip/SIP_Tests.ttcn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sip/SIP_Tests.ttcn b/sip/SIP_Tests.ttcn index 290bf377..10edfa13 100644 --- a/sip/SIP_Tests.ttcn +++ b/sip/SIP_Tests.ttcn @@ -581,7 +581,9 @@ private function f_TC_sip_reinvite(charstring id) runs on ConnHdlr { /* OSC -> SIP: OSC confirms call establishment to SIP side */ [] SIP.receive(tr_SIP_Response(cp.comp.sip_call_id, sip_addr_ext, sip_addr_gsm, ?, "INVITE", 200, ?, "OK", ?)) -> value sip_resp { - log("XXX got OK"); + log("XXX got OK ", sip_resp); + cp.comp.sip_url_gsm.params := sip_resp.msgHeader.toField.toParams; + log("XXX ", cp.comp.sip_url_gsm.params); if (not match(sip_resp.messageBody, pattern "*" & cp.cn_rtp_addr & "*")) { setverdict(fail, "wrong ip addr sent in SIP SDP, not containing ", cp.cn_rtp_addr); mtc.stop; -- cgit v1.2.3