Rev

Rev 549 | Details | Compare with Previous | Last modification | View Log | SVN | Bug Tracker

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