Previous Page Table Of Contents../index.html IndexNext Page


Reply Message Blocks

This reply message is sent in response to a DTCAS_CREATE_TRANSITION command. The result code within the reply message block indicates the success or failure of the command. The buffer referenced by the replymsgp argument will contain a valid DTCAS_REPLY_MSG message block if dt_castmgmt( ) completes successfully. The typedef for the DTCAS_REPLY_MSG structure is as follows:

Parameter

Description

msg_code

identifies the message type and must be set to DTCAS_CREATE_TRANSITION_COMPLETE

rfu

is reserved and must be set to zero for future compatibility

template_id

specifies the template identifier

result

indicates the success or failure of the command. This field set to 0 on success, or one of the following error values if the command fails

 

  DTCAS_ERR_DUPLICATETEMPLATE - Duplicate template in table

 

  DTCAS_ERR_TEMPLATETABLEFULL - The signal definition table is full

 

  DTCAS_ERR_PRETRANSCODE - The Pre-Transition Code is invalid

 

  DTCAS_ERR_POSTTRANSCODE - The Post-Transition Code is invalid

 

  DTCAS_ERR_PRETRANSINT - The Pre-Transition interval is out-of-range

 

  DTCAS_ERR_POSTTRANSINT - The Post-Transition interval is out-of-range

This reply message is sent in response to a DTCAS_CREATE_PULSE command. The result code within the reply message block indicates the success or failure of the command. The buffer referenced by the replymsgp argument will contain a valid DTCAS_REPLY_MSG message block if dt_castmgmt( ) completes successfully. The typedef for the DTCAS_REPLY_MSG structure is as follows:

Parameter

Description

msg_code

identifies the message type and must be set to DTCAS_CREATE_PULSE_COMPLETE.

rfu

is reserved and must be set to zero for future compatibility

template_id

specifies the template identifier.

result

indicates the success or failure of the command. This field set to 0 on success, or one of the following error values if the command fails:

 

  DTCAS_ERR_DUPLICATETEMPLATE - Duplicate template in table

 

  DTCAS_ERR_TEMPLATETABLEFULL - The signal definition table is full

 

  DTCAS_ERR_PREPULSEINT - The Pre-Pulse interval is invalid

 

  DTCAS_ERR_PULSEINTMIN - The minimum pulse interval is invalid

 

  DTCAS_ERR_PULSEINTMAX - The maximum pulse interval is invalid

 

  DTCAS_ERR_PULSEINTNOM - The nominal pulse interval is invalid

 

  DTCAS_ERR_PULSEINTMAX - The maximum pulse interval is invalid

 

  DTCAS_ERR_PULSEINTNOM - The nominal pulse interval is invalid.

 

  DTCAS_ERR_POSTPULSEINT - The Post-Pulse interval is invalid

This reply message is sent in response to a DTCAS_CREATE_TRAIN command. The result code within the reply message block indicates the success or failure of the command. The buffer referenced by the replymsgp argument will contain a valid DTCAS_REPLY_MSG message block if dt_castmgmt( ) completes successfully. The typedef for the DTCAS_REPLY_MSG structure is as follows:

Parameter

Description

msg_code

identifies the message type and must be set to DTCAS_CREATE_TRAIN_COMPLETE

rfu

is reserved and must be set to zero for future compatibility

template_id

specifies the template identifier

result

indicates the success or failure of the command. This field set to 0 on success, or one of the following error values if the command fails

 

  DTCAS_ERR_DUPLICATETEMPLATE - Duplicate template in table

 

  DTCAS_ERR_TEMPLATETABLEFULL - The signal definition table is full

 

  DTCAS_ERR_PRETRAININT - The Pre-Train interval is invalid.

 

  DTCAS_ERR_POSTTRANSINT - The Post-Transition interval is out-of-range

 

  DTCAS_ERR_PREPULSEINT - The Pre-Pulse interval is invalid

 

  DTCAS_ERR_INTPULSEINTMIN - The minimum inter-pulse interval is invalid

 

  DTCAS_ERR_INTPULSEINTMAX - The maximum inter-pulse interval is invalid

 

  DTCAS_ERR_INTPULSEINTNOM - The nominal inter-pulse interval is invalid

 

  DTCAS_ERR_POSTTRAININT - The Post-Train interval is invalid

This reply message is sent in response to a DTCAS_DELETE_TEMPLATE command. The result code within the reply message block indicates the success or failure of the command. The buffer referenced by the replymsgp argument will contain a valid DTCAS_REPLY_MSG message block if dt_castmgmt( ) completes successfully. The typedef for the DTCAS_REPLY_MSG structure is as follows:

Parameter

Description

msg_code

identifies the message type and must be set to DTCAS_DELETE_TEMPLATE_COMPLETE

rfu

is reserved and must be set to zero for future compatibility

template_id

specifies the template identifier

result

indicates the success or failure of the command. This field set to 0 on success, or one of the following error values if the command fails:

 

  DTCAS_ERR_TEMPLATENOTFOUND - The template was not found

This reply message is sent in response to a DTCAS_ENABLE_TEMPLATE command. The result code within the reply message block indicates the success or failure of the command. The buffer referenced by the replymsgp argument will contain a valid DTCAS_REPLY_MSG message block if dt_castmgmt( ) completes successfully. The typedef for the DTCAS_REPLY_MSG structure is as follows:

Parameter

Description

msg_code

identifies the message type and must be set to DTCAS_ENABLE_TEMPLATE_COMPLETE.

rfu

is reserved and must be set to zero for future compatibility

template_id

specifies the template identifier.

result

indicates the success or failure of the command. This field set to 0 on success, or one of the following error values if the command fails

 

  DTCAS_ERR_TEMPLATENOTFOUND - The template was not found

 

  DTCAS_ERR_SIGNALENABLED - The signal is already enabled

This reply message is sent in response to a DTCAS_DISABLE_TEMPLATE command. The result code within the reply message block indicates the success or failure of the command. The buffer referenced by the replymsgp argument will contain a valid DTCAS_REPLY_MSG message block if dt_castmgmt( ) completes successfully. The typedef for the DTCAS_REPLY_MSG structure is as follows:

Parameter

Description

msg_code

identifies the message type and must be set to DTCAS_DISABLE_TEMPLATE_COMPLETE

rfu

is reserved and must be set to zero for future compatibility

template_id

specifies the template identifier

result

indicates the success or failure of the command. This field set to 0 on success, or one of the following error values if the command fails

 

  DTCAS_ERR_TEMPLATENOTFOUND - The template was not found


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2001, Dialogic Corporation
All rights reserved
This page generated November, 2001