Rev

Rev 549 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | Bug Tracker

Rev 549 Rev 599
Line 2... Line 2...
2
 *      @author         STF 406
2
 * @author STF 406
3
 *  @version    $Id: LibSip_SimpleMsgSummaryTypes.ttcn 488 2010-11-08 10:17:19Z pintar $
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.
4
 * @desc This module provides the SMS type system for SIP tests. This module is part of LibSipV2.
5
 *                              This module is part of LibSipV2.
-
 
6
 */
5
 */
7
module LibSip_SimpleMsgSummaryTypes { // RFC 3842
6
module LibSip_SimpleMsgSummaryTypes {
8
   
7
    // RFC 3842
9
    group SMSConstants{
8
    group SMSConstants {
10
9
11
        // IMS ETSI name MWI application
10
        // IMS ETSI name MWI application
12
        const charstring c_imsEtsiMwiApplication := "application/simple-message-summary";
11
        const charstring c_imsEtsiMwiApplication := "application/simple-message-summary";
13
       
12
Line 22... Line 21...
22
   
21
23
    }
22
    }
24
   
23
25
    group SMSTypes{
24
    group SMSTypes {
26
                   //TODO add (SMS sms) into type union MessageBody{ in module LibSIPTypesAndValues
25
        // TODO add (SMS sms) into type union MessageBody{ in module LibSIPTypesAndValues
27
       
-
 
28
        type record SimpleMsgSummary { //Simple_message_summary
26
        type record SimpleMsgSummary {
-
 
27
            // Simple_message_summary
29
            Msg_status_line msg_status_line,
28
            Msg_status_line msg_status_line,
30
            Msg_account msg_account optional,
29
            Msg_account msg_account optional,
31
            Msg_summary_line_list msg_summary_line_list optional,
30
            Msg_summary_line_list msg_summary_line_list optional,
32
            Opt_msg_headers opt_msg_headers optional       
31
            Opt_msg_headers opt_msg_headers optional
33
        }
32
        }
Line 49... Line 48...
49
            charstring msgs,
48
            charstring msgs,
50
            charstring urgent_msgs optional
49
            charstring urgent_msgs optional
51
        }
50
        }
52
       
51
53
        type set of charstring Opt_msg_headers;
52
        type set of charstring Opt_msg_headers;
-
 
53
54
   
54
55
        //type integer msgcount length(1); //msgs and urgent_msgs can be dividet into subtypes
55
    // type integer msgcount length(1); //msgs and urgent_msgs can be dividet into subtypes
56
    }
56
    }
57
   
-
 
58
-
 
59
}
57
}