root/drivers/isdn/teles/l3_1TR6.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef l3_1TR6
   2 #define l3_1TR6
   3 
   4 #define PROTO_DIS_N0 0x40
   5 #define PROTO_DIS_N1 0x41
   6 
   7 /*
   8  * MsgType N0
   9  */
  10 #define MT_N0_REG_IND 61
  11 #define MT_N0_CANC_IND 62
  12 #define MT_N0_FAC_STA 63
  13 #define MT_N0_STA_ACK 64
  14 #define MT_N0_STA_REJ 65
  15 #define MT_N0_FAC_INF 66
  16 #define MT_N0_INF_ACK 67
  17 #define MT_N0_INF_REJ 68
  18 #define MT_N0_CLOSE 75
  19 #define MT_N0_CLO_ACK 77
  20 
  21 
  22 /*
  23  * MsgType N1
  24  */
  25 
  26 #define MT_N1_ESC 0x00
  27 #define MT_N1_ALERT 0x01
  28 #define MT_N1_CALL_SENT 0x02
  29 #define MT_N1_CONN 0x07
  30 #define MT_N1_CONN_ACK 0x0F
  31 #define MT_N1_SETUP 0x05
  32 #define MT_N1_SETUP_ACK 0x0D
  33 #define MT_N1_RES 0x26
  34 #define MT_N1_RES_ACK 0x2E
  35 #define MT_N1_RES_REJ 0x22
  36 #define MT_N1_SUSP 0x25
  37 #define MT_N1_SUSP_ACK 0x2D
  38 #define MT_N1_SUSP_REJ 0x21
  39 #define MT_N1_USER_INFO 0x20
  40 #define MT_N1_DET 0x40
  41 #define MT_N1_DISC 0x45
  42 #define MT_N1_REL 0x4D
  43 #define MT_N1_REL_ACK 0x5A
  44 #define MT_N1_CANC_ACK 0x6E
  45 #define MT_N1_CANC_REJ 0x67
  46 #define MT_N1_CON_CON 0x69
  47 #define MT_N1_FAC 0x60
  48 #define MT_N1_FAC_ACK 0x68
  49 #define MT_N1_FAC_CAN 0x66
  50 #define MT_N1_FAC_REG 0x64
  51 #define MT_N1_FAC_REJ 0x65
  52 #define MT_N1_INFO 0x6D
  53 #define MT_N1_REG_ACK 0x6C
  54 #define MT_N1_REG_REJ 0x6F
  55 #define MT_N1_STAT 0x63
  56 
  57 
  58 struct MTypeDesc {
  59         byte            mt;
  60         char           *descr;
  61 };
  62 
  63 static struct MTypeDesc mtdesc_n0[] =
  64 {
  65         {MT_N0_REG_IND, "MT_N0_REG_IND"},
  66         {MT_N0_CANC_IND, "MT_N0_CANC_IND"},
  67         {MT_N0_FAC_STA, "MT_N0_FAC_STA"},
  68         {MT_N0_STA_ACK, "MT_N0_STA_ACK"},
  69         {MT_N0_STA_REJ, "MT_N0_STA_REJ"},
  70         {MT_N0_FAC_INF, "MT_N0_FAC_INF"},
  71         {MT_N0_INF_ACK, "MT_N0_INF_ACK"},
  72         {MT_N0_INF_REJ, "MT_N0_INF_REJ"},
  73         {MT_N0_CLOSE, "MT_N0_CLOSE"},
  74         {MT_N0_CLO_ACK, "MT_N0_CLO_ACK"}
  75 };
  76 
  77 static struct MTypeDesc mtdesc_n1[] =
  78 {
  79         {MT_N1_ESC, "MT_N1_ESC"},
  80         {MT_N1_ALERT, "MT_N1_ALERT"},
  81         {MT_N1_CALL_SENT, "MT_N1_CALL_SENT"},
  82         {MT_N1_CONN, "MT_N1_CONN"},
  83         {MT_N1_CONN_ACK, "MT_N1_CONN_ACK"},
  84         {MT_N1_SETUP, "MT_N1_SETUP"},
  85         {MT_N1_SETUP_ACK, "MT_N1_SETUP_ACK"},
  86         {MT_N1_RES, "MT_N1_RES"},
  87         {MT_N1_RES_ACK, "MT_N1_RES_ACK"},
  88         {MT_N1_RES_REJ, "MT_N1_RES_REJ"},
  89         {MT_N1_SUSP, "MT_N1_SUSP"},
  90         {MT_N1_SUSP_ACK, "MT_N1_SUSP_ACK"},
  91         {MT_N1_SUSP_REJ, "MT_N1_SUSP_REJ"},
  92         {MT_N1_USER_INFO, "MT_N1_USER_INFO"},
  93         {MT_N1_DET, "MT_N1_DET"},
  94         {MT_N1_DISC, "MT_N1_DISC"},
  95         {MT_N1_REL, "MT_N1_REL"},
  96         {MT_N1_REL_ACK, "MT_N1_REL_ACK"},
  97         {MT_N1_CANC_ACK, "MT_N1_CANC_ACK"},
  98         {MT_N1_CANC_REJ, "MT_N1_CANC_REJ"},
  99         {MT_N1_CON_CON, "MT_N1_CON_CON"},
 100         {MT_N1_FAC, "MT_N1_FAC"},
 101         {MT_N1_FAC_ACK, "MT_N1_FAC_ACK"},
 102         {MT_N1_FAC_CAN, "MT_N1_FAC_CAN"},
 103         {MT_N1_FAC_REG, "MT_N1_FAC_REG"},
 104         {MT_N1_FAC_REJ, "MT_N1_FAC_REJ"},
 105         {MT_N1_INFO, "MT_N1_INFO"},
 106         {MT_N1_REG_ACK, "MT_N1_REG_ACK"},
 107         {MT_N1_REG_REJ, "MT_N1_REG_REJ"},
 108         {MT_N1_STAT, "MT_N1_STAT"}
 109 };
 110 
 111 
 112 /*
 113  * W Elemente
 114  */
 115 
 116 #define WE_Shift_F0 0x90
 117 #define WE_Shift_F6 0x96
 118 #define WE_Shift_OF0 0x98
 119 #define WE_Shift_OF6 0x9E
 120 
 121 #define WE0_cause 0x08
 122 #define WE0_connAddr 0x0C
 123 #define WE0_callID 0x10
 124 #define WE0_chanID 0x18
 125 #define WE0_netSpecFac 0x20
 126 #define WE0_display 0x28
 127 #define WE0_keypad 0x2C
 128 #define WE0_origAddr 0x6C
 129 #define WE0_destAddr 0x70
 130 #define WE0_userInfo 0x7E
 131 
 132 #define WE0_moreData 0xA0
 133 #define WE0_congestLevel 0xB0
 134 
 135 #define WE6_serviceInd 0x01
 136 #define WE6_chargingInfo 0x02
 137 #define WE6_date 0x03
 138 #define WE6_facSelect 0x05
 139 #define WE6_facStatus 0x06
 140 #define WE6_statusCalled 0x07
 141 #define WE6_addTransAttr 0x08
 142 
 143 /*
 144  * FacCodes
 145  */
 146 #define FAC_Sperre 0x01
 147 #define FAC_Sperre_All 0x02
 148 #define FAC_Sperre_Fern 0x03
 149 #define FAC_Sperre_Intl 0x04
 150 #define FAC_Sperre_Interk 0x05
 151 
 152 #define FAC_Forward1 0x02
 153 #define FAC_Forward2 0x03
 154 #define FAC_Konferenz 0x06
 155 #define FAC_GrabBchan 0x0F
 156 #define FAC_Reactivate 0x10
 157 #define FAC_Konferenz3 0x11
 158 #define FAC_Dienstwechsel1 0x12
 159 #define FAC_Dienstwechsel2 0x13
 160 #define FAC_NummernIdent 0x14
 161 #define FAC_GBG 0x15
 162 #define FAC_DisplayUebergeben 0x17
 163 #define FAC_DisplayUmgeleitet 0x1A
 164 #define FAC_Unterdruecke 0x1B
 165 #define FAC_Deactivate 0x1E
 166 #define FAC_Activate 0x1D
 167 #define FAC_SVC 0x1F
 168 #define FAC_Rueckwechsel 0x23
 169 #define FAC_Umleitung 0x24
 170 
 171 /*
 172  * Cause codes
 173  */
 174 #define CAUSE_InvCRef 0x01
 175 #define CAUSE_BearerNotImpl 0x03
 176 #define CAUSE_CIDunknown 0x07
 177 #define CAUSE_CIDinUse 0x08
 178 #define CAUSE_NoChans 0x0A
 179 #define CAUSE_FacNotImpl 0x10
 180 #define CAUSE_FacNotSubscr 0x11
 181 #define CAUSE_OutgoingBarred 0x20
 182 #define CAUSE_UserAssessBusy 0x21
 183 #define CAUSE_NegativeGBG 0x22
 184 #define CAUSE_UnknownGBG 0x23
 185 #define CAUSE_NoSPVknown 0x25
 186 #define CAUSE_DestNotObtain 0x35
 187 #define CAUSE_NumberChanged 0x38
 188 #define CAUSE_OutOfOrder 0x39
 189 #define CAUSE_NoUserResponse 0x3A
 190 #define CAUSE_UserBusy 0x3B
 191 #define CAUSE_IncomingBarred 0x3D
 192 #define CAUSE_CallRejected 0x3E
 193 #define CAUSE_NetworkCongestion 0x59
 194 #define CAUSE_RemoteUser 0x5A
 195 #define CAUSE_LocalProcErr 0x70
 196 #define CAUSE_RemoteProcErr 0x71
 197 #define CAUSE_RemoteUserSuspend 0x72
 198 #define CAUSE_RemoteUserResumed 0x73
 199 #define CAUSE_UserInfoDiscarded 0x7F
 200 
 201 
 202 #endif

/* [previous][next][first][last][top][bottom][index][help] */