int sm_tdmrx_destroy(tSMTDMrxId tdmrx)
Destroys tdmrx and invalidates the tSMTDMrxId.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody generic API.