Compare Revisions

The credentials to download the source code are:
 Username: svnusers
 Password: svnusers

Ignore whitespace Rev 616 → Rev 617

/branches/v3/ttcn/LibSip_Steps.ttcn
3086,7 → 3086,7
inout CSeq p_cSeq_s
) runs on SipComponent {
 
tc_resp.start(PX_SIP_TRESP);
tc_resp.start;
alt {
[] SIPP.receive(mw_Response_Base(c_statusLine200, vc_callId, p_cSeq_s)) -> value vc_response {
tc_resp.stop;
3103,7 → 3103,7
function f_awaitingResponse(
in template(present) Response p_Response := ?
) runs on SipComponent {
tc_resp.start(PX_SIP_TRESP);
tc_resp.start;
a_awaitingResponse(p_Response);
} // end f_awaitingResponse
 
3125,7 → 3125,7
function f_awaitingResponseIgnore100Trying(
in template(present) Response p_Response := ?
) runs on SipComponent {
tc_resp.start(PX_SIP_TRESP);
tc_resp.start;
alt {
[] SIPP.receive(p_Response) -> value vc_response {
tc_resp.stop;
3145,7 → 3145,7
function f_awaitingResponseSendACK(
in template(present) Response p_Response := ?
) runs on SipComponent {
tc_resp.start(PX_SIP_TRESP);
tc_resp.start;
alt {
[] SIPP.receive(p_Response) -> value vc_response {
tc_resp.stop;
3164,7 → 3164,7
function f_awaitingResponsePassOnTimeout(
in template(present) Response p_Response := ?
) runs on SipComponent {
tc_resp.start(PX_SIP_TRESP);
tc_resp.start;
alt {
[] SIPP.receive(p_Response) -> value vc_response {
tc_resp.stop;
3192,7 → 3192,7
var boolean v_received_OK := false;
var boolean v_received_NOTIFY := false;
var NOTIFY_Request v_MSG;
tc_resp.start(PX_SIP_TRESP);
tc_resp.start;
tc_wait.start(PX_SIP_TWAIT);
 
alt {
3338,7 → 3338,7
in boolean p_setHeaders
) runs on SipComponent {
var Request v_ACK_Request;
tc_ack.start(PX_SIP_TACK);
tc_ack.start;
 
alt {
[] SIPP.receive(p_ACK) -> value v_ACK_Request {
4011,7 → 4011,7
if (p_auth) {
// receiving 401 Unauthorized response.
// and Re-send REGISTER request with Authorization header
tc_resp.start(PX_SIP_TRESP);
tc_resp.start;
alt {
[] SIPP.receive(mw_Response_Base(c_statusLine401, vc_callId, p_cSeq_s)) -> value vc_response {
tc_resp.stop;
4059,7 → 4059,7
if (p_auth) {
// receiving 401 Unauthorized response.
// and Re-send REGISTER request with Authorization header
tc_resp.start(PX_SIP_TRESP);
tc_resp.start;
alt {
[] SIPP.receive(mw_Response_Base(c_statusLine401, vc_callId, p_cSeq_s)) -> value vc_response {
tc_resp.stop;
4122,7 → 4122,7
if (PX_SIP_REGISTER_AUTHENTICATION_ENABLED) {
// receiving 401 Unauthorized response.
// and Re-send REGISTER request with Authorization header
tc_resp.start(PX_SIP_TRESP);
tc_resp.start;
alt {
[] SIPP.receive(mw_Response_Base(c_statusLine401, vc_callIdReg, p_cSeq)) -> value vc_response {
tc_resp.stop;
4148,7 → 4148,7
}
}
else {
tc_resp.start(PX_SIP_TRESP);
tc_resp.start;
alt {
[] a_awaitingResponse(mw_Response_Base(c_statusLine200, vc_callIdReg, p_cSeq)) {
}
4319,7 → 4319,7
// Sending of a BYE request to release the call and expect a final response
f_SendBYE(m_BYE_Request_cause(p_requestUri, p_CallId, p_cSeq, p_from, p_to, vc_via, p_byeCause));
 
tc_resp.start(PX_SIP_TRESP);
tc_resp.start;
alt {
[] SIPP.receive(mw_Response_Base(mw_statusLine1xx, p_CallId, p_cSeq)) {
repeat;
4338,7 → 4338,7
// Sending of a CANCEL request with the same Cseq
f_setHeadersCANCEL(vc_cSeq);
f_SendCANCEL(p_request);
tc_resp.start(PX_SIP_TRESP);
tc_resp.start;
alt {
[] SIPP.receive(mw_Response_Base(c_statusLine200, vc_callId, vc_cSeq)) {
tc_resp.stop;
4933,7 → 4933,7
var Request v_Request := vc_requestFor407;
[] any port.check(receive) {
 
tc_resp.start(PX_SIP_TRESP);
tc_resp.start;
alt {
[] SIPP.receive(mw_Response_Base((c_statusLine401, c_statusLine407), vc_callId, vc_cSeq)) -> value v_Response {
tc_resp.stop;