Hello Peter,
here is a script that works with a Nokia, not sure which GSM you have. If you have a Nokia, make sure you select ´Analog dialin´ and noy ´V.110 Emulation´:
chat-script script ABORT ERROR BUSY "" "AT" OK "ATDT \T" TIMEOUT 30 CONNECT \c
chat-script init "" "ATZ\r ATX3\r ATS0=1\r AT%M4\r"
chat-script offhook "" "ATH1ZX3" OK
chat-script callback ABORT ERROR ABORT BUSY "" "ATX3" OK "ATDT \T " TIMEOUT 60 CONNECT \c
!
interface Async1
ip unnumbered Loopback0
encapsulation ppp
no ip mroute-cache
async mode dedicated
peer default ip address pool Dialin_Pool
compress mppc
ppp lcp delay 10
ppp callback accept
ppp authentication pap chap ms-chap ms-chap-v2
!
line 1 4
script modem-off-hook offhook
script callback callback
modem InOut
transport preferred none
transport input all
transport output none
autoselect during-login
autoselect ppp
stopbits 1
speed 115200
flowcontrol hardware
HTH,
Nethelper