(Page 1 of 1 in this chapter) Version
|
For more information about the...
|
Refer to ...
|
|---|---|
|
Functions
|
Chapter 6
|
|
Events
|
Appendix C
|
|
Parameters
|
Appendix D
|
Figure 9. Inbound Call State
typedef struct
{ DWORD size; /* Size returned by briGetCallStatus */
DWORD state; /* Call states (BRI_CC_STATE_xxx) */
INT32 reason; /* Reason for going back to IDLE state */
char calledaddr [BRI_MAX_DIGITS+1];
/* DNIS info, called number */
/* (null-terminated string) */
char callingaddr[BRI_MAX_DIGITS+1];
/* ANI info, calling number */
/* (null-terminated string) */
DWORD pendingcommand; /* Current unacknowledged command */
char usercategory; /* User category of the calling party */
/* (for future use) */
char tollcategory; /* Toll category. Generally, same as */
/* usercategory (for future use) */
BYTE stream; /* MVIP address of B channel */
BYTE timeslot; /* MVIP address of B channel */
WORD billingrate; /* Billing rate of the call */
/* (for future use) */
char callednumplan; /* Q.931 numbering plan ID of */
/* called number */
char callednumtype; /* Q.931 number type of */
/* called number */
char callingnumplan; /* Q.931 numbering plan ID of */
/* calling number */
char callingnumtype; /* Q.931 number type of calling number */
char callingpres; /* Caller ID presentation indicator */
char callingscreen; /* Q.931 ANI screening indicator */
char progressdescr; /* Progress descriptor */
char releasecause; /* Cause for call release */
WORD service; /* Service for the current call */
char UUI[BRI_MAX_UUI]; /* UUI message received */
} BRI_CALL_STATUS;
Figure 10. Sequence Diagram for Answering Inbound Call
Figure 11. Sequence Diagram for Rejecting Inbound Call
Figure 12. Sequence Diagram for Accepting and then Rejecting Inbound CallNote: When accepting and then rejecting a call, the remote party may first receive a ring back tone (when the call is accepted) and then a busy tone (when the call is rejected).
Figure 13. Sequence Diagram for Accepting and then Answering Inbound Call
Figure 14. Outbound Call State Diagram
Figure 15. Sequence Diagram for Outbound Call
Figure 16. Sequence Diagram for Network-Initiated Release
Figure 17. Sequence Diagram for Application-Initiated Release
(Page 1 of 1 in this chapter) Version