4.2 Configuration Commands

Status Information

  • AT&V – Overview of all system settings
  • AT&VI – Overview of ISDN PRI settings
  • AT&V0 – Overview of basic GSM settings
  • AT&V# – Overview of GSM group # settings (#=1–8)
  • AT&VB - Overview of module assignment to groups 
    • format: B#=grpout0 + grpout1, grpin0 + grpin1
    •  # is the board number
    • grpout0..1, grpin0..1 - outgoing and incoming groups of modules 0 and 1
  • AT&VQ## - Overview of GSM group ## settings (#=1–32)
  • AT&VALL – Overview of all GSM group settings
  • AT&VE – Overview of VOIP parameters
  • AT&N# – Overview of parameters of network list # (#=1–8)
  • AT&NALL – Overview of parameters of all network lists
  • AT&R – Overview of LCR lines

Default Reset

  • AT&FRES – Reset with gateway factory settings

System Settings

  • AT%S70=x.x.x.x – IP address
  • AT%S71=x.x.x.x – IP address mask
  • AT%S81= – Initialisation string for setting of mode connected to gateway COM2
  • AT%S90=x – Type of assignment of B-channels to GSM modules and X
    • 0 – rotating
    • 1 – locked
    • 2 – according to credit
  • AT%S91=x,y – Way of call information recording
    • X:
      • 0 – no record
      • 1 – successfully connected outgoing call
      • 2 – successfully connected incoming calls
      • 3 – successfully connected incoming and outgoing calls
      • 5 – all outgoing calls
      • 6 – all incoming calls 
      • 7 – all incoming+outgoing calls
    • Y – to each call add NET info (1) or no (0)
  • AT%S93=x – Global selection of SIM card and X:
    • 0 – according to GSM group
    • 1–8 – number of SIM holder
  • AT%S98=xxxx – PIN code for SIM cards inserted in the gateway
  • AT%S99= dd.mm.yy.w/hh:mm:ss – Gateway date and time settings
  • AT%X00=hout,hin,min – Automatic logout of GSM modules
    • hout – hour when the modules start to log out randomly
    • hin – hour when the modules start to log in randomly
    • min – minimum count of modules in a group (2..15) that always remain logged-in
  • AT%X80=name/pass – Username/password for access via IP port (this parameter is write only – you cannot see its value)

System Control

  • AT&Bxx=DOWN – Transfer of GSM board xx into the sleep mode
  • AT&BPR=DOWN – Transfer of PRI board into the sleep mode
  • AT&BALL=DOWN – Transfer of all GSM boards into the sleep mode
  • AT&Bxx=RESET – Reset of GSM board xx
  • AT&BPR=RESET – Reset of PRI board
  • AT&BALL=RESET – Reset of all GSM boards
  • AT&BSYS=RESET – Reset of PRIGW
  • AT&Gxx=RESET – Reset of GSM module xx
  • AT&Gxx=BLOCK – Block of GSM module xx
  • AT&Gxx=DOWN – Transfer of GSM module into the sleep mode
  • AT&Gxx=ON – Transfer of GSM module into the idle mode

ISDN PRI Board

  • AT%I00= – ISDN PRI port type (TE/S; TE/M; NT/S; NT/M) or VoIP = SIP
  • AT%I01=x,y 
    • X – TEI ISDN PRI connections (0–63)
    • Y – CRC (0=off, 1=on)
  • AT%I05=c1,c2,c3,c4 – Number of causes sent to ISDN PRI (in ReleaseComplete) whenever an incoming call from ISDN PRI is rejected
  • AT%I11= – MSN for remote control via PRI 1
  • AT%I12= – MSN for remote control via PRI 2
  • AT%I04=x,y – Channel select for PRI 1 / PRI 2
  • AT%I06=c1,c2,c3,c4 – Progress messages
  • AT%i09=day,bits,enb
    • Day – day of statistics reset
    • Bits
      • 0 – no dial tone
      • 1 – continuous
      • 3 – discontinuous

