summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2021-06-01 17:25:50 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2021-06-01 17:26:15 +0200
commitc316578eb1c52e24d22798fe684a097b518fe319 (patch)
tree8c16ab82e10a717ff76085fd8afb6c3085bf6d13
parent5af8acfdf687064ebd886714c4cc0cca9cf05fec (diff)
-rw-r--r--sip/SIP_Tests.ttcn4
1 files changed, 3 insertions, 1 deletions
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;