Go to the documentation of this file.
66 #define SWREG_DIE_WITH_LEDON 0x01
67 #define SWREG_HALT_CPU 0x02
72 #define GL_ERR_ID 0x1f
89 #define ASSIGN_TIM 0x01
90 #define REMOVE_TIM 0xff
94 #define ASSIGN_TSK 0x01
95 #define REMOVE_TSK 0xff
100 #define RELOCATE2 0xf4
104 #define TSK_B2 0x0000
105 #define TSK_WAKEUP 0x2000
106 #define TSK_TIMER 0x4000
107 #define TSK_TSK 0x6000
108 #define TSK_PC 0xe000
113 #define REMOVE_LL 0xff
118 #define LL_ESTABLISH 2
122 #define LL_DATA_PEND 5
134 #define N_CONNECT_ACK 3
138 #define N_RESET_ACK 7
143 #define N_DATA_ACK 12
144 #define N_EDATA_ACK 13
146 #define N_COMBI_IND N_XON
154 #define UREMOVE_SIG 0xfe
155 #define REMOVE_SIG 0xff
166 #define SUSPEND_REJ 6
169 #define INDICATE_REQ 10
170 #define INDICATE_IND 10
172 #define CALL_ALERT 12
179 #define STATUS_REQ 17
180 #define FAC_REG_REQ 18
181 #define FAC_REG_ACK 19
182 #define FAC_REG_REJ 20
183 #define CALL_COMPLETE 21
185 #define REGISTER_REQ 23
186 #define REGISTER_IND 24
187 #define FACILITY_REQ 25
188 #define FACILITY_IND 26
189 #define NCR_INFO_REQ 27
190 #define GCR_MIM_REQ 28
195 #define NCR_FACILITY 33
197 #define CALL_RETRIEVE 35
198 #define CALL_HOLD_ACK 36
199 #define CALL_RETRIEVE_ACK 37
200 #define CALL_HOLD_REJ 38
201 #define CALL_RETRIEVE_REJ 39
202 #define GCR_RESTART 40
204 #define S_SERVICE_REJ 42
205 #define S_SUPPORTED 43
206 #define STATUS_ENQ 44
207 #define CALL_GUARD 45
208 #define CALL_GUARD_HP 46
209 #define CALL_GUARD_IF 47
213 #define INT_3PTY_NIND 50
214 #define INT_CF_NIND 51
215 #define INT_3PTY_DROP 52
216 #define INT_MOVE_CONF 53
217 #define INT_MOVE_RC 54
218 #define INT_MOVE_FLIPPED_CONF 55
219 #define INT_X5NI_OK 56
220 #define INT_XDMS_START 57
221 #define INT_XDMS_STOP 58
222 #define INT_XDMS_STOP2 59
223 #define INT_CUSTCONF_REJ 60
224 #define INT_CUSTXFER 61
225 #define INT_CUSTX_NIND 62
226 #define INT_CUSTXREJ_NIND 63
227 #define INT_X5NI_CF_XFER 64
228 #define VSWITCH_REQ 65
229 #define VSWITCH_IND 66
231 #define CALL_PEND_NOTIFY 68
232 #define DO_NOTHING 69
233 #define INT_CT_REJ 70
234 #define CALL_HOLD_COMPLETE 71
235 #define CALL_RETRIEVE_COMPLETE 72
241 #define MAN_EXECUTE 4
242 #define MAN_EVENT_ON 5
243 #define MAN_EVENT_OFF 6
246 #define MAN_INFO_IND 2
247 #define MAN_EVENT_IND 3
248 #define MAN_TRACE_IND 4
249 #define MAN_COMBI_IND 9
254 #define UNKNOWN_COMMAND 0x01
255 #define WRONG_COMMAND 0x02
256 #define WRONG_ID 0x03
257 #define WRONG_CH 0x04
258 #define UNKNOWN_IE 0x05
259 #define WRONG_IE 0x06
260 #define OUT_OF_RESOURCES 0x07
261 #define ISDN_GUARD_REJ 0x09
262 #define N_FLOW_CONTROL 0x10
263 #define ASSIGN_RC 0xe0
264 #define ASSIGN_OK 0xef
266 #define READY_INT 0xfd
267 #define TIMER_INT 0xfe
308 #define REDIRECT_IE 0x22
309 #define REDIRECT_NET_IE 0x23
318 #define MSGTYPEIE 0x7a
320 #define CODESET6IE 0xec
321 #define VSWITCHIE 0xed
323 #define PROFILEIE 0xef
328 #define RING_OFF 0x02
329 #define HANDS_FREE_ON 0x03
330 #define HANDS_FREE_OFF 0x04
332 #define OFF_HOOK 0x90
334 #define THREE_PTY_BEGIN 0x04
335 #define THREE_PTY_END 0x05
336 #define ECT_EXECUTE 0x06
337 #define ACTIVATION_DIVERSION 0x07
338 #define DEACTIVATION_DIVERSION 0x08
339 #define CALL_DEFLECTION 0x0D
340 #define INTERROGATION_DIVERSION 0x0B
341 #define INTERROGATION_SERV_USR_NR 0x11
342 #define ACTIVATION_MWI 0x20
343 #define DEACTIVATION_MWI 0x21
344 #define MWI_INDICATION 0x22
345 #define MWI_RESPONSE 0x23
346 #define CONF_BEGIN 0x28
347 #define CONF_ADD 0x29
348 #define CONF_SPLIT 0x2a
349 #define CONF_DROP 0x2b
350 #define CONF_ISOLATE 0x2c
351 #define CONF_REATTACH 0x2d
352 #define CONF_PARTYDISC 0x2e
353 #define CCBS_INFO_RETAIN 0x2f
354 #define CCBS_ERASECALLLINKAGEID 0x30
355 #define CCBS_STOP_ALERTING 0x31
356 #define CCBS_REQUEST 0x32
357 #define CCBS_DEACTIVATE 0x33
358 #define CCBS_INTERROGATE 0x34
359 #define CCBS_STATUS 0x35
360 #define CCBS_ERASE 0x36
361 #define CCBS_B_FREE 0x37
362 #define CCNR_INFO_RETAIN 0x38
363 #define CCBS_REMOTE_USER_FREE 0x39
364 #define CCNR_REQUEST 0x3a
365 #define CCNR_INTERROGATE 0x3b
366 #define GET_SUPPORTED_SERVICES 0xff
367 #define DIVERSION_PROCEDURE_CFU 0x70
368 #define DIVERSION_PROCEDURE_CFB 0x71
369 #define DIVERSION_PROCEDURE_CFNR 0x72
370 #define DIVERSION_DEACTIVATION_CFU 0x80
371 #define DIVERSION_DEACTIVATION_CFB 0x81
372 #define DIVERSION_DEACTIVATION_CFNR 0x82
373 #define DIVERSION_INTERROGATE_NUM 0x11
374 #define DIVERSION_INTERROGATE_CFU 0x60
375 #define DIVERSION_INTERROGATE_CFB 0x61
376 #define DIVERSION_INTERROGATE_CFNR 0x62
378 #define SMASK_HOLD_RETRIEVE 0x00000001
379 #define SMASK_TERMINAL_PORTABILITY 0x00000002
380 #define SMASK_ECT 0x00000004
381 #define SMASK_3PTY 0x00000008
382 #define SMASK_CALL_FORWARDING 0x00000010
383 #define SMASK_CALL_DEFLECTION 0x00000020
384 #define SMASK_MCID 0x00000040
385 #define SMASK_CCBS 0x00000080
386 #define SMASK_MWI 0x00000100
387 #define SMASK_CCNR 0x00000200
388 #define SMASK_CONF 0x00000400
398 #define DIVA_RC_TYPE_NONE 0x00000000
399 #define DIVA_RC_TYPE_REMOVE_COMPLETE 0x00000008
400 #define DIVA_RC_TYPE_STREAM_PTR 0x00000009
401 #define DIVA_RC_TYPE_CMA_PTR 0x0000000a
402 #define DIVA_RC_TYPE_OK_FC 0x0000000b
403 #define DIVA_RC_TYPE_RX_DMA 0x0000000c
407 #define CTRL_L1_SET_SIG_ID 5
408 #define CTRL_L1_SET_DAD 6
409 #define CTRL_L1_RESOURCES 7
425 #define X75_V42BIS 12
428 #define V120_V42BIS 15
435 #define PIAFS_64K 0x01
436 #define PIAFS_VARIABLE_SPEED 0x02
437 #define PIAFS_CHINESE_SPEED 0x04
438 #define PIAFS_UDATA_ABILITY_ID 0x80
439 #define PIAFS_UDATA_ABILITY_DCDON 0x01
440 #define PIAFS_UDATA_ABILITY_DDI 0x80
534 #define LISTENER_FEATURE_MASK_CUMMULATIVE 0x0001
538 #define META_CODE_LL_UDATA_RX 0x01
539 #define META_CODE_LL_UDATA_TX 0x02
540 #define META_CODE_LL_DATA_RX 0x03
541 #define META_CODE_LL_DATA_TX 0x04
542 #define META_CODE_LL_MDATA_RX 0x05
543 #define META_CODE_LL_MDATA_TX 0x06
544 #define META_CODE_EMPTY 0x10
545 #define META_CODE_LOST_FRAMES 0x11
546 #define META_FLAG_TRUNCATED 0x0001
550 #define GL_INTERNAL_CONTROLLER_SUPPORTED 0x00000001L
551 #define GL_EXTERNAL_EQUIPMENT_SUPPORTED 0x00000002L
552 #define GL_HANDSET_SUPPORTED 0x00000004L
553 #define GL_DTMF_SUPPORTED 0x00000008L
554 #define GL_SUPPLEMENTARY_SERVICES_SUPPORTED 0x00000010L
555 #define GL_CHANNEL_ALLOCATION_SUPPORTED 0x00000020L
556 #define GL_BCHANNEL_OPERATION_SUPPORTED 0x00000040L
557 #define GL_LINE_INTERCONNECT_SUPPORTED 0x00000080L
558 #define B1_HDLC_SUPPORTED 0x00000001L
559 #define B1_TRANSPARENT_SUPPORTED 0x00000002L
560 #define B1_V110_ASYNC_SUPPORTED 0x00000004L
561 #define B1_V110_SYNC_SUPPORTED 0x00000008L
562 #define B1_T30_SUPPORTED 0x00000010L
563 #define B1_HDLC_INVERTED_SUPPORTED 0x00000020L
564 #define B1_TRANSPARENT_R_SUPPORTED 0x00000040L
565 #define B1_MODEM_ALL_NEGOTIATE_SUPPORTED 0x00000080L
566 #define B1_MODEM_ASYNC_SUPPORTED 0x00000100L
567 #define B1_MODEM_SYNC_HDLC_SUPPORTED 0x00000200L
568 #define B2_X75_SUPPORTED 0x00000001L
569 #define B2_TRANSPARENT_SUPPORTED 0x00000002L
570 #define B2_SDLC_SUPPORTED 0x00000004L
571 #define B2_LAPD_SUPPORTED 0x00000008L
572 #define B2_T30_SUPPORTED 0x00000010L
573 #define B2_PPP_SUPPORTED 0x00000020L
574 #define B2_TRANSPARENT_NO_CRC_SUPPORTED 0x00000040L
575 #define B2_MODEM_EC_COMPRESSION_SUPPORTED 0x00000080L
576 #define B2_X75_V42BIS_SUPPORTED 0x00000100L
577 #define B2_V120_ASYNC_SUPPORTED 0x00000200L
578 #define B2_V120_ASYNC_V42BIS_SUPPORTED 0x00000400L
579 #define B2_V120_BIT_TRANSPARENT_SUPPORTED 0x00000800L
580 #define B2_LAPD_FREE_SAPI_SEL_SUPPORTED 0x00001000L
581 #define B3_TRANSPARENT_SUPPORTED 0x00000001L
582 #define B3_T90NL_SUPPORTED 0x00000002L
583 #define B3_ISO8208_SUPPORTED 0x00000004L
584 #define B3_X25_DCE_SUPPORTED 0x00000008L
585 #define B3_T30_SUPPORTED 0x00000010L
586 #define B3_T30_WITH_EXTENSIONS_SUPPORTED 0x00000020L
587 #define B3_RESERVED_SUPPORTED 0x00000040L
588 #define B3_MODEM_SUPPORTED 0x00000080L
589 #define MANUFACTURER_FEATURE_SLAVE_CODEC 0x00000001L
590 #define MANUFACTURER_FEATURE_FAX_MORE_DOCUMENTS 0x00000002L
591 #define MANUFACTURER_FEATURE_HARDDTMF 0x00000004L
592 #define MANUFACTURER_FEATURE_SOFTDTMF_SEND 0x00000008L
593 #define MANUFACTURER_FEATURE_DTMF_PARAMETERS 0x00000010L
594 #define MANUFACTURER_FEATURE_SOFTDTMF_RECEIVE 0x00000020L
595 #define MANUFACTURER_FEATURE_FAX_SUB_SEP_PWD 0x00000040L
596 #define MANUFACTURER_FEATURE_V18 0x00000080L
597 #define MANUFACTURER_FEATURE_MIXER_CH_CH 0x00000100L
598 #define MANUFACTURER_FEATURE_MIXER_CH_PC 0x00000200L
599 #define MANUFACTURER_FEATURE_MIXER_PC_CH 0x00000400L
600 #define MANUFACTURER_FEATURE_MIXER_PC_PC 0x00000800L
601 #define MANUFACTURER_FEATURE_ECHO_CANCELLER 0x00001000L
602 #define MANUFACTURER_FEATURE_RTP 0x00002000L
603 #define MANUFACTURER_FEATURE_T38 0x00004000L
604 #define MANUFACTURER_FEATURE_TRANSP_DELIVERY_CONF 0x00008000L
605 #define MANUFACTURER_FEATURE_XONOFF_FLOW_CONTROL 0x00010000L
606 #define MANUFACTURER_FEATURE_OOB_CHANNEL 0x00020000L
607 #define MANUFACTURER_FEATURE_IN_BAND_CHANNEL 0x00040000L
608 #define MANUFACTURER_FEATURE_IN_BAND_FEATURE 0x00080000L
609 #define MANUFACTURER_FEATURE_PIAFS 0x00100000L
610 #define MANUFACTURER_FEATURE_DTMF_TONE 0x00200000L
611 #define MANUFACTURER_FEATURE_FAX_PAPER_FORMATS 0x00400000L
612 #define MANUFACTURER_FEATURE_OK_FC_LABEL 0x00800000L
613 #define MANUFACTURER_FEATURE_VOWN 0x01000000L
614 #define MANUFACTURER_FEATURE_XCONNECT 0x02000000L
615 #define MANUFACTURER_FEATURE_DMACONNECT 0x04000000L
616 #define MANUFACTURER_FEATURE_AUDIO_TAP 0x08000000L
617 #define MANUFACTURER_FEATURE_FAX_NONSTANDARD 0x10000000L
618 #define MANUFACTURER_FEATURE_SS7 0x20000000L
619 #define MANUFACTURER_FEATURE_MADAPTER 0x40000000L
620 #define MANUFACTURER_FEATURE_MEASURE 0x80000000L
621 #define MANUFACTURER_FEATURE2_LISTENING 0x00000001L
622 #define MANUFACTURER_FEATURE2_SS_DIFFCONTPOSSIBLE 0x00000002L
623 #define MANUFACTURER_FEATURE2_GENERIC_TONE 0x00000004L
624 #define MANUFACTURER_FEATURE2_COLOR_FAX 0x00000008L
625 #define MANUFACTURER_FEATURE2_SS_ECT_DIFFCONTPOSSIBLE 0x00000010L
626 #define RTP_PRIM_PAYLOAD_PCMU_8000 0
627 #define RTP_PRIM_PAYLOAD_1016_8000 1
628 #define RTP_PRIM_PAYLOAD_G726_32_8000 2
629 #define RTP_PRIM_PAYLOAD_GSM_8000 3
630 #define RTP_PRIM_PAYLOAD_G723_8000 4
631 #define RTP_PRIM_PAYLOAD_DVI4_8000 5
632 #define RTP_PRIM_PAYLOAD_DVI4_16000 6
633 #define RTP_PRIM_PAYLOAD_LPC_8000 7
634 #define RTP_PRIM_PAYLOAD_PCMA_8000 8
635 #define RTP_PRIM_PAYLOAD_G722_16000 9
636 #define RTP_PRIM_PAYLOAD_QCELP_8000 12
637 #define RTP_PRIM_PAYLOAD_G728_8000 14
638 #define RTP_PRIM_PAYLOAD_G729_8000 18
639 #define RTP_PRIM_PAYLOAD_GSM_HR_8000 30
640 #define RTP_PRIM_PAYLOAD_GSM_EFR_8000 31
641 #define RTP_ADD_PAYLOAD_BASE 32
642 #define RTP_ADD_PAYLOAD_RED 32
643 #define RTP_ADD_PAYLOAD_CN_8000 33
644 #define RTP_ADD_PAYLOAD_DTMF 34
645 #define RTP_PRIM_PAYLOAD_PCMU_8000_SUPPORTED (1L << RTP_PRIM_PAYLOAD_PCMU_8000)
646 #define RTP_PRIM_PAYLOAD_1016_8000_SUPPORTED (1L << RTP_PRIM_PAYLOAD_1016_8000)
647 #define RTP_PRIM_PAYLOAD_G726_32_8000_SUPPORTED (1L << RTP_PRIM_PAYLOAD_G726_32_8000)
648 #define RTP_PRIM_PAYLOAD_GSM_8000_SUPPORTED (1L << RTP_PRIM_PAYLOAD_GSM_8000)
649 #define RTP_PRIM_PAYLOAD_G723_8000_SUPPORTED (1L << RTP_PRIM_PAYLOAD_G723_8000)
650 #define RTP_PRIM_PAYLOAD_DVI4_8000_SUPPORTED (1L << RTP_PRIM_PAYLOAD_DVI4_8000)
651 #define RTP_PRIM_PAYLOAD_DVI4_16000_SUPPORTED (1L << RTP_PRIM_PAYLOAD_DVI4_16000)
652 #define RTP_PRIM_PAYLOAD_LPC_8000_SUPPORTED (1L << RTP_PRIM_PAYLOAD_LPC_8000)
653 #define RTP_PRIM_PAYLOAD_PCMA_8000_SUPPORTED (1L << RTP_PRIM_PAYLOAD_PCMA_8000)
654 #define RTP_PRIM_PAYLOAD_G722_16000_SUPPORTED (1L << RTP_PRIM_PAYLOAD_G722_16000)
655 #define RTP_PRIM_PAYLOAD_QCELP_8000_SUPPORTED (1L << RTP_PRIM_PAYLOAD_QCELP_8000)
656 #define RTP_PRIM_PAYLOAD_G728_8000_SUPPORTED (1L << RTP_PRIM_PAYLOAD_G728_8000)
657 #define RTP_PRIM_PAYLOAD_G729_8000_SUPPORTED (1L << RTP_PRIM_PAYLOAD_G729_8000)
658 #define RTP_PRIM_PAYLOAD_GSM_HR_8000_SUPPORTED (1L << RTP_PRIM_PAYLOAD_GSM_HR_8000)
659 #define RTP_PRIM_PAYLOAD_GSM_EFR_8000_SUPPORTED (1L << RTP_PRIM_PAYLOAD_GSM_EFR_8000)
660 #define RTP_ADD_PAYLOAD_RED_SUPPORTED (1L << (RTP_ADD_PAYLOAD_RED - RTP_ADD_PAYLOAD_BASE))
661 #define RTP_ADD_PAYLOAD_CN_8000_SUPPORTED (1L << (RTP_ADD_PAYLOAD_CN_8000 - RTP_ADD_PAYLOAD_BASE))
662 #define RTP_ADD_PAYLOAD_DTMF_SUPPORTED (1L << (RTP_ADD_PAYLOAD_DTMF - RTP_ADD_PAYLOAD_BASE))
665 #define VSTRANSPORT 2
666 #define VSGETPARAMS 3
672 #define VSTBCTIDENT 6
673 #define VSETSILINKID 7
674 #define VSSAMECONTROLLER 8
676 #define VSETSILINKIDRRWC 1
677 #define VSETSILINKIDREJECT 2
678 #define VSETSILINKIDTIMEOUT 3
679 #define VSETSILINKIDFAILCOUNT 4
680 #define VSETSILINKIDERROR 5
689 #define PROTCAP_TELINDUS 0x0001
690 #define PROTCAP_MAN_IF 0x0002
691 #define PROTCAP_V_42 0x0004
692 #define PROTCAP_V90D 0x0008
693 #define PROTCAP_EXTD_FAX 0x0010
694 #define PROTCAP_EXTD_RXFC 0x0020
695 #define PROTCAP_VOIP 0x0040
696 #define PROTCAP_CMA_ALLPR 0x0080
697 #define PROTCAP_FREE8 0x0100
698 #define PROTCAP_FREE9 0x0200
699 #define PROTCAP_FREE10 0x0400
700 #define PROTCAP_FREE11 0x0800
701 #define PROTCAP_FREE12 0x1000
702 #define PROTCAP_FREE13 0x2000
703 #define PROTCAP_FREE14 0x4000
704 #define PROTCAP_EXTENSION 0x8000
709 #define CALL_SETUP 0x80
710 #define MESSAGE_WAITING_INDICATOR 0x82
713 #define ADVICE_OF_CHARGE 0x86
721 #define DATE_AND_TIME 1
722 #define CLI_PARAMETER_TYPE 2
723 #define CALLED_DIRECTORY_NUMBER_PARAMETER_TYPE 3
724 #define REASON_FOR_ABSENCE_OF_CLI_PARAMETER_TYPE 4
725 #define NAME_PARAMETER_TYPE 7
726 #define REASON_FOR_ABSENCE_OF_CALLING_PARTY_NAME_PARAMETER_TYPE 8
727 #define VISUAL_INDICATOR_PARAMETER_TYPE 0xb
728 #define COMPLEMENTARY_CLI_PARAMETER_TYPE 0x10
729 #define CALL_TYPE_PARAMETER_TYPE 0x11
730 #define FIRST_CALLED_LINE_DIRECTORY_NUMBER_PARAMETER_TYPE 0x12
731 #define NETWORK_MESSAGE_SYSTEM_STATUS_PARAMETER_TYPE 0x13
732 #define FORWARDED_CALL_TYPE_PARAMETER_TYPE 0x15
733 #define TYPE_OF_CALLING_USER_PARAMETER_TYPE 0x16
734 #define REDIRECTING_NUMBER_PARAMETER_TYPE 0x1a
735 #define EXTENSION_FOR_NETWORK_OPERATOR_USE_PARAMETER_TYPE 0xe0