The faxstat command may be useful to determine what modems HylaFAX is using, also reports the current state of each device.
faxstat
<setserial -g /dev/ttyS*> will show you the number of modems installed.