That's assuming DOS had the right drivers for your card loaded, and that your card respected that option... I came across many that didn't, esp. the "cheap" knockoffs of the leading brands.
Drivers? Do you mean software-modems? Majority of the modems AFAIK were hardware modems which just connect over the COM ports, and you can echo any command there.