This function is only in Prosody version 2 (TiNG).
int sm_tdmtx_destroy(tSMTDMtxId tdmtx)
Destroys tdmtx and invalidates the tSMTDMtxId.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody generic API.