Basic GSM Settings

  • AT%G00=rr,gggggg,gggggg, gggggg,gggggg,gggggg – g,r = Number of GSM group for each GSM module
  • AT%G01=mode,atms,atfs – Voice processing settings (for GM22 GSM modules only)
    • mode – algorithm (0-none, 1-semiduplex, 2-fullduplex)atms,
    • atfs – transit, receive gain (3=+5dB, 1=+2.5dB, 0=0dB, 2=-2.5dB, 4=-5dB
  • AT%G02=mode,atms,atfs – Voice processing settings (for TC35 GSM modules only)
    • mode – algorithm (2-echo canceller)atms,
    • atfs – transit, receive gain (3=+5dBm, 1=+2.5dB, 0=0dB, 2=-2.5dB, 4=-5dB
  • AT%G06=mmdd,…mmdd… – List of holiday days (mm-month;dd-day), max length of line is 63 chars!
  • AT%G07=mmdd,…mmdd – Net list of holiday days
  • AT%G08=delay,min,max,tout – Parameters of dialling from ISDN to GSM
    • delay – relax delay between calls
    • min – minimum length of number dialled from ISDN
    • max – maximum length of number dialled from ISDN
    • tout – delay between dialled digits

GSM Settings (X-GSM Group)

  • AT%G#0=sim – SIM card switching mode
    • sim = 0: 0 – OFF – group is turned-off
    • sim > 0: 
      • 1–4 – SIM card 1–4
      • 5 – switching by time
      • 6 – switching at random time
  • AT%G#1=netid,clir,min,sms,sec,sec2,pseudo – Basic parameters of SIM card in slot 1 netid-network number 
    • clir
      • 0 = default
      • 1 = enabled
      • 2 = disabled
    • min – maximum number of minutes called 
    • sms – maximum number of SMS sent 
    • sec – minimum call length (not for cdr info)
    • sec2 – accuracy of call length measurement (not for cdr info)
    • pseudo – default = 0
  • AT%G#2=netid,clir,min,sms,sec,sec2,pseudo – Basic parameters of SIM card in slot 2
  • AT%G#3=netid,clir,min,sms,sec,sec2,pseudo – Basic parameters of SIM card in slot 3
  • AT%G#4=netid,clir,min,sms,sec,sec2,pseudo – Basic parameters of SIM card in slot 4
  • AT%G#5= from/to[/from,to/w+] – Time intervals for using SIM card in slot 1, one or two intervals (from=to=hh:mm), w+(w-) parameter 'w+' (all weekend), or 'w-' (no weekend) for enabled/disabled SIM on weekends. In case AT%G#0=6 from/to= min/max limit for generating random time for SIM switching
  • AT%G#6= from/to[/from,to/w+] – Time intervals for using SIM card in slot 2
  • AT%G#7= from/to[/from,to/w+] – Time intervals for using SIM card in slot 3
  • AT%G#8= from/to[/from,to/w+] – Time intervals for using SIM card in slot 4

List of Networks

  • AT%N#0=op/np,…op/np – List of prefixes replaced by new prefixes (#-number of netlist; op-old prefix;np-new prefix)
  • AT%N#1=pr/n,…pr/n – List of prefixes dialled into ISDN (to be used for LCR table) pr=prefix n=length of number (parameter /n is optional)
  • AT%N#2..7=pr/n,…pr/n – Other 7 lists of prefixes dialled into ISDN
  • AT%N#9=net,max – Net-network number, max-default length of number dialled from ISDN

LCR Table

  • AT&R – Shows LCR table
  • AT%R##=source,net,hh:mm/hh:mm/w,gr,limit,tariffs – Settings of line ## (0..63) of LCR table
    • source - source interface
    • net – number of network list (0..32)
    • hh:mm/hh:mm/w* – line using time limitation
    • gr – outgoing group
    • limit - time limit
    • tariffs - tariff settings

Test Calls

  • AT!SPxx=dial – Initiate a testing call from AUX interface (xx is the called interface)
    • 1–15, 17–31 – B-channel
    • 32 – rotating B-channel
  • AT!SGxx=dial – Initiate a testing call from AUX interface (xx is the called interface):
    • 00..31 – GSM module
    • 32 – to GSM via GSM module according to call prefix
  • AT!WPxx – Connect the following call from interface xx to AUX interface
    • 1..15, 17–31 – from B-channel No.
    • 32 – first incoming calls from ISDN
  • AT!WGxx – Connect the following call from interface xx to AUX interface
    • 00..31 – from GSM No.
    • 32 – first incoming calls from GSM
  • AT!D – Terminate a call on AUX interface

Trace

Trace can be activated for only one session at a time.

  • AT!RE – Start tracing of error messages on the active interface
  • AT!Lx – Start tracing of LAN & Telnet on layer x
    • x=2 – Layers IP,TCP,Telnet
    • x=3 – Layers TCP, Telnet
    • x=4 – Layer Telnet
  • AT!Rx – Start tracing of ISDN PRI & GSM on layer x
    • x=1 – Layers 1,2,3,4
    • x=2 – Layers 2,3,4
    • x=3 – Layers 3,4
    • x=4 – Layer 4
  • AT!RR – Start tracing (AT!R2) to COM1 interface
  • AT!RX – Stop tracing (AT!R2) to COM1 interface

SMS Control

SMS control can be activated for only one session at a time.

  • AT!G=#
    • A6 – activate control via the used session
    • 55 – deactivate control via the used session
    • 99 – deactivate control on all sessions
  • AT^MS=ch – Module status ch=0 – 31
  • *module: ch,sim,sts3,sts2,phs2,type – Response to AT^MS:
    • ch – wireless engine number
    • sim – currently used SIM number: 0-none, 1–8–holder 1–8
    • sts3 – layer 3 status
    • sts2 – layer 2 status
    • phs2 – layer 2 substatus
    • type – wireless engine type
  • AT^MI=ch – Module info ch = 0 –31
  • *minfo: ch,sim,netid,"oper",new,cnt – Response to AT^MI
    • netid – network ID of the active wireless network
    • oper – name of the active wireless network
    • new – number of received and saved MS on SIM card
    • cnt – total count of sent SMS messages according to statistics
  • *smsinc: ch,ix,sts,mem – SMS message has been received and saved.
    • ix – index number of saved SMS (0–250)
    • sts – status of SMS (from +CMGL: ix.sts.len)
    • mem – type of used storage (1,2,3)
  • *smsrep: ch,ix,sts,mem – SMS status confirmation has been received.
    • sts – reserved (0)
  • *smsout: ch[/id],ref,req – SMS message was sent and not saved to the SIM card.
    • ref – reference number of SMS (0–255) – to be used in status confirmation messages
    • ID – third party identification number of SMS
  • *smspdu: ch,ix,sts,len,pdu,csum – SMS message content
    • len – SMS message length (number of bytes in PDU) PDU – message content in PDU format
    • csum – checksum of all PDU bytes (2 hexa digits) calculated without carry
  • *smsdel: ch,ix – SMS message deletion confirmation
  • *smserr: ch[/id],ix,req,err,cms – Fault command response or SMS not sent
    • req – required wireless engine or GSM group
    • err – error code (6-busy,40-write,41-read,42-delete,43-list)
    • cms – error cause from the wireless engine
  • *smssel: ch,cnt – SMS storage change confirmation

 

  • AT^SX=ch – SMS listing – request for listing of all SMS messages and status confirmations saved on the SIM card. Possible answers:: *smserr (busy,list) or *smsinc (ix=1..255) for each saved SMS or status SMS , end of list or empty SIM card – *smsinc (ix=0).
  • AT^SR=ch.ix – SMS read – request for reading of an SMS message or SMS status saved on the SIM card. Possible answers: *smserr (busy,read) or *smspdu
  • AT^SD=ch,ix – SMS delete – request for deletion of an SMS message (or SMS status message). Possible answers: *smserr (busy,delete) or *smsdel
  • AT^SM=ch,len,pdu,chsum – SMS to module – request for sending a message via GSM module 0..31 or via any GSM module (ch=32). Possible answers: *smserr (busy,write) or *smsout
  • AT^SG=grp[/id],len,pdu,csum – SMS to group – request for sending an SMS message via GSM group 1..8. Possible answers: *smserr (busy,write) or *smsout
  • AT^SS=ch,mem – Command for changing SMS storage. Mem (1;2;3) = type of SMS storageSiemens:1=SM, 2=ME, 3=MEEricsson:1=SM, 2=ME, 3=MEWavecom:1=SM, 2=ME, 3=SR Huawei:1=SM, 2=SM, 3=SMSierraWir.:1=SM, 2=ME, 3=SRMotorola:1=IM, 2=IM, 3=IM