Synopsis:
SMconfleave(conf_id,vox_chan_out[,vox_chan_in])
Arguments:
conf_id – The conference ID
vox_chan_out – The voice channel whose output carries the conference audio
[vox_chan_in] - The voice channel whose input will be inserted to the conference (default the same as vox_chan_out)
Description: This function allows a voice channel to leave the specified conference. The vox_chan_out and vox_chan_in must match the channels specified in the SMconfjoin() function. By default the optional vox_chan_in will be set the same as the vox_chan_out argument.
Returns: Returns 0 if successful or a negative error code if the conf_id is invalid or if the vox_chan_out and/or vox_chan_indo not match a channel that was added using the SMconfjoin() function.