This function is only in Prosody version 1 (see also the conversion guide for further details).
int sm_channel_ix_info(struct sm_channel_ix_info_parms *infop)
typedef struct sm_channel_ix_info_parms {
tSM_INT channel_ix; /* in */
tSM_INT switch_ix; /* out */
tSM_INT ost; /* out */
tSM_INT ots; /* out */
tSM_INT ist; /* out */
tSM_INT its; /* out */
tSM_INT group; /* out */
tSM_INT caps_mask; /* out */
tSM_INT type; /* out */
tSM_INT module; /* out */
} SM_CHANNEL_IX_INFO_PARMS;
This call is functionally identical to sm_channel_info() except the subject channel is referenced by a channel index, channel_ix, instead of a channel id, and two extra fields (type and module) of channel information are included in the returned parameter block (the card parameter has been renamed to switch_ix in this version of the call parameter block).
On return, the fields in the parameter block will be set as for sm_channel_info(), and in addition, type will be set to the channel type as specified on channel allocation, and module will be set to the value as would be returned by sm_get_channel_ix_module_ix() for channel_ix.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody generic API.