This function is deprecated.
int sm_get_channel_module_id(tSMChannelId channel)
Given a channel returns the module on which the channel is located.
Note that this function no longer implemented, and shall eventually be withdrawn from the API.
Always returns the error ERR_SM_NOT_IMPLEMENTED .
This function is part of the Prosody generic API.