|
Field
|
Description
|
|---|
|
size
|
Number of bytes written at the address pointed to by the status argument in briGetCallStatus.
|
|
state
|
Current call control state. Values applicable to the BRI service are:
· BRI_CC_STATE_STOPPED
· BRI_CC_STATE_IDLE
· BRI_CC_STATE_INCOMING_CALL
· BRI_CC_STATE_ANSWERING_CALL
· BRI_CC_STATE_ACCEPTING_CALL
· BRI_CC_STATE_PLACING_CALL
· BRI_CC_STATE_DISCONNECTED
· BRI_CC_STATE_CONNECTED
· BRI_CC_STATE_REJECTING_CALL
· BRI_CC_STATE_BLOCKING
|
|
reason
|
Reason for the last disconnect (return to Idle state). reason is 0 if the application initiated the disconnect. Otherwise, reason is the value received in BRIEVN_CALL_ DISCONNECTED.
|
|
calledaddr
|
For inbound calls, the called party address. The BRI service formats the digits as follows:
d1dn*s1sn
where:
· d1dn are the digits, and
· s1sn are the subaddress digits, if available. If no subaddress is available, the * and s digits do not appear in the string.
|
|
callingaddr
|
For inbound calls, the calling party address - the Automatic Number Identification (ANI) digits. The BRI service formats the digits as follows:
a1an*t1tn
where:
· a1an are the ANI digits, and
· t1tn are the subaddress digits, if available. If no subaddress is available, the * and s digits do not appear in the string.
|
|
pendingcommand
|
The last call control command issued that has not yet been acknowledged by the ISDN stack. This field is set when a call control command is sent to the BX 2000 board. The field is cleared on the next event that causes a transition to a new call state.
Values applicable to the BRI service are:
Value Description
0 BRI_PENDCMD_NONE
1 BRI_PENDCMD_PLACE_CALL
2 BRI_PENDCMD_ANSWER_CALL
3 BRI_PENDCMD_REJECT_CALL
4 BRI_PENDCMD_RELEASE_CALL
8 BRI_PENDCMD_ACCEPT_CALL
|
|
usercategory
|
For the BRI service, this field is always zero (0).
|
|
tollcategory
|
For the BRI service, this field is always zero (0).
|
|
stream
|
This field and timeslot together indicate the MVIP address of the B channel. For more information, refer to Section 3.3.1, Specifying B Channel CTA Contexts.
|
|
timeslot
|
This field and stream together indicate the MVIP address of the B channel. For more information, refer to Section 3.3.1, Specifying B Channel CTA Contexts.
|
|
billingrate
|
Billing rate of call (for future use).
|
|
callednumplan
|
Q.931 numbering plan ID of called address (if supported).
Default: 0 (unknown)
Values applicable to the BRI service are:
Value Description
0 BRI_N_PLAN_UNKNOWN
1 BRI_N_PLAN_ISDN
2 BRI_N_PLAN_TELEPHONE
3 BRI_N_PLAN_DATA
4 BRI_N_PLAN_TELEX
8 BRI_N_PLAN_NATIONAL
9 BRI_N_PLAN_PRIVATE
|
|
callednumtype
|
Q.931 type of called address (if supported).
Values applicable to the BRI service are:
Value Description
0 BRI_N_TYPE_UNKNOWN
1 BRI_N_TYPE_INTERNATIONAL
2 BRI_N_TYPE_NATIONAL
3 BRI_N_TYPE_NET_SPF
4 BRI_N_TYPE_SUBSCRIBER
6 BRI_N_TYPE_ABBREVIATED
|
|
callingnumplan
|
Q.931 numbering plan ID of calling address (if supported).
Default: 0 (unknown)
Values applicable to the BRI service are:
Value Description
0 BRI_N_PLAN_UNKNOWN
1 BRI_N_PLAN_ISDN
2 BRI_N_PLAN_TELEPHONE
3 BRI_N_PLAN_DATA
4 BRI_N_PLAN_TELEX
8 BRI_N_PLAN_NATIONAL
9 BRI_N_PLAN_PRIVATE
|
|
callingnumtype
|
Q.931 type of calling address (if supported).
state. Values applicable to the BRI service are:
Value Description
0 BRI_N_TYPE_UNKNOWN
1 BRI_N_TYPE_INTERNATIONAL
2 BRI_N_TYPE_NATIONAL
3 BRI_N_TYPE_NET_SPF
4 BRI_N_TYPE_SUBSCRIBER
6 BRI_N_TYPE_ABBREVIATED
|
|
callingpres
|
Presentation indicator for calling address. Values applicable to the BRI service are:
Value Description
0 BRI_N_PRES_ALLOWED
1 BRI_N_PRES_RESTRICTED
2 BRI_N_PRES_NOT_AVAILABLE
|
|
callingscreen
|
Q.931 screening indicator. Values applicable to the BRI service are:
Value Description
0 BRI_N_SCREEN_USER_PROVIDED
1 BRI_N_SCREEN_USER_PASSED
2 BRI_N_SCREEN_USER_FAILED
3 BRI_N_SCREEN_NETWORK_PROVIDED
|
|
progressdescr
|
Cause for progress message. Values applicable to the BRI service are:
Value Description
0 BRI_NO_PROGRESS_DESCR
1 BRI_PROGRESS_DESCR_NON_END_TO_ END_ISDN
4 BRI_PROGRESS_DESCR_CALL_ RETURNED_ISDN
8 BRI_PROGRESS_DESCR_IN_BAND_NOW
|
|
releasecause
|
Cause for call release.
|
|
service
|
Service for the current incoming call. All the incoming calls whose service is specified in the services_list field of the BRI_START_PARMS structure, are presented to the application with BRIEVN_INCOMING_CALL. All the others are automatically rejected by the ISDN stacks internally. For more information, refer to Appendix D.
|
|
UUI
|
User-to-user information (up to 128+1 characters). The first byte contains the protocol discriminator. The remaining characters contain the data. Values applicable for the protocol discriminator to the BRI service are:
Value Description
0 BRI_UUI_USER_SPF
1 BRI_UUI_OSI
2 BRI_UUI_X244
3 BRI_UUI_SYSTEM_MANAGEMENT
4 BRI_UUI_IA5
7 BRI_UUI_V120
8 BRI_UUI_Q931
|