source: trunk/ETSI-Testsuites/ETSI_auto_IOT/codec/validation/LibSip_PIXITS.ttcn @ 26

Last change on this file since 26 was 22, checked in by rings, 14 years ago
  • Property svn:executable set to *
File size: 12.3 KB
Line 
1/*
2 *      @author         STF 346, STF366, STF368, STF369
3 *  @version    $Id: LibSip_PIXITS.ttcn 256 2009-05-08 08:16:58Z pintar $
4 *      @desc           This module provides the types used by the test component
5 *              for SIP-IMS tests. Module become from STF306 and STF334-336
6 *  NOTE:               PIXITS in folowing groups can be ignored if this information
7 *                      is provided in other modules of the ATS that uses this SIP library
8 *                              - Ports_and_addresses_of_the_SUT
9 *                              - PortsAndAddressesOfTheTS1
10 *                              - PortsAndAddressesOfTheTS2
11 *                              - PortsAndAddressesOfTheTS3
12 *                              - ParametersForHTTP_Authentication
13 */
14
15module LibSip_PIXITS language "TTCN-3:2005"//MRO
16{
17        //LibCommon
18        import from LibCommon_BasicTypesAndValues all;
19        import from LibCommon_DataStrings all;
20
21//      _____________________________ PIXIT-S_______________________________
22  group SIP_PIXITparameters{
23  group SDPParameter {
24          modulepar {
25
26          /** @desc     charstring for SDP dynamic port
27          */
28          charstring    PX_SIP_SDP_dyn := "0";
29
30          /** @desc     charstring for SDP bandwidth modifier
31          */
32          charstring    PX_SIP_SDP_b_modifier := "AS";
33
34          /** @desc     integer for SDP bandwidth value
35          */
36          integer               PX_SIP_SDP_b_bandwidth := 64;
37
38          /** @desc     charstring for SDP media attribute encoding supported by the IUT
39          */
40          charstring    PX_SIP_SDP_encoding := "PCMU/8000";
41
42          /** @desc     charstring for SDP media attribute encoding unavailable by the IUT
43          */
44          charstring    PX_SIP_SDP_encoding_unavail := "GSM/8000"; // f_Sip_TC2105_IS___xx__U18
45
46          /** @desc     charstring for SDP media attribute encoding unsupported by the IUT
47          */
48          charstring    PX_SIP_SDP_encoding_unsup := "GSM/8000"; // f_Sip_TC2105_IS___xx__U18
49
50          /** @desc     charstring for SDP media T.38 transport (used in TC2101_IS___AU__09)
51          */
52          charstring    PX_SIP_SDP_transport := "udptl";
53          } //  modulepar
54  } //group SDP Parameter
55 
56  group ISUPinterworkingParameters{
57          modulepar {
58          /** @desc     charstring for Used CPC language
59          */
60          charstring  PX_SIP_ISUP_LANGUAGE := "English";
61          /** @desc     charstring for Used CPC language
62          */
63          charstring  PX_SIP_ISUP_CPC_VALUE := "prison";
64          }//modulepar
65  } // goup PSTNParameters
66
67  group SupportedOptions{
68          modulepar {
69                               
70          /** @desc     boolean for  True if 100rel mechanism is supported in SIP
71          */
72          boolean               PX_SIP_100rel := false;
73
74          /** @desc     boolean for True if precondition mechanism is supported in SIP
75          */
76          boolean               PX_SIP_precondition := false;
77
78          /** @desc     boolean for True if UDP Transport is used by the IUT to run campaign
79          */
80          boolean               PX_SIP_UDP := true;
81
82          /** @desc     charstring for Used Transport in upper case "UDP"/"TCP"
83          */
84          charstring  PX_SIP_TRANSPORT := "UDP";
85          }//modulepar
86  }// group SupportedOptions{
87
88  // PIXITS in group Ports_and_addresses_of_the_SUT can be ignored if this information is provided in other modules of the ATS that uses this SIP library
89  group Ports_and_addresses_of_the_SUT{
90          modulepar{
91
92          /** @desc     integer for SUT port number to exchange SIP messages
93          */
94          integer         PX_SIP_SUT_PORT := 5060;
95
96          /** @desc     charstring for SUT IP address to exchange SIP messages
97          */
98          charstring  PX_SIP_SUT_IPADDR := "172.27.16.115";
99
100          /** @desc     charstring for SUT domain
101          */
102          charstring  PX_SIP_SUT_HOME_DOMAIN := "172.27.16.115";
103
104          /** @desc     charstring for unknown SUT domain
105          */
106          charstring  PX_SIP_SUT_HOME_DOMAIN_UNKNOWN := "172.88.88.88";
107
108          }     //modulepar
109  }
110
111  // PIXITS in group PortsAndAddressesOfTheTS1 can be ignored if this information is provided in other modules of the ATS that uses this SIP library
112  group PortsAndAddressesOfTheTS1 {
113//       Ports and addresses of the TS1 (tester), first access
114         modulepar {
115          /** @desc     integer for port number used by the TS1 to exchange SIP messages
116          */
117          integer     PX_SIP_TS1_PORT := 5060;
118
119          /** @desc     charstring for IP address used by the TS1 to exchange SIP messages
120          */
121          charstring  PX_SIP_TS1_IPADDR := "172.27.1.218";
122
123          /** @desc     charstring for identity of the tester local domain
124          */
125          charstring  PX_SIP_TS1_LOCAL_DOMAIN := "172.27.1.218";
126
127          /** @desc     charstring for identity of the tester local user
128          */
129          charstring  PX_SIP_TS1_LOCAL_USER := "2910";
130
131          /** @desc     charstring for identity of the user with active call diversion service
132          */
133          charstring  PX_SIP_TS1_LOCAL_USER_DIV := "2907";
134
135          /** @desc     charstring for identity of the tester local user (format "+"cc+ndc+sn)
136          */
137          charstring  PX_SIP_TS1_LOCAL_USER_FULL := "+ 33492941111";
138
139          /** @desc     integer for port number used by the TS to exchange media streams
140          */
141          integer     PX_SIP_TS1_BEARER_PORT := 52000;
142
143          /** @desc     charstring for port number used by the TS to exchange media streams
144          */
145          integer     PX_SIP_TS1_BEARER_PORT2 := 62000;
146
147          /** @desc     charstring for IP address used by the TS to exchange media streams
148          */
149          charstring  PX_SIP_TS1_BEARER_IPADDR := "172.27.1.218";
150         }//modulepar
151  }//   group   PortsAndAddressesOfTheTS
152
153  // PIXITS in group PortsAndAddressesOfTheTS2 can be ignored if this information is provided in other modules of the ATS that uses this SIP library
154  group PortsAndAddressesOfTheTS2 {
155//       Ports and addresses of the TS2 (tester), second access
156         modulepar {
157
158          /** @desc     integer for port number used by the TS2 to exchange SIP messages
159          */
160          integer     PX_SIP_TS2_PORT := 5060;
161
162          /** @desc     charstring for IP address used by the TS2 to exchange SIP messages
163          */
164          charstring  PX_SIP_TS2_IPADDR := "172.27.1.219";
165
166          /** @desc     charstring for identity of the tester local domain
167          */
168          charstring  PX_SIP_TS2_LOCAL_DOMAIN := "172.27.1.219";
169
170          /** @desc     charstring for identity of the tester local user
171          */
172          charstring  PX_SIP_TS2_LOCAL_USER := "2911";
173       
174          /** @desc     charstring for identity of the user with active call diversion service
175          */
176          charstring  PX_SIP_TS2_LOCAL_USER_DIV := "2011";
177
178          /** @desc     charstring for identity of the tester local user (format "+"cc+ndc+sn)
179          */
180          charstring  PX_SIP_TS2_LOCAL_USER_FULL := "+ 33 4 92941111";
181
182          /** @desc     integer for port number used by the TS to exchange media streams
183          */
184          integer     PX_SIP_TS2_BEARER_PORT := 53000;
185
186          /** @desc     integer for port number used by the TS to exchange media streams
187          */
188          integer     PX_SIP_TS2_BEARER_PORT2 := 63000;
189
190          /** @desc     charstring for IP address used by the TS to exchange media streams
191          */
192          charstring  PX_SIP_TS2_BEARER_IPADDR := "172.27.1.218";
193       
194         } //   modulepar
195  }//group      PortsAndAddressesOfTheTS2
196 
197  // PIXITS in group PortsAndAddressesOfTheTS3 can be ignored if this information is provided in other modules of the ATS that uses this SIP library
198  group PortsAndAddressesOfTheTS3 {
199//        Ports and addresses of the TS3 (tester), second access
200          modulepar{
201          /** @desc     integer for Port number used by the TS3 to exchange SIP messages
202          */
203          integer     PX_SIP_TS3_PORT := 5060;
204
205          /** @desc     charstring for IP address used by the TS3 to exchange SIP messages
206          */
207          charstring  PX_SIP_TS3_IPADDR := "172.27.1.220";
208
209          /** @desc     charstring for identity of the tester local domain
210          */
211          charstring  PX_SIP_TS3_LOCAL_DOMAIN := "172.27.1.220";
212
213          /** @desc     charstring for identity of the tester local user
214          */
215          charstring  PX_SIP_TS3_LOCAL_USER := "2012";
216
217          } //modulepar
218  } //group     PortsAndAddressesOfTheTS3
219
220  group RegistrationParameters {
221          modulepar {
222               
223          /** @desc     boolean for the SIP user if it have to register itself before executing a test case
224          */
225          boolean     PX_SIP_REGISTRATION := false;
226
227          /** @desc     integer for the minimun SIP user registration expires-value
228          */
229          integer     PX_SIP_REGISTRATION_exp_min := 3600;
230
231          /** @desc     charstring for REGISTRAR domain
232          */
233          charstring  PX_SIP_SUT_REGISTRAR_DOMAIN := "172.27.16.115";
234          }//   modulepar
235  }// group Registration parameters
236 
237  group ReleaseCause{
238          modulepar {
239          /** @desc     integer for Release cause to be used in BYE and in Failure messages
240          */
241          integer                       PX_SIP_BYE_CAUSE := 16;
242          }//modulepar
243  }//group ReleaseCause
244
245  group RTPStreamControlAndCheck{
246          modulepar {
247          /** @desc     boolean for True, if conversation check is implemented.
248          */
249          boolean PX_SIP_CheckConversation := false;
250
251          /** @desc     boolean for True, if DTMF check is implemented.
252          */
253          boolean PX_SIP_CheckDTMF := false;
254
255          /** @desc     boolean for True, if Announcement sending is implemented.
256          */
257          boolean PX_SIP_SendAnnouncement := false;
258
259          /** @desc     boolean for True, if ringing check is implemented.
260          */
261          boolean PX_SIP_CheckRinging := false;
262          }//modulepar
263  }//group RTPStreamControlAndCheck
264 
265  group SwitchToEnableAuthentication {
266        modulepar{     
267        /** @desc       boolean for option controlling if authentication is enabled/disabled for REGISTER messages
268        */
269        boolean PX_SIP_REGISTER_AUTHENTICATION_ENABLED := true;
270         
271        /** @desc       boolean for option controlling if authentication is enabled/disabled for INVITE messages
272        */
273        boolean PX_SIP_INVITE_AUTHENTICATION_ENABLED := false;
274        }
275  }
276
277  // PIXITS in group ParametersForHTTP_Authentication can be ignored if this information is provided in other modules of the ATS that uses this SIP library
278  group ParametersForHTTP_Authentication {
279          modulepar{
280
281          /** @desc     charstring for RFC 2617 3.2.1 qop options:
282          * Quoted string of one or more tokens indicating the "quality of protection" values supported by the server. The
283          * value "auth" indicates authentication; the value "auth-int" indicates authentication with integrity protection.
284          */
285          charstring PX_SIP_SUT_UE1_QOP := "auth";
286
287          /** @desc     charstring for RFC 2617 3.2.2 username
288          * The name of user in the specified realm
289          */
290          charstring PX_SIP_SUT_UE1_USERNAME := "abcd";
291
292          /** @desc     charstring for RFC 2617 3.2.2.2 passwd: A known shared secret, the password of user of the specified username
293          */
294          charstring PX_SIP_SUT_UE1_PASSWD := "1234";
295
296          /** @desc     charstring for RFC 2617 3.2.1 qop options:
297          * Quoted string of one or more tokens indicating the "quality of protection" values supported by the server. The
298          * value "auth" indicates authentication; the value "auth-int" indicates authentication with integrity protection.
299          */
300          charstring PX_SIP_SUT_UE2_QOP := "auth";
301         
302          /** @desc     charstring for RFC 2617 3.2.2 username
303          * The name of user in the specified realm
304          */
305          charstring PX_SIP_SUT_UE2_USERNAME := "abcd";
306
307          /** @desc     charstring for RFC 2617 3.2.2.2 passwd: A known shared secret, the password of user of the specified username
308          */
309          charstring PX_SIP_SUT_UE2_PASSWD := "1234";
310         
311          }//modulepar
312  }//group ParametersForHTTP_Authentication
313
314  group SIP_Timers {
315          modulepar {
316          /** @desc     float for T1 RTT estimate (500 ms)
317          */
318          float        PX_SIP_T1 := 0.5;
319
320          /** @desc     float for T2 Maximum retransmit interval for non-INVITE requests and INVITE response (4000 ms)
321          */
322          float        PX_T2 := 4.0;
323
324          /** @desc     float for T4 Maximum duration a message will remain in the network
325          */
326          float        PX_T4 := 1.0;
327
328          /** @desc     float for TDELAY default value for timeout on outgoing SIP request (ie 64*T1)
329          */
330          float        PX_SIP_TF := 32.0;
331
332          /** @desc     float for TWait default value for waiting an operator action
333          */
334          float        PX_SIP_TWAIT := 30.0;
335
336          /** @desc     float for TAck  default value for waiting an acknowledgement
337          */
338          float        PX_SIP_TACK := 8.0;
339
340          /** @desc     float for TResp default value for waiting for a response from the IUT
341          */
342          float        PX_SIP_TRESP := 15.0;
343
344          /** @desc     float for TNoAct default value for waiting no message from the IUT
345          * Value given for PX_TNOACT should be less than value of
346          * SHORT_REGISTRATION constant (which is currently "3" (seconds))
347          */
348          float        PX_SIP_TNOACT := 1.0;
349
350          /** @desc     float for TSYNC default value to synchronise ptc
351          */
352          float        PX_SIP_TSYNC := 10.0;
353
354          /** @desc     float for TGUARD default value for an extra long timer to limit test execution
355          */
356          float        PX_SIP_TGUARD := 120.0;
357
358          /** @desc     float for TRespRetention minimum time that a Proxy will wait before sending a final response
359          */
360          float        PX_TRespRetention := 1.0;
361          }//modulepar
362  }//group SIP_Timers
363  } //group SIP_PIXITparameters
364} // end module LibSip_PIXITS
Note: See TracBrowser for help on using the repository browser.