Merge branch 'develop'
[lcr.git] / myisdn.h
1 /*****************************************************************************\
2 **                                                                           **
3 ** PBX4Linux                                                                 **
4 **                                                                           **
5 **---------------------------------------------------------------------------**
6 ** Copyright: Andreas Eversberg                                              **
7 **                                                                           **
8 ** information elements support header                                       **
9 **                                                                           **
10 \*****************************************************************************/ 
11
12
13 #define MT_ALERTING             0x01
14 #define MT_CALL_PROCEEDING      0x02
15 #define MT_CONNECT              0x07
16 #define MT_CONNECT_ACKNOWLEDGE  0x0f
17 #define MT_PROGRESS             0x03
18 #define MT_SETUP                0x05
19 #define MT_SETUP_ACKNOWLEDGE    0x0d
20 #define MT_RESUME               0x26
21 #define MT_RESUME_ACKNOWLEDGE   0x2e
22 #define MT_RESUME_REJECT        0x22
23 #define MT_SUSPEND              0x25
24 #define MT_SUSPEND_ACKNOWLEDGE  0x2d
25 #define MT_SUSPEND_REJECT       0x21
26 #define MT_USER_INFORMATION     0x20
27 #define MT_DISCONNECT           0x45
28 #define MT_RELEASE              0x4d
29 #define MT_RELEASE_COMPLETE     0x5a
30 #define MT_RESTART              0x46
31 #define MT_RESTART_ACKNOWLEDGE  0x4e
32 #define MT_SEGMENT              0x60
33 #define MT_CONGESTION_CONTROL   0x79
34 #define MT_INFORMATION          0x7b
35 #define MT_FACILITY             0x62
36 #define MT_NOTIFY               0x6e
37 #define MT_STATUS               0x7d
38 #define MT_STATUS_ENQUIRY       0x75
39 #define MT_HOLD                 0x24
40 #define MT_HOLD_ACKNOWLEDGE     0x28
41 #define MT_HOLD_REJECT          0x30
42 #define MT_RETRIEVE             0x31
43 #define MT_RETRIEVE_ACKNOWLEDGE 0x33
44 #define MT_RETRIEVE_REJECT      0x37
45
46 #define IE_SEGMENT      0x00
47 #define IE_BEARER       0x04
48 #define IE_CAUSE        0x08
49 #define IE_CALL_ID      0x10
50 #define IE_CALL_STATE   0x14
51 #define IE_CHANNEL_ID   0x18
52 #define IE_FACILITY     0x1c
53 #define IE_PROGRESS     0x1e
54 #define IE_NET_FAC      0x20
55 #define IE_NOTIFY       0x27
56 #define IE_DISPLAY      0x28
57 #define IE_DATE         0x29
58 #define IE_KEYPAD       0x2c
59 #define IE_SIGNAL       0x34
60 #define IE_INFORATE     0x40
61 #define IE_E2E_TDELAY   0x42
62 #define IE_TDELAY_SEL   0x43
63 #define IE_PACK_BINPARA 0x44
64 #define IE_PACK_WINSIZE 0x45
65 #define IE_PACK_SIZE    0x46
66 #define IE_CUG          0x47
67 #define IE_REV_CHARGE   0x4a
68 #define IE_CONNECT_PN   0x4c
69 #define IE_CONNECT_SUB  0x4d
70 #define IE_CALLING_PN   0x6c
71 #define IE_CALLING_SUB  0x6d
72 #define IE_CALLED_PN    0x70
73 #define IE_CALLED_SUB   0x71
74 #define IE_REDIR_NR     0x74
75 #define IE_REDIR_DN     0x76
76 #define IE_TRANS_SEL    0x78
77 #define IE_RESTART_IND  0x79
78 #define IE_LLC          0x7c
79 #define IE_HLC          0x7d
80 #define IE_USER_USER    0x7e
81 #define IE_ESCAPE       0x7f
82 #define IE_CNIP         0x80    /* siemens centrex extension */
83 #define IE_SHIFT        0x90
84 #define IE_MORE_DATA    0xa0
85 #define IE_COMPLETE     0xa1
86 #define IE_CONGESTION   0xb0
87 #define IE_REPEAT       0xd0
88
89 #define CENTREX_FAC     0x88
90 #define CENTREX_ID      0xa1
91