// This C++ source file was generated by the TTCN-3 compiler // of the TTCN-3 Test Executor version 11.1.0 // The generation of user and time information were disabled by the -D flag. // Copyright (c) 2000-2025 Ericsson Telecom AB // Do not edit this file unless you know what you are doing. /* Including header files */ #include "MGCP_Templates.hh" namespace MGCP__Templates { /* Literal string constants */ extern const CHARSTRING cs_23(0, NULL), cs_22('*'), cs_9(3, "1.0"), cs_11(3, "200"), cs_17(3, "250"), cs_19(':'), cs_24(4, "AUCX"), cs_10(4, "AUEP"), cs_1('C'), cs_13(4, "CRCX"), cs_16(4, "DLCX"), cs_8(4, "FAIL"), cs_5('I'), cs_21(3, "IP4"), cs_20(3, "IP6"), cs_4('L'), cs_0('M'), cs_15(4, "MDCX"), cs_12(2, "OK"), cs_18(4, "RSIP"), cs_2('X'), cs_7(10, "X-OSMO-IGN"), cs_6(7, "X-OSMUX"), cs_3('Z'), cs_25(4, "\\*@*"), cs_14(11, "p:20, a:AMR"), cs_26(14, "rtpbridge/\\*@*"); const unsigned char module_checksum[] = { 0xe6, 0xa8, 0x53, 0x75, 0xb9, 0x48, 0xd5, 0xca, 0x25, 0x83, 0x44, 0x64, 0x72, 0xdd, 0xef, 0x62 }; /* Global variable definitions */ CHARSTRING_template template_ts__MgcpResp__Err_string_defval; const CHARSTRING_template& ts__MgcpResp__Err_string_defval = template_ts__MgcpResp__Err_string_defval; MGCP__Types::MgcpResponse_template template_tr__AUEP__ACK; const MGCP__Types::MgcpResponse_template& tr__AUEP__ACK = template_tr__AUEP__ACK; SDP__Types::SDP__Message_template template_ts__CRCX_sdp_defval; const SDP__Types::SDP__Message_template& ts__CRCX_sdp_defval = template_ts__CRCX_sdp_defval; SDP__Types::SDP__Message_template template_ts__CRCX__no__lco_sdp_defval; const SDP__Types::SDP__Message_template& ts__CRCX__no__lco_sdp_defval = template_ts__CRCX__no__lco_sdp_defval; SDP__Types::SDP__Message_template template_ts__CRCX__osmux_sdp_defval; const SDP__Types::SDP__Message_template& ts__CRCX__osmux_sdp_defval = template_ts__CRCX__osmux_sdp_defval; CHARSTRING_template template_tr__CRCX_ep_defval; const CHARSTRING_template& tr__CRCX_ep_defval = template_tr__CRCX_ep_defval; SDP__Types::SDP__Message_template template_tr__CRCX_sdp_defval; const SDP__Types::SDP__Message_template& tr__CRCX_sdp_defval = template_tr__CRCX_sdp_defval; MGCP__Types::MgcpResponse_template template_tr__CRCX__ACK; const MGCP__Types::MgcpResponse_template& tr__CRCX__ACK = template_tr__CRCX__ACK; MGCP__Types::MgcpResponse_template template_tr__CRCX__ACK__osmux; const MGCP__Types::MgcpResponse_template& tr__CRCX__ACK__osmux = template_tr__CRCX__ACK__osmux; SDP__Types::SDP__Message_template template_ts__CRCX__ACK_sdp_defval; const SDP__Types::SDP__Message_template& ts__CRCX__ACK_sdp_defval = template_ts__CRCX__ACK_sdp_defval; SDP__Types::SDP__Message_template template_ts__CRCX__ACK__osmux_sdp_defval; const SDP__Types::SDP__Message_template& ts__CRCX__ACK__osmux_sdp_defval = template_ts__CRCX__ACK__osmux_sdp_defval; SDP__Types::SDP__Message_template template_ts__MDCX_sdp_defval; const SDP__Types::SDP__Message_template& ts__MDCX_sdp_defval = template_ts__MDCX_sdp_defval; SDP__Types::SDP__Message_template template_ts__MDCX__osmux_sdp_defval; const SDP__Types::SDP__Message_template& ts__MDCX__osmux_sdp_defval = template_ts__MDCX__osmux_sdp_defval; SDP__Types::SDP__Message_template template_tr__MDCX_sdp_defval; const SDP__Types::SDP__Message_template& tr__MDCX_sdp_defval = template_tr__MDCX_sdp_defval; MGCP__Types::MgcpResponse_template template_tr__MDCX__ACK; const MGCP__Types::MgcpResponse_template& tr__MDCX__ACK = template_tr__MDCX__ACK; SDP__Types::SDP__Message_template template_ts__MDCX__ACK_sdp_defval; const SDP__Types::SDP__Message_template& ts__MDCX__ACK_sdp_defval = template_ts__MDCX__ACK_sdp_defval; SDP__Types::SDP__Message_template template_ts__MDCX__ACK__osmux_sdp_defval; const SDP__Types::SDP__Message_template& ts__MDCX__ACK__osmux_sdp_defval = template_ts__MDCX__ACK__osmux_sdp_defval; HEXSTRING_template template_ts__DLCX_call__id_defval; const HEXSTRING_template& ts__DLCX_call__id_defval = template_ts__DLCX_call__id_defval; HEXSTRING_template template_ts__DLCX_conn__id_defval; const HEXSTRING_template& ts__DLCX_conn__id_defval = template_ts__DLCX_conn__id_defval; CHARSTRING_template template_tr__DLCX_ep_defval; const CHARSTRING_template& tr__DLCX_ep_defval = template_tr__DLCX_ep_defval; MGCP__Types::MgcpResponse_template template_tr__DLCX__ACK; const MGCP__Types::MgcpResponse_template& tr__DLCX__ACK = template_tr__DLCX__ACK; SDP__Types::SDP__Message_template template_ts__DLCX__ACK_sdp_defval; const SDP__Types::SDP__Message_template& ts__DLCX__ACK_sdp_defval = template_ts__DLCX__ACK_sdp_defval; MGCP__Types::MgcpCommand_template template_tr__RSIP; const MGCP__Types::MgcpCommand_template& tr__RSIP = template_tr__RSIP; CHARSTRING_template template_tr__MgcpVerb__ConnectionOriented; const CHARSTRING_template& tr__MgcpVerb__ConnectionOriented = template_tr__MgcpVerb__ConnectionOriented; MGCP__Types::MgcpCommand_template template_tr__MgcpCommand__CO; const MGCP__Types::MgcpCommand_template& tr__MgcpCommand__CO = template_tr__MgcpCommand__CO; CHARSTRING_template template_t__MGCP__EP__wildcard; const CHARSTRING_template& t__MGCP__EP__wildcard = template_t__MGCP__EP__wildcard; TTCN_Module module_object("MGCP_Templates", __DATE__, __TIME__, module_checksum, pre_init_module, NULL, 0U, 4294967295U, 4294967295U, 4294967295U, NULL, 0LU, 0, post_init_module, NULL, NULL, NULL, NULL, NULL, NULL, NULL); const RuntimeVersionChecker ver_checker( current_runtime_version.requires_major_version_11, current_runtime_version.requires_minor_version_1, current_runtime_version.requires_patch_level_0, current_runtime_version.requires_runtime_1); /* Bodies of functions, altsteps and testcases */ void f__mgcp__par__append(MGCP__Types::MgcpParameterList_template& list, const MGCP__Types::MgcpParameter_template& par) { TTCN_Location current_location("MGCP_Templates.ttcn", 17, TTCN_Location::LOCATION_FUNCTION, "f_mgcp_par_append"); current_location.update_lineno(18); /* MGCP_Templates.ttcn, line 18 */ INTEGER len(list.lengthof()); current_location.update_lineno(19); /* MGCP_Templates.ttcn, line 19 */ list[len] = par; } MGCP__Types::MgcpParameter_template t__MgcpParConnMode(const CHARSTRING_template& mode) { TTCN_Location current_location("MGCP_Templates.ttcn", 24, TTCN_Location::LOCATION_TEMPLATE, "t_MgcpParConnMode"); MGCP__Types::MgcpParameter_template ret_val; ret_val.code() = cs_0; ret_val.val() = mode; return ret_val; } MGCP__Types::MgcpParameter_template ts__MgcpParCallId(const HEXSTRING& cid) { TTCN_Location current_location("MGCP_Templates.ttcn", 27, TTCN_Location::LOCATION_TEMPLATE, "ts_MgcpParCallId"); MGCP__Types::MgcpParameter_template ret_val; ret_val.code() = cs_1; ret_val.val() = hex2str(cid); return ret_val; } MGCP__Types::MgcpParameter_template ts__MgcpParReqId(const HEXSTRING& rid) { TTCN_Location current_location("MGCP_Templates.ttcn", 33, TTCN_Location::LOCATION_TEMPLATE, "ts_MgcpParReqId"); MGCP__Types::MgcpParameter_template ret_val; ret_val.code() = cs_2; ret_val.val() = hex2str(rid); return ret_val; } MGCP__Types::MgcpParameter_template ts__MgcpParSpecEP(const CHARSTRING& ep) { TTCN_Location current_location("MGCP_Templates.ttcn", 39, TTCN_Location::LOCATION_TEMPLATE, "ts_MgcpParSpecEP"); MGCP__Types::MgcpParameter_template ret_val; ret_val.code() = cs_3; ret_val.val() = ep; return ret_val; } MGCP__Types::MgcpParameter_template t__MgcpParLocConnOpt(const CHARSTRING_template& lco) { TTCN_Location current_location("MGCP_Templates.ttcn", 45, TTCN_Location::LOCATION_TEMPLATE, "t_MgcpParLocConnOpt"); MGCP__Types::MgcpParameter_template ret_val; ret_val.code() = cs_4; ret_val.val() = lco; return ret_val; } MGCP__Types::MgcpParameter_template ts__MgcpParConnectionId(const HEXSTRING& cid) { TTCN_Location current_location("MGCP_Templates.ttcn", 48, TTCN_Location::LOCATION_TEMPLATE, "ts_MgcpParConnectionId"); MGCP__Types::MgcpParameter_template ret_val; ret_val.code() = cs_5; ret_val.val() = hex2str(cid); return ret_val; } MGCP__Types::MgcpParameter_template ts__MgcpParOsmuxCID(const INTEGER& osmux__cid) { TTCN_Location current_location("MGCP_Templates.ttcn", 54, TTCN_Location::LOCATION_TEMPLATE, "ts_MgcpParOsmuxCID"); MGCP__Types::MgcpParameter_template ret_val; ret_val.code() = cs_6; ret_val.val() = f__mgcp__osmux__cid__encode(osmux__cid); return ret_val; } MGCP__Types::MgcpParameter_template t__MgcpParOsmoIGN(const CHARSTRING_template& val) { TTCN_Location current_location("MGCP_Templates.ttcn", 60, TTCN_Location::LOCATION_TEMPLATE, "t_MgcpParOsmoIGN"); MGCP__Types::MgcpParameter_template ret_val; ret_val.code() = cs_7; ret_val.val() = val; return ret_val; } MGCP__Types::MgcpResponse_template ts__MgcpResp__Err(const CHARSTRING_template& trans__id, const CHARSTRING_template& code, const CHARSTRING_template& string) { TTCN_Location current_location("MGCP_Templates.ttcn", 68, TTCN_Location::LOCATION_TEMPLATE, "ts_MgcpResp_Err"); MGCP__Types::MgcpResponse_template ret_val; { MGCP__Types::MgcpResponseLine_template& tmp_1 = ret_val.line(); tmp_1.code() = code; tmp_1.trans__id() = trans__id; tmp_1.string() = string; } ret_val.params() = NULL_VALUE; ret_val.sdp() = OMIT_VALUE; return ret_val; } MGCP__Types::MgcpResponse_template tr__MgcpResp__Err(const CHARSTRING_template& code) { TTCN_Location current_location("MGCP_Templates.ttcn", 80, TTCN_Location::LOCATION_TEMPLATE, "tr_MgcpResp_Err"); MGCP__Types::MgcpResponse_template ret_val; { MGCP__Types::MgcpResponseLine_template& tmp_2 = ret_val.line(); tmp_2.code() = code; tmp_2.trans__id() = ANY_VALUE; tmp_2.string() = ANY_VALUE; } ret_val.params() = NULL_VALUE; ret_val.sdp() = OMIT_VALUE; return ret_val; } MGCP__Types::MgcpCommandLine_template t__MgcpCmdLine(const CHARSTRING_template& verb, const CHARSTRING_template& trans__id, const CHARSTRING_template& ep) { TTCN_Location current_location("MGCP_Templates.ttcn", 91, TTCN_Location::LOCATION_TEMPLATE, "t_MgcpCmdLine"); MGCP__Types::MgcpCommandLine_template ret_val; ret_val.verb() = verb; ret_val.trans__id() = trans__id; ret_val.ep() = ep; ret_val.ver() = cs_9; return ret_val; } MGCP__Types::MgcpCommand_template ts__AUEP(const CHARSTRING& trans__id, const CHARSTRING& ep) { TTCN_Location current_location("MGCP_Templates.ttcn", 98, TTCN_Location::LOCATION_TEMPLATE, "ts_AUEP"); MGCP__Types::MgcpCommand_template ret_val; ret_val.line() = t__MgcpCmdLine(CHARSTRING_template(cs_10), CHARSTRING_template(trans__id), CHARSTRING_template(ep)); ret_val.params() = OMIT_VALUE; ret_val.sdp() = OMIT_VALUE; return ret_val; } MGCP__Types::MgcpCommand_template ts__CRCX(const CHARSTRING& trans__id, const CHARSTRING& ep, const CHARSTRING& mode, const HEXSTRING& call__id, const SDP__Types::SDP__Message_template& sdp) { TTCN_Location current_location("MGCP_Templates.ttcn", 114, TTCN_Location::LOCATION_TEMPLATE, "ts_CRCX"); MGCP__Types::MgcpCommand_template ret_val; ret_val.line() = t__MgcpCmdLine(CHARSTRING_template(cs_13), CHARSTRING_template(trans__id), CHARSTRING_template(ep)); { MGCP__Types::MgcpParameterList_template& tmp_4 = ret_val.params(); tmp_4.set_size(3); tmp_4[0] = t__MgcpParConnMode(CHARSTRING_template(mode)); tmp_4[1] = ts__MgcpParCallId(call__id); tmp_4[2] = t__MgcpParLocConnOpt(CHARSTRING_template(cs_14)); } ret_val.sdp() = sdp; return ret_val; } MGCP__Types::MgcpCommand_template ts__CRCX__no__lco(const CHARSTRING& trans__id, const CHARSTRING& ep, const CHARSTRING& mode, const HEXSTRING& call__id, const SDP__Types::SDP__Message_template& sdp) { TTCN_Location current_location("MGCP_Templates.ttcn", 125, TTCN_Location::LOCATION_TEMPLATE, "ts_CRCX_no_lco"); MGCP__Types::MgcpCommand_template ret_val; ret_val.line() = t__MgcpCmdLine(CHARSTRING_template(cs_13), CHARSTRING_template(trans__id), CHARSTRING_template(ep)); { MGCP__Types::MgcpParameterList_template& tmp_5 = ret_val.params(); tmp_5.set_size(2); tmp_5[0] = t__MgcpParConnMode(CHARSTRING_template(mode)); tmp_5[1] = ts__MgcpParCallId(call__id); } ret_val.sdp() = sdp; return ret_val; } MGCP__Types::MgcpCommand_template ts__CRCX__osmux(const CHARSTRING& trans__id, const CHARSTRING& ep, const CHARSTRING& mode, const HEXSTRING& call__id, const INTEGER& osmux__cid, const SDP__Types::SDP__Message_template& sdp) { TTCN_Location current_location("MGCP_Templates.ttcn", 134, TTCN_Location::LOCATION_TEMPLATE, "ts_CRCX_osmux"); MGCP__Types::MgcpCommand_template ret_val; ret_val.line() = t__MgcpCmdLine(CHARSTRING_template(cs_13), CHARSTRING_template(trans__id), CHARSTRING_template(ep)); { MGCP__Types::MgcpParameterList_template& tmp_6 = ret_val.params(); tmp_6.set_size(4); tmp_6[0] = t__MgcpParConnMode(CHARSTRING_template(mode)); tmp_6[1] = ts__MgcpParCallId(call__id); tmp_6[2] = t__MgcpParLocConnOpt(CHARSTRING_template(cs_14)); tmp_6[3] = ts__MgcpParOsmuxCID(osmux__cid); } ret_val.sdp() = sdp; return ret_val; } MGCP__Types::MgcpCommand_template tr__CRCX(const CHARSTRING_template& ep, const SDP__Types::SDP__Message_template& sdp) { TTCN_Location current_location("MGCP_Templates.ttcn", 146, TTCN_Location::LOCATION_TEMPLATE, "tr_CRCX"); MGCP__Types::MgcpCommand_template ret_val; ret_val.line() = t__MgcpCmdLine(CHARSTRING_template(cs_13), CHARSTRING_template(ANY_VALUE), ep); ret_val.params() = ANY_OR_OMIT; ret_val.sdp() = sdp; return ret_val; } MGCP__Types::MgcpResponse_template ts__CRCX__ACK(const CHARSTRING& trans__id, const HEXSTRING& conn__id, const SDP__Types::SDP__Message_template& sdp) { TTCN_Location current_location("MGCP_Templates.ttcn", 172, TTCN_Location::LOCATION_TEMPLATE, "ts_CRCX_ACK"); MGCP__Types::MgcpResponse_template ret_val; { MGCP__Types::MgcpResponseLine_template& tmp_14 = ret_val.line(); tmp_14.code() = cs_11; tmp_14.trans__id() = trans__id; tmp_14.string() = cs_12; } { MGCP__Types::MgcpParameterList_template& tmp_15 = ret_val.params(); tmp_15.set_size(1); tmp_15[0] = ts__MgcpParConnectionId(conn__id); } ret_val.sdp() = sdp; return ret_val; } MGCP__Types::MgcpResponse_template ts__CRCX__ACK__osmux(const CHARSTRING& trans__id, const HEXSTRING& conn__id, const INTEGER& osmux__cid, const SDP__Types::SDP__Message_template& sdp) { TTCN_Location current_location("MGCP_Templates.ttcn", 182, TTCN_Location::LOCATION_TEMPLATE, "ts_CRCX_ACK_osmux"); MGCP__Types::MgcpResponse_template ret_val; { MGCP__Types::MgcpResponseLine_template& tmp_16 = ret_val.line(); tmp_16.code() = cs_11; tmp_16.trans__id() = trans__id; tmp_16.string() = cs_12; } { MGCP__Types::MgcpParameterList_template& tmp_17 = ret_val.params(); tmp_17.set_size(2); tmp_17[0] = ts__MgcpParConnectionId(conn__id); tmp_17[1] = ts__MgcpParOsmuxCID(osmux__cid); } ret_val.sdp() = sdp; return ret_val; } MGCP__Types::MgcpCommand_template ts__MDCX(const CHARSTRING& trans__id, const CHARSTRING& ep, const CHARSTRING& mode, const HEXSTRING& call__id, const HEXSTRING& conn__id, const SDP__Types::SDP__Message_template& sdp) { TTCN_Location current_location("MGCP_Templates.ttcn", 195, TTCN_Location::LOCATION_TEMPLATE, "ts_MDCX"); MGCP__Types::MgcpCommand_template ret_val; ret_val.line() = t__MgcpCmdLine(CHARSTRING_template(cs_15), CHARSTRING_template(trans__id), CHARSTRING_template(ep)); { MGCP__Types::MgcpParameterList_template& tmp_18 = ret_val.params(); tmp_18.set_size(4); tmp_18[0] = t__MgcpParConnMode(CHARSTRING_template(mode)); tmp_18[1] = ts__MgcpParCallId(call__id); tmp_18[2] = ts__MgcpParConnectionId(conn__id); tmp_18[3] = t__MgcpParLocConnOpt(CHARSTRING_template(cs_14)); } ret_val.sdp() = sdp; return ret_val; } MGCP__Types::MgcpCommand_template ts__MDCX__osmux(const CHARSTRING& trans__id, const CHARSTRING& ep, const CHARSTRING& mode, const HEXSTRING& call__id, const HEXSTRING& conn__id, const INTEGER& osmux__cid, const SDP__Types::SDP__Message_template& sdp) { TTCN_Location current_location("MGCP_Templates.ttcn", 207, TTCN_Location::LOCATION_TEMPLATE, "ts_MDCX_osmux"); MGCP__Types::MgcpCommand_template ret_val; ret_val.line() = t__MgcpCmdLine(CHARSTRING_template(cs_15), CHARSTRING_template(trans__id), CHARSTRING_template(ep)); { MGCP__Types::MgcpParameterList_template& tmp_19 = ret_val.params(); tmp_19.set_size(5); tmp_19[0] = t__MgcpParConnMode(CHARSTRING_template(mode)); tmp_19[1] = ts__MgcpParCallId(call__id); tmp_19[2] = ts__MgcpParConnectionId(conn__id); tmp_19[3] = t__MgcpParLocConnOpt(CHARSTRING_template(cs_14)); tmp_19[4] = ts__MgcpParOsmuxCID(osmux__cid); } ret_val.sdp() = sdp; return ret_val; } MGCP__Types::MgcpCommand_template tr__MDCX(const SDP__Types::SDP__Message_template& sdp) { TTCN_Location current_location("MGCP_Templates.ttcn", 220, TTCN_Location::LOCATION_TEMPLATE, "tr_MDCX"); MGCP__Types::MgcpCommand_template ret_val; ret_val.line() = t__MgcpCmdLine(CHARSTRING_template(cs_15), CHARSTRING_template(ANY_VALUE), CHARSTRING_template(ANY_VALUE)); ret_val.params() = ANY_OR_OMIT; ret_val.sdp() = sdp; return ret_val; } MGCP__Types::MgcpResponse_template ts__MDCX__ACK(const CHARSTRING& trans__id, const HEXSTRING& conn__id, const SDP__Types::SDP__Message_template& sdp) { TTCN_Location current_location("MGCP_Templates.ttcn", 236, TTCN_Location::LOCATION_TEMPLATE, "ts_MDCX_ACK"); MGCP__Types::MgcpResponse_template ret_val; ret_val = ts__CRCX__ACK(trans__id, conn__id, sdp); return ret_val; } MGCP__Types::MgcpResponse_template ts__MDCX__ACK__osmux(const CHARSTRING& trans__id, const HEXSTRING& conn__id, const INTEGER& osmux__cid, const SDP__Types::SDP__Message_template& sdp) { TTCN_Location current_location("MGCP_Templates.ttcn", 237, TTCN_Location::LOCATION_TEMPLATE, "ts_MDCX_ACK_osmux"); MGCP__Types::MgcpResponse_template ret_val; ret_val = ts__CRCX__ACK__osmux(trans__id, conn__id, osmux__cid, sdp); return ret_val; } MGCP__Types::MgcpCommand_template ts__DLCX(const CHARSTRING& trans__id, const CHARSTRING& ep, const HEXSTRING_template& call__id, const HEXSTRING_template& conn__id) { TTCN_Location current_location("MGCP_Templates.ttcn", 241, TTCN_Location::LOCATION_FUNCTION, "ts_DLCX"); current_location.update_lineno(243); /* MGCP_Templates.ttcn, line 243 */ MGCP__Types::MgcpCommand_template cmd; current_location.update_lineno(244); /* MGCP_Templates.ttcn, line 244 */ cmd.line() = t__MgcpCmdLine(CHARSTRING_template(cs_16), CHARSTRING_template(trans__id), CHARSTRING_template(ep)); current_location.update_lineno(245); /* MGCP_Templates.ttcn, line 245 */ cmd.params() = NULL_VALUE; current_location.update_lineno(246); /* MGCP_Templates.ttcn, line 246 */ cmd.sdp() = OMIT_VALUE; current_location.update_lineno(247); /* MGCP_Templates.ttcn, line 247 */ if (call__id.is_value()) { current_location.update_lineno(248); /* MGCP_Templates.ttcn, line 248 */ f__mgcp__par__append(cmd.params(), ts__MgcpParCallId(call__id.valueof())); current_location.update_lineno(249); /* MGCP_Templates.ttcn, line 249 */ if (conn__id.is_value()) { current_location.update_lineno(250); /* MGCP_Templates.ttcn, line 250 */ f__mgcp__par__append(cmd.params(), ts__MgcpParConnectionId(conn__id.valueof())); } } current_location.update_lineno(253); /* MGCP_Templates.ttcn, line 253 */ return cmd; } MGCP__Types::MgcpCommand_template tr__DLCX(const CHARSTRING_template& ep) { TTCN_Location current_location("MGCP_Templates.ttcn", 256, TTCN_Location::LOCATION_TEMPLATE, "tr_DLCX"); MGCP__Types::MgcpCommand_template ret_val; ret_val.line() = t__MgcpCmdLine(CHARSTRING_template(cs_16), CHARSTRING_template(ANY_VALUE), ep); ret_val.params() = ANY_OR_OMIT; ret_val.sdp() = ANY_OR_OMIT; return ret_val; } MGCP__Types::MgcpResponse_template ts__DLCX__ACK2(const CHARSTRING& trans__id) { TTCN_Location current_location("MGCP_Templates.ttcn", 272, TTCN_Location::LOCATION_TEMPLATE, "ts_DLCX_ACK2"); MGCP__Types::MgcpResponse_template ret_val; { MGCP__Types::MgcpResponseLine_template& tmp_26 = ret_val.line(); tmp_26.code() = cs_17; tmp_26.trans__id() = trans__id; tmp_26.string() = cs_12; } ret_val.params() = NULL_VALUE; ret_val.sdp() = OMIT_VALUE; return ret_val; } MGCP__Types::MgcpResponse_template ts__DLCX__ACK(const CHARSTRING& trans__id, const HEXSTRING& conn__id, const SDP__Types::SDP__Message_template& sdp) { TTCN_Location current_location("MGCP_Templates.ttcn", 284, TTCN_Location::LOCATION_TEMPLATE, "ts_DLCX_ACK"); MGCP__Types::MgcpResponse_template ret_val; ret_val = ts__CRCX__ACK(trans__id, conn__id, sdp); return ret_val; } CHARSTRING f__mgcp__addr2addrtype(const CHARSTRING& addr) { TTCN_Location current_location("MGCP_Templates.ttcn", 292, TTCN_Location::LOCATION_FUNCTION, "f_mgcp_addr2addrtype"); { current_location.update_lineno(293); /* MGCP_Templates.ttcn, line 293 */ INTEGER i(0); current_location.update_lineno(293); /* MGCP_Templates.ttcn, line 293 */ for ( ; ; ) { current_location.update_lineno(293); /* MGCP_Templates.ttcn, line 293 */ if (!(i < addr.lengthof())) break; current_location.update_lineno(294); /* MGCP_Templates.ttcn, line 294 */ if ((const_cast< const CHARSTRING&>(addr)[i] == cs_19)) { current_location.update_lineno(295); /* MGCP_Templates.ttcn, line 295 */ return cs_20; } current_location.update_lineno(293); /* MGCP_Templates.ttcn, line 293 */ { INTEGER tmp_27; ++i; } } } current_location.update_lineno(298); /* MGCP_Templates.ttcn, line 298 */ return cs_21; } CHARSTRING f__mgcp__osmux__cid__encode(const INTEGER& osmux__cid) { TTCN_Location current_location("MGCP_Templates.ttcn", 302, TTCN_Location::LOCATION_FUNCTION, "f_mgcp_osmux_cid_encode"); current_location.update_lineno(303); /* MGCP_Templates.ttcn, line 303 */ if ((osmux__cid == -1)) { current_location.update_lineno(304); /* MGCP_Templates.ttcn, line 304 */ return cs_22; } current_location.update_lineno(306); /* MGCP_Templates.ttcn, line 306 */ return int2str(osmux__cid); } INTEGER f__mgcp__osmux__cid__decode(const CHARSTRING& osmux__cid) { TTCN_Location current_location("MGCP_Templates.ttcn", 309, TTCN_Location::LOCATION_FUNCTION, "f_mgcp_osmux_cid_decode"); current_location.update_lineno(310); /* MGCP_Templates.ttcn, line 310 */ if ((osmux__cid == cs_22)) { current_location.update_lineno(311); /* MGCP_Templates.ttcn, line 311 */ return -1; } current_location.update_lineno(313); /* MGCP_Templates.ttcn, line 313 */ return str2int(osmux__cid); } BOOLEAN f__mgcp__contains__par(const MGCP__Types::MgcpMessage& msg, const CHARSTRING& code) { TTCN_Location current_location("MGCP_Templates.ttcn", 316, TTCN_Location::LOCATION_FUNCTION, "f_mgcp_contains_par"); current_location.update_lineno(317); /* MGCP_Templates.ttcn, line 317 */ MGCP__Types::MgcpParameterList pars; current_location.update_lineno(318); /* MGCP_Templates.ttcn, line 318 */ if (msg.ischosen(MGCP__Types::MgcpMessage::ALT_command)) { current_location.update_lineno(319); /* MGCP_Templates.ttcn, line 319 */ pars = const_cast< const MGCP__Types::MgcpMessage&>(msg).command().params(); } else { current_location.update_lineno(321); /* MGCP_Templates.ttcn, line 321 */ pars = const_cast< const MGCP__Types::MgcpMessage&>(msg).response().params(); } { current_location.update_lineno(323); /* MGCP_Templates.ttcn, line 323 */ INTEGER i(0); current_location.update_lineno(323); /* MGCP_Templates.ttcn, line 323 */ for ( ; ; ) { current_location.update_lineno(323); /* MGCP_Templates.ttcn, line 323 */ if (!(i < pars.lengthof())) break; current_location.update_lineno(324); /* MGCP_Templates.ttcn, line 324 */ MGCP__Types::MgcpParameter par(const_cast< const MGCP__Types::MgcpParameterList&>(pars)[i]); current_location.update_lineno(325); /* MGCP_Templates.ttcn, line 325 */ if ((const_cast< const MGCP__Types::MgcpParameter&>(par).code() == code)) { current_location.update_lineno(326); /* MGCP_Templates.ttcn, line 326 */ return TRUE; } current_location.update_lineno(323); /* MGCP_Templates.ttcn, line 323 */ { INTEGER tmp_30; ++i; } } } current_location.update_lineno(329); /* MGCP_Templates.ttcn, line 329 */ return FALSE; } CHARSTRING f__mgcp__extract__par(const MGCP__Types::MgcpMessage& msg, const CHARSTRING& code) { TTCN_Location current_location("MGCP_Templates.ttcn", 332, TTCN_Location::LOCATION_FUNCTION, "f_mgcp_extract_par"); current_location.update_lineno(333); /* MGCP_Templates.ttcn, line 333 */ MGCP__Types::MgcpParameterList pars; current_location.update_lineno(334); /* MGCP_Templates.ttcn, line 334 */ if (msg.ischosen(MGCP__Types::MgcpMessage::ALT_command)) { current_location.update_lineno(335); /* MGCP_Templates.ttcn, line 335 */ pars = const_cast< const MGCP__Types::MgcpMessage&>(msg).command().params(); } else { current_location.update_lineno(337); /* MGCP_Templates.ttcn, line 337 */ pars = const_cast< const MGCP__Types::MgcpMessage&>(msg).response().params(); } { current_location.update_lineno(339); /* MGCP_Templates.ttcn, line 339 */ INTEGER i(0); current_location.update_lineno(339); /* MGCP_Templates.ttcn, line 339 */ for ( ; ; ) { current_location.update_lineno(339); /* MGCP_Templates.ttcn, line 339 */ if (!(i < pars.lengthof())) break; current_location.update_lineno(340); /* MGCP_Templates.ttcn, line 340 */ MGCP__Types::MgcpParameter par(const_cast< const MGCP__Types::MgcpParameterList&>(pars)[i]); current_location.update_lineno(341); /* MGCP_Templates.ttcn, line 341 */ if ((const_cast< const MGCP__Types::MgcpParameter&>(par).code() == code)) { current_location.update_lineno(342); /* MGCP_Templates.ttcn, line 342 */ return const_cast< const MGCP__Types::MgcpParameter&>(par).val()(); } current_location.update_lineno(339); /* MGCP_Templates.ttcn, line 339 */ { INTEGER tmp_33; ++i; } } } current_location.update_lineno(345); /* MGCP_Templates.ttcn, line 345 */ TTCN_Runtime::setverdict(FAIL,(TTCN_Logger::begin_event_log2str(),TTCN_Logger::log_event_str("Could not extract parameters for code "),code.log(),TTCN_Logger::end_event_log2str())); current_location.update_lineno(346); /* MGCP_Templates.ttcn, line 346 */ return cs_23; } CHARSTRING f__MgcpResp__extract__par(const MGCP__Types::MgcpResponse& resp, const CHARSTRING& code) { TTCN_Location current_location("MGCP_Templates.ttcn", 349, TTCN_Location::LOCATION_FUNCTION, "f_MgcpResp_extract_par"); current_location.update_lineno(350); /* MGCP_Templates.ttcn, line 350 */ MGCP__Types::MgcpMessage msg; msg.response() = resp; current_location.update_lineno(353); /* MGCP_Templates.ttcn, line 353 */ return f__mgcp__extract__par(msg, code); } CHARSTRING f__MgcpCmd__extract__par(const MGCP__Types::MgcpCommand& cmd, const CHARSTRING& code) { TTCN_Location current_location("MGCP_Templates.ttcn", 356, TTCN_Location::LOCATION_FUNCTION, "f_MgcpCmd_extract_par"); current_location.update_lineno(357); /* MGCP_Templates.ttcn, line 357 */ MGCP__Types::MgcpMessage msg; msg.command() = cmd; current_location.update_lineno(360); /* MGCP_Templates.ttcn, line 360 */ return f__mgcp__extract__par(msg, code); } BOOLEAN f__MgcpCmd__contains__par(const MGCP__Types::MgcpCommand& cmd, const CHARSTRING& code) { TTCN_Location current_location("MGCP_Templates.ttcn", 363, TTCN_Location::LOCATION_FUNCTION, "f_MgcpCmd_contains_par"); current_location.update_lineno(364); /* MGCP_Templates.ttcn, line 364 */ MGCP__Types::MgcpMessage msg; msg.command() = cmd; current_location.update_lineno(367); /* MGCP_Templates.ttcn, line 367 */ return f__mgcp__contains__par(msg, code); } HEXSTRING f__MgcpResp__extract__conn__id(const MGCP__Types::MgcpResponse& resp) { TTCN_Location current_location("MGCP_Templates.ttcn", 370, TTCN_Location::LOCATION_FUNCTION, "f_MgcpResp_extract_conn_id"); current_location.update_lineno(371); /* MGCP_Templates.ttcn, line 371 */ return str2hex(f__MgcpResp__extract__par(resp, cs_5)); } HEXSTRING f__MgcpCmd__extract__call__id(const MGCP__Types::MgcpCommand& cmd) { TTCN_Location current_location("MGCP_Templates.ttcn", 374, TTCN_Location::LOCATION_FUNCTION, "f_MgcpCmd_extract_call_id"); current_location.update_lineno(375); /* MGCP_Templates.ttcn, line 375 */ return str2hex(f__MgcpCmd__extract__par(cmd, cs_1)); } HEXSTRING f__MgcpCmd__extract__conn__id(const MGCP__Types::MgcpCommand& cmd) { TTCN_Location current_location("MGCP_Templates.ttcn", 378, TTCN_Location::LOCATION_FUNCTION, "f_MgcpCmd_extract_conn_id"); current_location.update_lineno(379); /* MGCP_Templates.ttcn, line 379 */ return str2hex(f__MgcpCmd__extract__par(cmd, cs_5)); } INTEGER f__MgcpCmd__extract__osmux__cid(const MGCP__Types::MgcpCommand& cmd) { TTCN_Location current_location("MGCP_Templates.ttcn", 382, TTCN_Location::LOCATION_FUNCTION, "f_MgcpCmd_extract_osmux_cid"); current_location.update_lineno(383); /* MGCP_Templates.ttcn, line 383 */ return f__mgcp__osmux__cid__decode(f__MgcpCmd__extract__par(cmd, cs_6)); } CHARSTRING f__mgcp__alloc__tid() { TTCN_Location current_location("MGCP_Templates.ttcn", 387, TTCN_Location::LOCATION_FUNCTION, "f_mgcp_alloc_tid"); current_location.update_lineno(388); /* MGCP_Templates.ttcn, line 388 */ return int2str(float2int((rnd() * 2.147483647e9))); } HEXSTRING f__mgcp__alloc__call__id() { TTCN_Location current_location("MGCP_Templates.ttcn", 391, TTCN_Location::LOCATION_FUNCTION, "f_mgcp_alloc_call_id"); current_location.update_lineno(392); /* MGCP_Templates.ttcn, line 392 */ return int2hex(float2int((rnd() * 2.147483647e9)), 8); } HEXSTRING f__mgcp__alloc__conn__id() { TTCN_Location current_location("MGCP_Templates.ttcn", 395, TTCN_Location::LOCATION_FUNCTION, "f_mgcp_alloc_conn_id"); current_location.update_lineno(396); /* MGCP_Templates.ttcn, line 396 */ return int2hex(float2int((rnd() * 2.147483647e9)), 8); } BOOLEAN f__mgcp__find__param__entry(const MGCP__Types::MgcpParameterList& pars, const CHARSTRING& code, CHARSTRING& ret) { TTCN_Location current_location("MGCP_Templates.ttcn", 413, TTCN_Location::LOCATION_FUNCTION, "f_mgcp_find_param_entry"); { current_location.update_lineno(415); /* MGCP_Templates.ttcn, line 415 */ INTEGER i(0); current_location.update_lineno(415); /* MGCP_Templates.ttcn, line 415 */ for ( ; ; ) { current_location.update_lineno(415); /* MGCP_Templates.ttcn, line 415 */ if (!(i < pars.size_of())) break; current_location.update_lineno(416); /* MGCP_Templates.ttcn, line 416 */ if ((const_cast< const MGCP__Types::MgcpParameterList&>(pars)[i].code() == code)) { current_location.update_lineno(417); /* MGCP_Templates.ttcn, line 417 */ ret = const_cast< const MGCP__Types::MgcpParameterList&>(pars)[i].val(); current_location.update_lineno(418); /* MGCP_Templates.ttcn, line 418 */ return TRUE; } current_location.update_lineno(415); /* MGCP_Templates.ttcn, line 415 */ { INTEGER tmp_36; ++i; } } } current_location.update_lineno(421); /* MGCP_Templates.ttcn, line 421 */ return FALSE; } BOOLEAN f__mgcp__find__param(const MGCP__Types::MgcpMessage& msg, const CHARSTRING& code, CHARSTRING& ret) { TTCN_Location current_location("MGCP_Templates.ttcn", 424, TTCN_Location::LOCATION_FUNCTION, "f_mgcp_find_param"); current_location.update_lineno(426); /* MGCP_Templates.ttcn, line 426 */ MGCP__Types::MgcpParameterList pars; current_location.update_lineno(427); /* MGCP_Templates.ttcn, line 427 */ if (msg.ischosen(MGCP__Types::MgcpMessage::ALT_command)) { current_location.update_lineno(428); /* MGCP_Templates.ttcn, line 428 */ pars = const_cast< const MGCP__Types::MgcpMessage&>(msg).command().params(); } else { current_location.update_lineno(430); /* MGCP_Templates.ttcn, line 430 */ pars = const_cast< const MGCP__Types::MgcpMessage&>(msg).response().params(); } current_location.update_lineno(432); /* MGCP_Templates.ttcn, line 432 */ CHARSTRING tmp_39; BOOLEAN tmp_40 = f__mgcp__find__param__entry(pars, code, tmp_39); if (tmp_39.is_bound()) ret = tmp_39; return tmp_40; } /* Bodies of static functions */ void pre_init_module() { TTCN_Location current_location("MGCP_Templates.ttcn", 0, TTCN_Location::LOCATION_UNKNOWN, "MGCP_Templates"); MGCP__Types::module_object.pre_init_module(); SDP__Templates::module_object.pre_init_module(); module_object.add_function("f_mgcp_par_append", (genericfunc_t)&f__mgcp__par__append, NULL); module_object.add_function("ts_DLCX", (genericfunc_t)&ts__DLCX, NULL); module_object.add_function("f_mgcp_addr2addrtype", (genericfunc_t)&f__mgcp__addr2addrtype, NULL); module_object.add_function("f_mgcp_osmux_cid_encode", (genericfunc_t)&f__mgcp__osmux__cid__encode, NULL); module_object.add_function("f_mgcp_osmux_cid_decode", (genericfunc_t)&f__mgcp__osmux__cid__decode, NULL); module_object.add_function("f_mgcp_contains_par", (genericfunc_t)&f__mgcp__contains__par, NULL); module_object.add_function("f_mgcp_extract_par", (genericfunc_t)&f__mgcp__extract__par, NULL); module_object.add_function("f_MgcpResp_extract_par", (genericfunc_t)&f__MgcpResp__extract__par, NULL); module_object.add_function("f_MgcpCmd_extract_par", (genericfunc_t)&f__MgcpCmd__extract__par, NULL); module_object.add_function("f_MgcpCmd_contains_par", (genericfunc_t)&f__MgcpCmd__contains__par, NULL); module_object.add_function("f_MgcpResp_extract_conn_id", (genericfunc_t)&f__MgcpResp__extract__conn__id, NULL); module_object.add_function("f_MgcpCmd_extract_call_id", (genericfunc_t)&f__MgcpCmd__extract__call__id, NULL); module_object.add_function("f_MgcpCmd_extract_conn_id", (genericfunc_t)&f__MgcpCmd__extract__conn__id, NULL); module_object.add_function("f_MgcpCmd_extract_osmux_cid", (genericfunc_t)&f__MgcpCmd__extract__osmux__cid, NULL); module_object.add_function("f_mgcp_alloc_tid", (genericfunc_t)&f__mgcp__alloc__tid, NULL); module_object.add_function("f_mgcp_alloc_call_id", (genericfunc_t)&f__mgcp__alloc__call__id, NULL); module_object.add_function("f_mgcp_alloc_conn_id", (genericfunc_t)&f__mgcp__alloc__conn__id, NULL); module_object.add_function("f_mgcp_find_param_entry", (genericfunc_t)&f__mgcp__find__param__entry, NULL); module_object.add_function("f_mgcp_find_param", (genericfunc_t)&f__mgcp__find__param, NULL); } void post_init_module() { TTCN_Location current_location("MGCP_Templates.ttcn", 0, TTCN_Location::LOCATION_UNKNOWN, "MGCP_Templates"); MGCP__Types::module_object.post_init_module(); SDP__Templates::module_object.post_init_module(); current_location.update_lineno(71); /* MGCP_Templates.ttcn, line 71 */ template_ts__MgcpResp__Err_string_defval = cs_8; current_location.update_lineno(104); /* MGCP_Templates.ttcn, line 104 */ { MGCP__Types::MgcpResponseLine_template& tmp_3 = template_tr__AUEP__ACK.line(); tmp_3.code() = cs_11; tmp_3.trans__id() = ANY_VALUE; tmp_3.string() = cs_12; } template_tr__AUEP__ACK.params() = ANY_OR_OMIT; template_tr__AUEP__ACK.sdp() = OMIT_VALUE; current_location.update_lineno(114); /* MGCP_Templates.ttcn, line 114 */ template_ts__CRCX_sdp_defval = OMIT_VALUE; current_location.update_lineno(125); /* MGCP_Templates.ttcn, line 125 */ template_ts__CRCX__no__lco_sdp_defval = OMIT_VALUE; current_location.update_lineno(134); /* MGCP_Templates.ttcn, line 134 */ template_ts__CRCX__osmux_sdp_defval = OMIT_VALUE; current_location.update_lineno(146); /* MGCP_Templates.ttcn, line 146 */ template_tr__CRCX_ep_defval = ANY_VALUE; current_location.update_lineno(146); /* MGCP_Templates.ttcn, line 146 */ template_tr__CRCX_sdp_defval = ANY_OR_OMIT; current_location.update_lineno(152); /* MGCP_Templates.ttcn, line 152 */ { MGCP__Types::MgcpResponseLine_template& tmp_7 = template_tr__CRCX__ACK.line(); tmp_7.code() = cs_11; tmp_7.trans__id() = ANY_VALUE; tmp_7.string() = cs_12; } { MGCP__Types::MgcpParameterList_template& tmp_8 = template_tr__CRCX__ACK.params(); tmp_8.set_size(2); { MGCP__Types::MgcpParameter_template& tmp_9 = tmp_8[0]; tmp_9.code() = cs_5; tmp_9.val() = ANY_VALUE; } tmp_8[1] = ANY_OR_OMIT; } template_tr__CRCX__ACK.sdp() = ANY_VALUE; current_location.update_lineno(162); /* MGCP_Templates.ttcn, line 162 */ { MGCP__Types::MgcpResponseLine_template& tmp_10 = template_tr__CRCX__ACK__osmux.line(); tmp_10.code() = cs_11; tmp_10.trans__id() = ANY_VALUE; tmp_10.string() = cs_12; } { MGCP__Types::MgcpParameterList_template& tmp_11 = template_tr__CRCX__ACK__osmux.params(); tmp_11.set_size(3); { MGCP__Types::MgcpParameter_template& tmp_12 = tmp_11[0]; tmp_12.code() = cs_5; tmp_12.val() = ANY_VALUE; } { MGCP__Types::MgcpParameter_template& tmp_13 = tmp_11[1]; tmp_13.code() = cs_6; tmp_13.val() = ANY_VALUE; } tmp_11[2] = ANY_OR_OMIT; } template_tr__CRCX__ACK__osmux.sdp() = ANY_VALUE; current_location.update_lineno(172); /* MGCP_Templates.ttcn, line 172 */ template_ts__CRCX__ACK_sdp_defval = OMIT_VALUE; current_location.update_lineno(182); /* MGCP_Templates.ttcn, line 182 */ template_ts__CRCX__ACK__osmux_sdp_defval = OMIT_VALUE; current_location.update_lineno(195); /* MGCP_Templates.ttcn, line 195 */ template_ts__MDCX_sdp_defval = OMIT_VALUE; current_location.update_lineno(207); /* MGCP_Templates.ttcn, line 207 */ template_ts__MDCX__osmux_sdp_defval = OMIT_VALUE; current_location.update_lineno(220); /* MGCP_Templates.ttcn, line 220 */ template_tr__MDCX_sdp_defval = ANY_OR_OMIT; current_location.update_lineno(226); /* MGCP_Templates.ttcn, line 226 */ { MGCP__Types::MgcpResponseLine_template& tmp_20 = template_tr__MDCX__ACK.line(); tmp_20.code() = cs_11; tmp_20.trans__id() = ANY_VALUE; tmp_20.string() = cs_12; } template_tr__MDCX__ACK.params() = ANY_OR_OMIT; template_tr__MDCX__ACK.sdp() = ANY_VALUE; current_location.update_lineno(236); /* MGCP_Templates.ttcn, line 236 */ template_ts__MDCX__ACK_sdp_defval = OMIT_VALUE; current_location.update_lineno(237); /* MGCP_Templates.ttcn, line 237 */ template_ts__MDCX__ACK__osmux_sdp_defval = OMIT_VALUE; current_location.update_lineno(241); /* MGCP_Templates.ttcn, line 241 */ template_ts__DLCX_call__id_defval = OMIT_VALUE; current_location.update_lineno(242); /* MGCP_Templates.ttcn, line 242 */ template_ts__DLCX_conn__id_defval = OMIT_VALUE; current_location.update_lineno(256); /* MGCP_Templates.ttcn, line 256 */ template_tr__DLCX_ep_defval = ANY_VALUE; current_location.update_lineno(262); /* MGCP_Templates.ttcn, line 262 */ { MGCP__Types::MgcpResponseLine_template& tmp_24 = template_tr__DLCX__ACK.line(); { CHARSTRING_template& tmp_25 = tmp_24.code(); tmp_25.set_type(VALUE_LIST, 2); tmp_25.list_item(0) = cs_11; tmp_25.list_item(1) = cs_17; } tmp_24.trans__id() = ANY_VALUE; tmp_24.string() = cs_12; } template_tr__DLCX__ACK.params() = ANY_OR_OMIT; template_tr__DLCX__ACK.sdp() = ANY_OR_OMIT; current_location.update_lineno(284); /* MGCP_Templates.ttcn, line 284 */ template_ts__DLCX__ACK_sdp_defval = OMIT_VALUE; current_location.update_lineno(286); /* MGCP_Templates.ttcn, line 286 */ template_tr__RSIP.line() = t__MgcpCmdLine(CHARSTRING_template(cs_18), CHARSTRING_template(ANY_VALUE), CHARSTRING_template(ANY_VALUE)); template_tr__RSIP.params() = ANY_OR_OMIT; template_tr__RSIP.sdp() = ANY_OR_OMIT; current_location.update_lineno(400); /* MGCP_Templates.ttcn, line 400 */ template_tr__MgcpVerb__ConnectionOriented.set_type(VALUE_LIST, 4); template_tr__MgcpVerb__ConnectionOriented.list_item(0) = cs_13; template_tr__MgcpVerb__ConnectionOriented.list_item(1) = cs_15; template_tr__MgcpVerb__ConnectionOriented.list_item(2) = cs_16; template_tr__MgcpVerb__ConnectionOriented.list_item(3) = cs_24; current_location.update_lineno(402); /* MGCP_Templates.ttcn, line 402 */ { MGCP__Types::MgcpCommandLine_template& tmp_34 = template_tr__MgcpCommand__CO.line(); tmp_34.verb() = tr__MgcpVerb__ConnectionOriented; tmp_34.trans__id() = ANY_VALUE; tmp_34.ep() = ANY_VALUE; tmp_34.ver() = ANY_VALUE; } template_tr__MgcpCommand__CO.params() = ANY_OR_OMIT; template_tr__MgcpCommand__CO.sdp() = ANY_OR_OMIT; current_location.update_lineno(436); /* MGCP_Templates.ttcn, line 436 */ template_t__MGCP__EP__wildcard.set_type(VALUE_LIST, 2); template_t__MGCP__EP__wildcard.list_item(0) = CHARSTRING_template(STRING_PATTERN, (CHARSTRING)cs_25, FALSE); template_t__MGCP__EP__wildcard.list_item(1) = CHARSTRING_template(STRING_PATTERN, (CHARSTRING)cs_26, FALSE); } } /* end of namespace */