ISDN Software Reference for Linux and Windows

418

2cc_SndMsg( )
(SndMsg_Divert, diversion
location: DIVERT_LOCAL)
-->
3cc_AnswerCall( ) -->
4 <-- CCEV_ANSWERED

1. Receives incoming call (CCEV_OFFERED) event.

2. Diverts incoming call (cc_SndMsg( )) to different extension. Use

cc_SndMsg( ) to divert the incoming call. See the cc_SndMsg( ) function

description for details.

3. Answer incoming call (cc_AnswerCall( )).

4. Receives call connected (CCEV_ANSWERED) event.

Remote diversion - outbound

Step Dialogic API Action/Result Dialogic Event

1cc_MakeCall( ) -->
2cc_SndMsg( )
(SndMsg_Divert, diversion
location: DIVERT_REMOTE)
<-- CCEV_PROCEEDING (with Diversion
IE, diversion location:
DIVERT_REMOTE)
3cc_DropCall( ) -->
4 <-- CCEV_DROPCALL
5cc_ReleaseCall( ) -->
6cc_MakeCall( )
(with Diversion IE) -->
--- DIVERT
SUCCEEDED ---
7 <-- CCEV_PROCEEDING
8 <-- CCEV_DIVERTED
9 <-- CCEV_CONNECTED
--- DIVERT FAILED ---
10 <-- CCEV_DISCONNECT