aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;