' **********************************************************************
' * Script name:   Voice call from the device                          *
' * Description:   The device generate a oice call when the input one  *
' *                is in low                                           *
' * Responsible:   Ramiro Sanchez                                      *
' * Date:          03/04/2011                                          *
' **********************************************************************
' --------------------------------------------------------------------
' General configuration
' --------------------------------------------------------------------
AT&F
AT+GSN
AT$PKG?
AT$MDMID?
at+cgatt=0
at+cgdcont=1,"IP","internet3.voicestream.com"
at$friend=1,1,"209.42.60.137"
at$udpapi=,1720

at$stoatev=1,atdt7863313355v
at$stoatev=2,at$msgsnd=0,"Voice call in progress"

' generate de voice call
at$event=10,1,0,0,0
at$event=10,3,44,1,0
at$event=10,3,60,10,3674318

at$event=12,0,10,7,7
at$event=12,3,44,2,0

AT$VGR=23
AT$VGT=10     
AT$VLVL=5
AT$VSELECT=0
AT$PREAMP=0,24,0

at+cgatt=1
at$areg=2

at&w

