The answer machine works independently of the telephone.
Try switching off the power to your base station and switch off the handset for a minute. Then power up the base station and finally switch the handset back on. with luck, the handset may reestablish contact with the base.
If that doesn't work time for a trip to your dealer to get it repaired.
Opman