SAY 'trying to connect...\n'
SAY '\n'
ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED
SAY 'Initializing modem\n'
"" AT+cfun=1
OK AT+cfun=1
OK AT+cgreg=1
OK AT
"" AT+CSQ
SAY '\n'
SAY 'Setting APN\n'
# this context string came straight from t-mobile tier 3 tech support.
# The APN (internet2.voicestream.com) may be internet3 if your account is set
# up for public IP addresses. Mine isn't, so here we are.
OK AT+CGDCONT=1,"IP","diginet"
SAY '\n'
SAY 'Dialing...\n'
OK ATDT*99***1#
CONNECT " "