Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/**
* @author STF 406
* @version $Id: LibSip_SMSTypes.ttcn 488 2010-11-08 10:17:19Z pintar $
* @desc This module provides the SMS type system for SIP tests.
*/
module LibSip_SimpleMsgSummaryTypes language "TTCN-3:2009" { // RFC 3842
group SMSConstants{
// IMS ETSI name MWI application
const charstring c_imsEtsiMwiApplication := "application/simple-message-summary";
// msg_status line := "Message-Waiting"
const charstring c_messageWaiting := "Message-Waiting";
// msg_summary line := "Voice-Message"
const charstring c_voiceMessage := "Voice-Message";
}
group SMSTypes{
//TODO add (SMS sms) into type union MessageBody{ in module LibSIPTypesAndValues
type record SimpleMsgSummary { //Simple_message_summary
Msg_status_line msg_status_line,
Msg_account msg_account optional,
Msg_summary_line_list msg_summary_line_list optional,
Opt_msg_headers opt_msg_headers optional
}
type record Msg_status_line {
charstring msg_type,
charstring msg_status
}
type record Msg_account {
charstring msg_type_account,
charstring account_URI
}
type set of Msg_summary_line Msg_summary_line_list;
type record Msg_summary_line {
charstring msg_context_class,
charstring msgs,
charstring urgent_msgs optional
}
type set of charstring Opt_msg_headers;
//type integer msgcount length(1); //msgs and urgent_msgs can be dividet into subtypes
}
} /* end module LibSip_XMLTypes */