OVERVIEW   INDEX   DEPRECATED   HELP   CORRESPONDENCES   |
|
| Constants Summary | |
|---|---|
| tsc_SDP_Sessionname | |
| tsc_CODEC_AMR_8000_1 | |
| tsc_CODEC_AMR_16000_1 | |
| tsc_Fmtp_DefaultParameters | |
| tsc_SDP_AnyFormat | |
const charstring tsc_SDP_Sessionname := "IMS conformance test"
const charstring tsc_CODEC_AMR_8000_1 := "AMR/8000/1"
const charstring tsc_CODEC_AMR_16000_1 := "AMR-WB/16000/1"
const charstring tsc_Fmtp_DefaultParameters := "mode-change-capability=2;max-red=220"
const charstring tsc_SDP_AnyFormat := "[0-9]+"
template (value) SDP_attribute cs_SDP_Attribute_unknown(charstring p_Name,
charstring p_AttrValue) :=
{
unknown := {
name := p_Name,
attr_value := p_AttrValue
}
};
template (present) SDP_attribute cr_SDP_Attribute_unknown(charstring p_Name,
charstring p_AttrValue) :=
{
unknown := {
name := p_Name,
attr_value := p_AttrValue
}
};
template (value) SDP_attribute cs_SDP_Attribute_rtpmap(charstring p_PayloadType := "97",
charstring p_Codec := tsc_CODEC_AMR_8000_1) :=
{
rtpmap := {
attr_value := fl_Concat(p_PayloadType, p_Codec)
}
};
template (present) SDP_attribute cr_SDP_Attribute_rtpmap(charstring p_PayloadTypePattern,
charstring p_CodecPattern) :=
{
rtpmap := {
attr_value := fl_ConcatPattern(p_PayloadTypePattern, p_CodecPattern)
}
};
template (value) SDP_attribute cs_SDP_Attribute_fmtp(charstring p_Format := "97",
template (omit) charstring p_FormatParameters := tsc_Fmtp_DefaultParameters) :=
{
fmtp := {
attr_value := fl_Concat(p_Format, p_FormatParameters)
}
};
template (present) SDP_attribute cr_SDP_Attribute_fmtp(charstring p_FormatPattern := "97",
template (omit) charstring p_FormatParametersPattern := omit) :=
{
fmtp := {
attr_value := fl_ConcatPattern(p_FormatPattern, p_FormatParametersPattern)
}
};
template (value) SDP_attribute cs_SDP_Attribute_group :=
{
unknown := {
name := "group",
attr_value := "SRF 1"
}
};
template (value) SDP_attribute cs_SDP_Attribute_ptime(charstring p_Value := "20") :=
{
ptime := {
attr_value := p_Value
}
};
template (present) SDP_attribute cr_SDP_Attribute_ptime(template (present) charstring p_Value := "20") :=
{
ptime := {
attr_value := p_Value
}
};
template (present) SDP_attribute cr_SDP_Attribute_inactive :=
{
inactive := ?
};
template (value) SDP_attribute cs_SDP_Attribute_maxptime(charstring p_Value := "240") :=
{
unknown := {
name := "maxptime",
attr_value := p_Value
}
};
template (present) SDP_attribute cr_SDP_Attribute_maxptime(template (present) charstring p_Value := "240") :=
{
unknown := {
name := "maxptime",
attr_value := p_Value
}
};
template (value) SDP_attribute cs_SDP_Attribute_sendrecv :=
{
sendrecv := {}
};
template (value) SDP_attribute cs_SDP_Attribute_recvOnly := {
recvonly := {}
};
template (value) SDP_attribute cs_SDP_Attribute_sendOnly :=
{
sendonly := {}
};
template (value) SDP_attribute cs_SDP_Attribute_inactive :=
{
inactive := {}
};
template (present) SDP_attribute cr_SDP_Attribute_sendrecv :=
{
sendrecv := ?
};
template (value) SDP_attribute cs_SDP_Attribute_conf_quos(charstring p_StatusType := c_remote,
charstring p_Direction := c_sendrecv) :=
{
conf := {
preconditionType := c_qos,
statusType := p_StatusType,
direction := p_Direction
}
};
template (present) SDP_attribute cr_SDP_Attribute_conf_quos(template (present) charstring p_StatusType := c_remote,
template (present) charstring p_Direction := c_sendrecv) :=
{
conf := {
preconditionType := c_qos,
statusType := p_StatusType,
direction := p_Direction
}
};
template (value) SDP_attribute cs_SDP_Attribute_curr_quos(charstring p_StatusType,
charstring p_Direction := c_none) :=
{
curr := {
preconditionType := c_qos,
statusType := p_StatusType,
direction := p_Direction
}
};
template (present) SDP_attribute cr_SDP_Attribute_curr_quos(template (present) charstring p_StatusType,
template (present) charstring p_Direction := c_none) :=
{
curr := {
preconditionType := c_qos,
statusType := p_StatusType,
direction := p_Direction
}
};
template (value) SDP_attribute cs_SDP_Attribute_des_quos(charstring p_Strength,
charstring p_StatusType,
charstring p_Direction := c_sendrecv) :=
{
des := {
preconditionType := c_qos,
strength := p_Strength,
statusType := p_StatusType,
direction := p_Direction
}
};
template (present) SDP_attribute cr_SDP_Attribute_des_quos(template (present) charstring p_Strength,
template (present) charstring p_StatusType,
template (present) charstring p_Direction := c_sendrecv) :=
{
des := {
preconditionType := c_qos,
strength := p_Strength,
statusType := p_StatusType,
direction := p_Direction
}
};
template (value) SDP_attribute_path cs_SDP_Attribute_path(charstring p_Value) := {
path_value := p_Value
}
template (value) SDP_attribute_acceptTypes cs_SDP_Attribute_acceptTypes(charstring p_Value) := {
acctype_value := p_Value
}
template (value) SDP_bandwidth cs_SDP_Bandwidth(charstring p_Modifier,
integer p_Bandwidth) :=
{
modifier := p_Modifier,
bandwidth := p_Bandwidth
};
template (present) SDP_bandwidth cr_SDP_Bandwidth(template charstring p_Modifier,
template integer p_Bandwidth) :=
{
modifier := p_Modifier,
bandwidth := p_Bandwidth
};
template (value) SDP_bandwidth_list cs_SDP_Bandwidth_List_Media(integer p_AS := 30,
integer p_RS := 0,
integer p_RR := 0) :=
{
cs_SDP_Bandwidth("AS", p_AS),
cs_SDP_Bandwidth("RS", p_RS),
cs_SDP_Bandwidth("RR", p_RR)
};
template (present) SDP_bandwidth_list cr_SDP_Bandwidth_List_Media(template (present) integer p_AS := ?,
template (present) integer p_RS := ?,
template (present) integer p_RR := ?) :=
{
cr_SDP_Bandwidth("AS", p_AS),
cr_SDP_Bandwidth("RS", p_RS),
cr_SDP_Bandwidth("RR", p_RR)
};
template (value) SDP_bandwidth_list cs_SDP_Bandwidth_List_AS (integer p_Bandwidth) :=
{
cs_SDP_Bandwidth("AS", p_Bandwidth)
};
template (present) SDP_bandwidth_list cr_SDP_Bandwidth_List_AS (template integer p_Bandwidth) :=
{
cr_SDP_Bandwidth("AS", p_Bandwidth),
*
};
template (present) SDP_bandwidth_list cr_SDP_Bandwidth_List_AS_Any :=
{
cr_SDP_Bandwidth("AS", ?),
*
};
template (value) SDP_conn_addr cs_SDP_Conn_Addr(template (value) charstring p_LocalIPAddr) :=
{
addr := p_LocalIPAddr,
ttl := omit,
num_of_addr := omit
};
template (present) SDP_conn_addr cr_SDP_Conn_Addr(template (present) charstring p_LocalIPAddr) :=
{
addr := p_LocalIPAddr,
ttl := *,
num_of_addr := *
};
template (value) SDP_connection cs_SDP_Connection(template (value) charstring p_AddrType,
template (value) charstring p_LocalIPAddr) :=
{
net_type := c_in,
addr_type := p_AddrType,
conn_addr := cs_SDP_Conn_Addr(p_LocalIPAddr)
};
template (present) SDP_connection cr_SDP_Connection(template (present) charstring p_AddrType := ?,
template (present) charstring p_LocalIPAddr := ?) :=
{
net_type := c_in,
addr_type := p_AddrType,
conn_addr := cr_SDP_Conn_Addr(p_LocalIPAddr)
};
template (value) SDP_media_field cs_SDP_Media(charstring p_Media,
integer p_LocalPort,
charstring p_Transport,
charstring p_Fmt) :=
{
media := p_Media,
ports := {
port_number := p_LocalPort,
num_of_ports := omit
},
transport := p_Transport,
fmts := {
p_Fmt
}
};
template (value) SDP_media_field cs_SDP_Media_Audio(integer p_LocalPort := tsc_IMS_MediaPort_M1,
charstring p_Transport := c_rtpAvp,
charstring p_Fmt := "97") :=
cs_SDP_Media(c_audio, p_LocalPort, p_Transport, p_Fmt);
template (value) SDP_media_field cs_SDP_Media_Text(integer p_LocalPort := tsc_IMS_MediaPort_M1,
charstring p_Transport := c_rtpAvp,
charstring p_Fmt := "99 101") :=
cs_SDP_Media(c_text, p_LocalPort, p_Transport, p_Fmt);
template (value) SDP_media_field cs_SDP_Media_Video(integer p_LocalPort := tsc_IMS_MediaPort_M2,
charstring p_Transport := c_rtpAvp,
charstring p_Fmt := "98") :=
cs_SDP_Media(c_video, p_LocalPort, p_Transport, p_Fmt);
template (present) SDP_media_field cr_SDP_Media(charstring p_Media,
template (present) integer p_LocalPort := ?,
template (present) charstring p_Transport := c_rtpAvp,
template (present) charstring p_Fmt := ?) :=
{
media := p_Media,
ports := {
port_number := p_LocalPort,
num_of_ports := omit
},
transport := p_Transport,
fmts := { p_Fmt, * }
};
template (present) SDP_media_field cr_SDP_Media_Audio(template (present) integer p_LocalPort := ?,
template (present) charstring p_Transport := c_rtpAvp,
template (present) charstring p_Fmt := ?) :=
cr_SDP_Media(c_audio, p_LocalPort, p_Transport, p_Fmt);
template (present) SDP_media_field cr_SDP_Media_Text(template (present) integer p_LocalPort := ?,
template (present) charstring p_Transport := c_rtpAvp,
template (present) charstring p_Fmt := ?) :=
cr_SDP_Media(c_text, p_LocalPort, p_Transport, p_Fmt);
template (present) SDP_media_field cr_SDP_Media_Video(template (present) integer p_LocalPort := ?,
template (present) charstring p_Transport := c_rtpAvp,
template (present) charstring p_Fmt := ?) :=
cr_SDP_Media(c_video, p_LocalPort, p_Transport, p_Fmt);
template (value) SDP_Origin cs_SDP_Origin(template (value) charstring p_AddrType,
template (value) charstring p_LocalIPAddr) :=
{
user_name := "-",
session_id := "1111111111",
session_version := "1111111111",
net_type := c_in,
addr_type := p_AddrType,
addr := p_LocalIPAddr
};
template (present) SDP_Origin cr_SDP_Origin(template (present) charstring p_AddrType,
template (present) charstring p_LocalIPAddr) :=
{
user_name := ?,
session_id := ?,
session_version := ?,
net_type := c_in,
addr_type := p_AddrType,
addr := p_LocalIPAddr
};
template (value) SDP_time cs_SDP_Time(charstring p_Start,
charstring p_Stop) :=
{
time_field := {
start_time := p_Start,
stop_time := p_Stop
},
time_repeat := omit
};
template (value) SDP_time cs_SDP_Time_0_0 := cs_SDP_Time("0", "0");
template (present) SDP_time cr_SDP_Time(template (present) charstring p_Start,
template (present) charstring p_Stop) :=
{
time_field := {
start_time := p_Start,
stop_time := p_Stop
},
time_repeat := omit
};
template (present) SDP_time cr_SDP_Time_0_0 := cr_SDP_Time("0", "0");
template (present) SDP_time cr_SDP_Time_Any := cr_SDP_Time(?, ?);
template (value) SDP_media_desc cs_SDP_Media_Desc(template (value) SDP_media_field p_SDP_Media_Field,
template (value) SDP_bandwidth_list p_SDP_Bandwidth_List,
template (omit) SDP_attribute_list p_SDP_Attribute_List,
template (omit) SDP_connection_list p_SDP_Connection_List := omit) :=
{
media_field := p_SDP_Media_Field,
information := omit,
connections := p_SDP_Connection_List,
bandwidth := p_SDP_Bandwidth_List,
key := omit,
attributes := p_SDP_Attribute_List
};
template (present) SDP_media_desc cr_SDP_Media_Desc(template (present) SDP_media_field p_SDP_Media_Field,
template SDP_connection p_SDP_Connection,
template SDP_bandwidth_list p_SDP_Bandwidth_List,
template SDP_attribute_list p_SDP_Attribute_List) :=
{
media_field := p_SDP_Media_Field,
information := omit,
connections := { p_SDP_Connection, * } ifpresent,
bandwidth := p_SDP_Bandwidth_List,
key := omit,
attributes := p_SDP_Attribute_List
};
template (value) SDP_Message cs_SDP_Message_Common(charstring p_AddrType,
charstring p_LocalIPAddr,
charstring p_Sessionname := tsc_SDP_Sessionname,
template (value) SDP_bandwidth_list p_Bandwidth := cs_SDP_Bandwidth_List_AS(30),
template (value) SDP_time p_Time := cs_SDP_Time_0_0,
template (omit) SDP_media_desc_list p_SDP_Media_Desc_List := omit) :=
{
protocol_version := 0,
origin := cs_SDP_Origin(p_AddrType, p_LocalIPAddr),
session_name := p_Sessionname,
information := omit,
uri := omit,
emails := omit,
phone_numbers := omit,
connection := cs_SDP_Connection(p_AddrType, p_LocalIPAddr),
bandwidth := p_Bandwidth,
times := { p_Time },
timezone_adjustments := omit,
key := omit,
attributes := {{acc_types := cs_SDP_Attribute_acceptTypes("text/plain")}, {path := cs_SDP_Attribute_path(ixit_TS_ADDRESS_USER_B)}},
media_list := p_SDP_Media_Desc_List
};
template (value) SDP_Message cs_SDP_Message_Def(charstring p_AddrType,
charstring p_LocalIPAddr,
charstring p_Sessionname := tsc_SDP_Sessionname,
template (value) SDP_media_desc p_SDP_Media_Desc) :=
cs_SDP_Message_Common(p_AddrType, p_LocalIPAddr, p_Sessionname, -, -, { p_SDP_Media_Desc });
template (present) SDP_Message cr_SDP_Message_Common(template (present) charstring p_AddrType := ?,
template (present) charstring p_LocalIPAddr := ?,
template (present) charstring p_Sessionname := ?,
template (present) SDP_bandwidth_list p_Bandwidth := cr_SDP_Bandwidth_List_AS(?),
template (present) SDP_time p_Time := cr_SDP_Time_0_0,
template SDP_media_desc_list p_SDP_Media_Desc_List := *) :=
{
protocol_version := 0,
origin := cr_SDP_Origin(p_AddrType, p_LocalIPAddr),
session_name := p_Sessionname,
information := omit,
uri := omit,
emails := omit,
phone_numbers := omit,
connection := cr_SDP_Connection(p_AddrType, p_LocalIPAddr) ifpresent,
bandwidth := *,
times := { p_Time },
timezone_adjustments := omit,
key := omit,
attributes := {{acc_types := cs_SDP_Attribute_acceptTypes("text/plain")}, {path := cs_SDP_Attribute_path(ixit_SUT_ADDRESS)}},
media_list := p_SDP_Media_Desc_List
};
template (present) SDP_Message cr_SDP_Message_Def(template (present) charstring p_AddrType := ?,
template (present) charstring p_LocalIPAddr := ?,
template (present) SDP_media_desc p_SDP_Media_Desc) :=
cr_SDP_Message_Common(p_AddrType, p_LocalIPAddr, -, -, -, { p_SDP_Media_Desc });
template (present) SDP_Message cr_SDP_Message_AnySession(template (present) charstring p_AddrType := ?,
template (present) charstring p_LocalIPAddr := ?,
template (present) SDP_media_desc p_SDP_Media_Desc) :=
cr_SDP_Message_Common(p_AddrType, p_LocalIPAddr, ?, -, cr_SDP_Time_Any, { p_SDP_Media_Desc });
function f_SDP_Attributes_Add_TX(template (omit) SDP_attribute_list p_SDP_Attribute_List,
template (omit) SDP_attribute p_SDP_Attribute) return template (omit) SDP_attribute_list
function f_SDP_ExchangeAttribute(template (omit) SDP_attribute_list p_AttributeList,
template (present) SDP_attribute p_AttributeToBeChanged,
template (value) SDP_attribute p_NewAttribute) return template (omit) SDP_attribute_list
function f_SDP_AttributeList_GetAttribute(template (omit) SDP_attribute_list p_AttributeList,
template (present) SDP_attribute p_Attribute) return template (omit) SDP_attribute
function f_SDP_AttributeList_CheckAttribute(template (omit) SDP_attribute_list p_AttributeList,
template (present) SDP_attribute p_Attribute) return boolean
function fl_Concat(charstring p_String1,
template (omit) charstring p_String2) return charstring
function fl_ConcatPattern(charstring p_String1,
template (omit) charstring p_String2) return template (present) charstring
function f_IMS_BuildSDP_AnnexC11_Step1or7(charstring p_Step,
charstring p_AddrType,
charstring p_LocalIPAddr,
template (value) SDP_attribute p_SDP_Attribute_curr_quos_remote := cs_SDP_Attribute_curr_quos(c_remote))
return template (value) SDP_Message
function f_IMS_BuildSDP_AnnexC11_Step4or8(charstring p_Step,
template (present) charstring p_AddrType := ?,
template (present) charstring p_LocalIPAddr := ?)
return template (present) SDP_Message
function f_IMS_BuildSDP_AnnexC21_Step2(template (present) charstring p_AddrType := ?,
template (present) charstring p_LocalIPAddr := ?)
return template (present) SDP_Message
function f_IMS_BuildSDP_AnnexC21_Step4(charstring p_AddrType,
charstring p_LocalIPAddr,
charstring p_Format,
charstring p_Fmt,
charstring p_PayloadType,
charstring p_Sessionname := tsc_SDP_Sessionname,
charstring p_Media_Transport := c_rtpAvp)
return template (value) SDP_Message
function f_IMS_BuildSDP_AnnexC21_Step5or7(template (present) charstring p_AddrType := ?,
template (present) charstring p_LocalIPAddr := ?)
return template (present) SDP_Message
function f_IMS_BuildSDP_AnnexC21_Step6or8(SDP_Message p_SDP_Message_Step5or7,
charstring p_AddrType,
charstring p_LocalIPAddr)
return template (value) SDP_Message
function f_IMS_BuildSDP_AnnexC22_Step1(template (present) charstring p_AddrType := ?,
template (present) charstring p_LocalIPAddr := ? )
return template (present) SDP_Message
function f_IMS_BuildSDP_AnnexC22_Step4(charstring p_Sessionname := tsc_SDP_Sessionname,
charstring p_AddrType,
charstring p_LocalIPAddr,
charstring p_Format,
charstring p_Fmt,
charstring p_PayloadType)
return template (value) SDP_Message