root/drivers/isdn/teles/l3_1TR6.h

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

INCLUDED FROM


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

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