> 7.12 | ATS0 Set number of rings before automatically answering a call

> Syntax

> Read Command ATS0?
> Response(s)
> <n>
> OK
> ERROR

> Write Command ATS0=<n>
> Response(s)
> OK
> ERROR

> Reference(s) |  | PIN |  | ASC0 | ASC1 | USB | MUX1 | MUX2 | MUX3 |  |  | Charge | Q | Last
> V.250 |  | ± |  | + | + | + | + | + | + |  |  | - | - | -

> Parameter Description

> <n>(num)(&W)(&V)

> 000(&F)
> Automatic answer mode is disabled.
> 001-255
> Enable automatic answering after specified number of rings.
> Notes

> • | This command works for MT data and fax calls.

> • | Autoanswering of CSD data and fax calls is supported on ASC0/Mux1 only.

> • | If <n> is set to higher values, the calling party may hang up before the call is automatically answered.

> • | The correlation between ATS7 and ATS0 is important. Example: Call setup may fail if ATS7=30 and ATS0=20.

> • | Setting is local to the interface. It is allowed to have different settings on different interfaces. In such cases the interface 'wins', which is idle and uses the smallest <n> value.

> • | The ATS0 write command is PIN protected.

> • | According to "3GPP TS 27.007 (GSM 07.07): AT command set for User Equipment (UE)", ATS0 is also used as GPRS compatibility command to answer automatically to a network request for PDP context activation (see Section 11.21). Therefore, when the ATS0 write command is issued with <n> greater than 0, the ME will attempt to perform a GPRS attach if not yet attached and if configured to do so (due to the setting AT^SCFG="GPRS/ATS0/withAttach","on"). If the automatic GPRS attach fails the ME keeps trying to attach for approx. 5 minutes, before ATS0 ends up with "ERROR" or "+CME ERROR: unknown", though the new <n> value takes effect. To avoid the risk of long response times to ATS0 in such case take care that the parameter AT^SCFG=<gs0aa> is off, if autoanswer mode is not needed for GPRS or if the mobile works in non-GPRS networks. The GPRS attach will not be performed on recalling a stored user profile with ATZ or on powerup, even though a value <n> greater than 0 was stored in the user profile with AT&W.