This API will disappear in the future and not every FreeTDM API set the last error value
use ftdm_configure_span_signaling instead