Check the GPRS modem, make sure you have recent firmware, try
resetting the modem, and try another modem. The
earlier GPRS modems will sometimes refuse to connect not because of
script problems but because of buggy firmware.