Added the case switch code for modem message