Previous PageTable Of Contents../index.htmlIndexNext Page



5.7. DX_CST: Call Status Transition

The DX_CST data structure contains parameters for Call Status Transition.

DX_CST contains call status transition information after an asynchronous TDX_CST termination or TDX_SETHOOK event occurs. Use the Event Management function, sr_getevtdatap( ) to retrieve the structure.

The typedef for the structure is as follows:

Parameter

Description

cst_event

Contains the event type. Use the following defines to identify the event type:

   
 

Event Type

Description

 

DE_DIGITS

  digit received

 

DE_LCOFF

  loop current off

 

DE_LCON

  loop current on

 

DE_LCREV

  loop current reversal

 

DE_RINGS

  rings received

 

DE_RNGOFF

  caller hang up event (incoming call is dropped before being accepted)

 

DE_SILOFF

  non-silence detected

 

DE_SILON

  silence detected

 

DE_TONEOFF

  tone off event

 

DE_TONEON

  tone on event

 

DE_WINK

  received a wink

 

DX_OFFHOOK

  offhook event

 

DX_ONHOOK

  onhook event

 

DX_ONHOOK and DX_OFFHOOK are returned if a TDX_SETHOOK termination event is received.

cst_data

Contains data associated with the CST event. The data are described for each event type as follows:

   
 

Event Type

Event Data

 

DE_DIGITS

  ASCII digit (low byte) and the digit type (high byte)

 

DE_LCOFF

  time previous last loop current on transition in 10 ms units

 

DE_LCON

  time since previous loop current off transition in 10 ms units

 

DE_LCREV

  time since previous loop current reversal transition in 10 ms units

 

DE_RINGS

  0

 

DE_SILOFF

  time since previous silence started in 10 ms units

 

DE_SILON

  time since previous silence stopped in 10 ms units

 

DE_TONEOFF

  user-specified tone ID

 

DE_TONEON

  user-specified tone ID

 

DE_WINK

  N/A

 

DX_OFFHOOK

  N/A

 

DX_ONHOOK

  N/A


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2002, Dialogic Corporation
All rights reserved
This page generated February, 2002