Loading LibSip_Steps.ttcn +7 −9 Original line number Diff line number Diff line Loading @@ -1422,7 +1422,7 @@ group SetHeaders { { f_setHeadersGeneral(p_cSeq_s, "REFER"); // cseq, contact, branch, via vc_callId := { fieldName:=CALL_ID_E, callid:=f_getRndCallId(p_cSeq_s) & c_AT & vc_userprofile.currIpaddr }; //vc_callId := { fieldName:=CALL_ID_E, callid:=f_getRndCallId(p_cSeq_s) & c_AT & vc_userprofile.currIpaddr }; vc_cancel_To := vc_to; vc_caller_To := vc_to; Loading Loading @@ -2310,9 +2310,8 @@ group SDPOperations{ */ function f_SIP_modSessionDirection(template SDP_attribute p_direction) runs on SipComponent { var boolean v_set_direction; var boolean v_set_direction := false; var integer v_mn:= 0, i:=0; var SDP_attribute_list v_mediaAttributes := {}; if (ispresent(vc_sdp_local.attributes)) { v_mn:= sizeof(vc_sdp_local.attributes); Loading @@ -2324,15 +2323,14 @@ group SDPOperations{ or ischosen(vc_sdp_local.attributes[i].inactive) or ischosen(vc_sdp_local.attributes[i].sendrecv)) { v_mediaAttributes[i] := valueof(p_direction); vc_sdp_local.attributes[i] := valueof(p_direction); v_set_direction := true; } else // simple copy of attribute {v_mediaAttributes[i] := vc_sdp_local.attributes[i]} } if (not v_set_direction) // if not sent before { v_mediaAttributes[v_mn] := valueof(p_direction)}; vc_sdp_local.attributes := v_mediaAttributes; { vc_sdp_local.attributes[v_mn] := valueof(p_direction); }; }; } Loading Loading
LibSip_Steps.ttcn +7 −9 Original line number Diff line number Diff line Loading @@ -1422,7 +1422,7 @@ group SetHeaders { { f_setHeadersGeneral(p_cSeq_s, "REFER"); // cseq, contact, branch, via vc_callId := { fieldName:=CALL_ID_E, callid:=f_getRndCallId(p_cSeq_s) & c_AT & vc_userprofile.currIpaddr }; //vc_callId := { fieldName:=CALL_ID_E, callid:=f_getRndCallId(p_cSeq_s) & c_AT & vc_userprofile.currIpaddr }; vc_cancel_To := vc_to; vc_caller_To := vc_to; Loading Loading @@ -2310,9 +2310,8 @@ group SDPOperations{ */ function f_SIP_modSessionDirection(template SDP_attribute p_direction) runs on SipComponent { var boolean v_set_direction; var boolean v_set_direction := false; var integer v_mn:= 0, i:=0; var SDP_attribute_list v_mediaAttributes := {}; if (ispresent(vc_sdp_local.attributes)) { v_mn:= sizeof(vc_sdp_local.attributes); Loading @@ -2324,15 +2323,14 @@ group SDPOperations{ or ischosen(vc_sdp_local.attributes[i].inactive) or ischosen(vc_sdp_local.attributes[i].sendrecv)) { v_mediaAttributes[i] := valueof(p_direction); vc_sdp_local.attributes[i] := valueof(p_direction); v_set_direction := true; } else // simple copy of attribute {v_mediaAttributes[i] := vc_sdp_local.attributes[i]} } if (not v_set_direction) // if not sent before { v_mediaAttributes[v_mn] := valueof(p_direction)}; vc_sdp_local.attributes := v_mediaAttributes; { vc_sdp_local.attributes[v_mn] := valueof(p_direction); }; }; } Loading