sip wip
Change-Id: I2300259cc1b24605528ea42c1d2706ea296d2eaa
This commit is contained in:
parent
5af8acfdf6
commit
c316578eb1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue