Newer
Older
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
else {
log("*** " &__SCOPE__& ": INFO: No scheme in Proxy Authenticate header!!! ***");
setverdict(inconc);
stop;
}
vc_branch := c_branchCookie & f_getRndTag();
vc_via := {
fieldName := VIA_E,
viaBody := {valueof(m_ViaBody_currIpaddr(vc_branch, vc_userprofile))}
};
v_Request.msgHeader.via := vc_via;
// Increment CSeq sequence number of and add the credentials
// to the original saved INVITE message.
vc_cSeq.method := vc_requestFor407.msgHeader.cSeq.method;
vc_cSeq.seqNumber := vc_cSeq.seqNumber + 1;
v_Request.msgHeader.cSeq.seqNumber := vc_cSeq.seqNumber;
v_Request.msgHeader.proxyAuthorization.fieldName := PROXY_AUTHORIZATION_E;
v_Request.msgHeader.proxyAuthorization.credentials := {v_Credentials};
// Re-send the saved INVITE with Authorization header
// included.
SIPP.send(v_Request) to vc_sent_label;
}
}
}
}
} // end of group DefaultsTestStep
} // end module LibSip_Steps