IMO better way to handle this (also the calling function might expect full CRLF and the previous version lost the LF...
get the whole CMGR line instead of just the beginning so we something to parse the number from