this allows us some means of identification for Class 2.0 modems like
Motorola CE (wireless phone) that don't give us anything with AT+FMM?
or AT+FMI?
Changelog since HylaFAX 4.3.0
+* faxaddmodem: Allow identification when no AT+FMM? or AT+FMI? (21 Jul 2006)
* fix error of accepting too-short of DCS signal (20 Jul 2006)
* fix faxgetty hang in ECM due to missing timeouts (20 Jul 2006)
* fix indicator when 100% non-zero TCF data is received (20 Jul 2006)
fi
#
SendToModem "$ATSTR" "AT+FMI?"
+ # if we get an ERROR revert to ATI
+ if [ "$RESPONSE" = "ERROR" ]; then SendToModem "$ATSTR" "ATI"; fi
Manufacturer=$RESPONSE
echo "Modem manufacturer is \"$Manufacturer\"."