4.2 AT Interface

2N® VoiceBlue Next uses the list of AT commands derived from the standard AT set for configuration and monitoring purposes.

The configuration entering commands start with AT%parameter_id.

The configuration writing out commands start with AT&section.

The following list of AT commands is universal and some commands may not be included in 2N® VoiceBlue Next.


Basic Commands


System Information

  • ATI3 – Firmware version and copyright
  • ATI4 – Factory number

Statistics

  • AT&T – Statistics of calls via PRI interface
  • AT&TIN – Statistics of incoming calls via GSM modules
  • AT&TOUT – Statistics of outgoing calls via GSM modules
  • AT&T## – Statistics of calls via SIM cards of GSM module ##
  • AT%TPR=mi,ci,mo,co – Setting of statistics via PRI
  • AT%TG0=mi,ci,0,0 – Setting of statistics of incoming calls via all GSM modules in GSM group 0
  • AT%TG#=mi,co,ri,ro – Settings of statistics of GSM group #
  • AT%TGALL=mo.co,ri,ro – Settings of statistics of all GSM groups
  • AT%T##=#,mi,ci,si,mo,co,so – Settings of statistics of SIM card # of GSM module ##
  • AT%T##=ALL,mi,ci,si,mo,co,so – Settings of statistics of all SIM cards of GSM module ##
  • AT%TALL=ALL,mi,ci,si,mo,co,so – Settings of statistics of all SIM cards of all GSM modules
  • AT%T##F=#,m,a,m,a,m,a,m,a – Settings of statistics of tariffs for module ## and SIM card #
  • AT%T##F=ALL,m,a,m,a,m,a,m,a – Settings of statistics of tariffs for module ## and all SIM cards
  • AT%TALLF=ALL,m,a,m,a,m,a,m,a – Settings of statistics of tariffs for all modules and SIM cards

  • Description of parameters:
    • Mi/mo – Minutes of incom./outg
    • callsCi/co – number of connected incom./outg
    • callsRi/ro – number of re-routed incom/outg
    • calls in groupSi/so – number of received/sent SMS messages
    • m - called minutes of the current period
    • a - unused minutes of the last period

Caution

  • When you change these parameters, all the other counters will be reset!


Wireless Engines

  • AT&Q## – Received GSM signal level (##=00–15)
  • AT&QALL – Received GSM signal level from all GSM modules
  • AT&Gxx=atcmd – Send command for AT commands directly to the GSM module
  • AT&Gxx=at+cnum – SIM card telephone number 
  • AT&Gxx=at+cpin="xxxx" – PIN entering 
  • AT&Gxx=at+clck="sc",1"xxxx" – PIN request enable 
  • AT&Gxx=at+clck="sc",0"xxxx" – PIN request disable

LOG and CDR List

  • AT&L – Log file listing (PRIGW awaits pressing of the Space bar in every 20 rows)
  • AT&C – Call file listing (PRIGW awaits pressing of any key in every 20 rows)
  • AT&CR – Call file listing and deleting (PRIGW awaits pressing of the # key to delete this row /with call info/ from memory and sends the next row)
  • AT&CS – SMS file listing (PRIGW awaits pressing of any key in every 20 rows)
  • AT&CSR – SMS file listing and deleting (PRIGW awaits pressing of the # key to delete this row /with SMS info/ from memory and sends the next row)

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#=grpout, grpin
    •  # is the module number
    • grpout, grpin - outgoing and incoming groups of module
  • 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 the 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 number 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&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

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 – Mode of switching SIM card
    • 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

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!SGxx=dial – Initiates 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!WGxx – Connects the following call from interface xx to AUX interface
    • 00..31 – from GSM No.
    • 32 – first incoming calls from GSM
  • AT!D – Terminates call on AUX interface

Trace

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

  • AT!RE – Start tracing of error messages on 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 used session
    • 55 – deactivate control via 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 – number of wireless engine
    • sim – number of currently used SIM: 0-none, 1–8-holder 1–8
    • sts3 – status of layer 3
    • sts2 – status of layer 2
    • phs2 – substatus of layer 2
    • type – type of wireless engine
  • AT^MI=ch – Module info ch = 0–31
  • *minfo: ch,sim,netid,"oper",new,cnt – Response to AT^MI
    • netid – network ID of active wireless network
    • oper – name of active wireless network
    • new – number of received and saved MS on SIM card
    • cnt – total number 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 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 – Content of SMS message
    • len – length of SMS message (number of bytes in PDU)PDU – content of message 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 or content of SMS message
    • err - error code (1-full,6-busy,14-notfound,40-write,41-read,42-delete,43-list,48-timeout)

    • cms – error cause from 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 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 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