Prosody data communications: API: smdc_tx_v34_indicator_t38

Prototype Definition

int smdc_tx_v34_indicator_t38(struct smdc_tx_v34_indicator_t38_parms *tonep)

Parameters

*tonep
a structure of the following type:
typedef struct smdc_tx_v34_indicator_t38_parms {
	tSMChannelId channel;					/* in */
	enum kSMDCT38_V34Type v34_type;				/* int */
} SMDC_TX_V34_INDICATOR_T38_PARMS;

Description

Sends a T.38 v34 indicator on the output half of a T.38 data communication channel.

The T.38 V34_CC_1200 indicator is sent when a switch from primary channel to control channel is requested.

The T.38 V34_PRI_CHAN indicator is sent when a switch from control channel to primary channel is requested.

The T.38 V34_CC_RETRAIN indicator is sent when a new primary channel datarate is requested. This is usually followed by a T.38 data element with a field set to v34-pri-rate and the specific datarate.

Fields

channel
The T.38 data communications channel
v34_type
The type of v34 indicator to send One of these values:
kSMDCT38_V34Type_V34_CC_1200
A Control Channel
kSMDCT38_V34Type_V34_PRI_CHAN
A Primary Channel
kSMDCT38_V34Type_V34_CC_RETRAIN
A Control Channel Retrain

Returns

0 if call completed successfully, otherwise a standard error such as:


This function is part of the Prosody data communications API.