(Page 15 of 15 in this chapter) Version
briUnBlockCalls
Description
- Instructs the BRI service to stop blocking calls.
Prototype
- DWORD briUnBlockCalls ( CTAHD ctahd )
- ctahd CTA context handle returned by ctaCreateContext.
Return Values
Events
Details
- This function instructs the BRI service to stop blocking calls. When briBlockCalls is called, a transition to the blocking state occurs and calls are blocked. briUnBlockCalls is called to exit this state, which results in a transition from the blocking state to the idle state. When this transition occurs, the BRI service generates BRIEVN_CALLS_UNBLOCKED.
- Once the CTA context enters the idle state, it can receive or place new calls.
- If briBlockCalls is called and briUnBlockCalls is called before the protocol is able to start blocking calls, no event is received.
- Refer to Chapter 4 for a detailed explanation of call control.
See Also
- briUnBlockCalls
Example
int myUnBlockCalls( CTAHD ctahd )
{
CTA_EVENT event;
if( briUnBlockCalls( ctahd ) != SUCCESS )
return MYFAILURE;
do
{
myGetEvent( &event ); /* see ctaWaitEvent example */
switch( event.id )
{
/* ... */
}
} while( event.id != BRIEVN_CALLS_UNBLOCKED );
return SUCCESS;
}
(Page 15 of 15 in this chapter) Version
tech_support@nmss.com
Copyright © 1999, Natural MicroSystems, Inc. All rights
reserved.