2004-10-02 22:55:20 +08:00
|
|
|
/*
|
|
|
|
* libpri: An implementation of Primary Rate ISDN
|
|
|
|
*
|
2008-08-06 06:18:12 +08:00
|
|
|
* Written by Mark Spencer <markster@digium.com>
|
2004-10-02 22:55:20 +08:00
|
|
|
*
|
2008-08-06 06:18:12 +08:00
|
|
|
* Copyright (C) 2001, Digium, Inc.
|
2004-10-02 22:55:20 +08:00
|
|
|
* All Rights Reserved.
|
2008-08-06 06:18:12 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* See http://www.asterisk.org for more information about
|
|
|
|
* the Asterisk project. Please do not directly contact
|
|
|
|
* any of the maintainers of this project for assistance;
|
|
|
|
* the project provides a web site, mailing lists and IRC
|
|
|
|
* channels for your use.
|
2004-10-02 22:55:20 +08:00
|
|
|
*
|
2008-08-06 06:18:12 +08:00
|
|
|
* This program is free software, distributed under the terms of
|
|
|
|
* the GNU General Public License Version 2 as published by the
|
|
|
|
* Free Software Foundation. See the LICENSE file included with
|
|
|
|
* this program for more details.
|
2004-10-02 22:55:20 +08:00
|
|
|
*
|
2008-08-06 06:18:12 +08:00
|
|
|
* In addition, when this program is distributed with Asterisk in
|
|
|
|
* any form that would qualify as a 'combined work' or as a
|
|
|
|
* 'derivative work' (but not mere aggregation), you can redistribute
|
|
|
|
* and/or modify the combination under the terms of the license
|
|
|
|
* provided with that copy of Asterisk, instead of the license
|
|
|
|
* terms granted here.
|
2004-10-02 22:55:20 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _PRI_TIMERS_H
|
|
|
|
#define _PRI_TIMERS_H
|
|
|
|
|
|
|
|
/* -1 means we dont currently support the timer/counter */
|
2008-05-08 03:51:44 +08:00
|
|
|
#define PRI_TIMERS_DEFAULT { \
|
|
|
|
3, /* N200 */ \
|
|
|
|
-1, /* N201 */ \
|
|
|
|
3, /* N202 */ \
|
|
|
|
7, /* K */ \
|
2004-10-02 22:55:20 +08:00
|
|
|
1000, /* T200 */ \
|
2008-05-08 03:51:44 +08:00
|
|
|
-1, /* T201 */ \
|
|
|
|
10000, /* T202 */ \
|
2004-10-02 22:55:20 +08:00
|
|
|
10000, /* T203 */ \
|
2008-05-08 03:51:44 +08:00
|
|
|
-1, /* T300 */ \
|
|
|
|
-1, /* T301 */ \
|
|
|
|
-1, /* T302 */ \
|
|
|
|
-1, /* T303 */ \
|
|
|
|
-1, /* T304 */ \
|
2004-10-02 22:55:20 +08:00
|
|
|
30000, /* T305 */ \
|
2008-05-08 03:51:44 +08:00
|
|
|
-1, /* T306 */ \
|
|
|
|
-1, /* T307 */ \
|
2004-10-02 22:55:20 +08:00
|
|
|
4000, /* T308 */ \
|
2008-05-08 03:51:44 +08:00
|
|
|
-1, /* T309 */ \
|
|
|
|
-1, /* T310 */ \
|
2004-10-02 22:55:20 +08:00
|
|
|
4000, /* T313 */ \
|
2008-05-08 03:51:44 +08:00
|
|
|
-1, /* T314 */ \
|
|
|
|
-1, /* T316 */ \
|
|
|
|
-1, /* T317 */ \
|
|
|
|
-1, /* T318 */ \
|
|
|
|
-1, /* T319 */ \
|
|
|
|
-1, /* T320 */ \
|
|
|
|
-1, /* T321 */ \
|
|
|
|
-1, /* T322 */ \
|
|
|
|
2500, /* TM20 - Q.921 Appendix IV */ \
|
|
|
|
3, /* NM20 - Q.921 Appendix IV */ \
|
2004-10-02 22:55:20 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* XXX Only our default timers are setup now XXX */
|
|
|
|
#define PRI_TIMERS_UNKNOWN PRI_TIMERS_DEFAULT
|
|
|
|
#define PRI_TIMERS_NI2 PRI_TIMERS_DEFAULT
|
|
|
|
#define PRI_TIMERS_DMS100 PRI_TIMERS_DEFAULT
|
|
|
|
#define PRI_TIMERS_LUCENT5E PRI_TIMERS_DEFAULT
|
|
|
|
#define PRI_TIMERS_ATT4ESS PRI_TIMERS_DEFAULT
|
|
|
|
#define PRI_TIMERS_EUROISDN_E1 PRI_TIMERS_DEFAULT
|
|
|
|
#define PRI_TIMERS_EUROISDN_T1 PRI_TIMERS_DEFAULT
|
|
|
|
#define PRI_TIMERS_NI1 PRI_TIMERS_DEFAULT
|
|
|
|
#define PRI_TIMERS_GR303_EOC PRI_TIMERS_DEFAULT
|
|
|
|
#define PRI_TIMERS_GR303_TMC PRI_TIMERS_DEFAULT
|
2004-12-13 06:12:04 +08:00
|
|
|
#define PRI_TIMERS_QSIG PRI_TIMERS_DEFAULT
|
|
|
|
#define __PRI_TIMERS_GR303_EOC_INT PRI_TIMERS_DEFAULT
|
|
|
|
#define __PRI_TIMERS_GR303_TMC_INT PRI_TIMERS_DEFAULT
|
2004-10-02 22:55:20 +08:00
|
|
|
|
|
|
|
#define PRI_TIMERS_ALL { PRI_TIMERS_UNKNOWN, \
|
|
|
|
PRI_TIMERS_NI2, \
|
|
|
|
PRI_TIMERS_DMS100, \
|
|
|
|
PRI_TIMERS_LUCENT5E, \
|
|
|
|
PRI_TIMERS_ATT4ESS, \
|
|
|
|
PRI_TIMERS_EUROISDN_E1, \
|
|
|
|
PRI_TIMERS_EUROISDN_T1, \
|
|
|
|
PRI_TIMERS_NI1, \
|
2005-04-09 07:04:37 +08:00
|
|
|
PRI_TIMERS_QSIG, \
|
2004-10-02 22:55:20 +08:00
|
|
|
PRI_TIMERS_GR303_EOC, \
|
2004-12-13 06:12:04 +08:00
|
|
|
PRI_TIMERS_GR303_TMC, \
|
|
|
|
__PRI_TIMERS_GR303_EOC_INT, \
|
|
|
|
__PRI_TIMERS_GR303_TMC_INT, \
|
2004-10-02 22:55:20 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|