speedset 9600
delay 2000

ctrlget
ctrlset 0
ctrlget
flush
ctrlset 3
ctrlget
flush
ctrlget

sendline ATH
readuntil OK

sendline ATE1
readuntil OK

sendline AT&C1
readuntil OK

sendline AT&D1
readuntil OK

sendline AT+CGDCONT=1,"IP","internet"
readuntil OK

ctrlget
sendline ATDT*99***1#
readuntil CONNECT
ctrlget
