Skip to content

config answer

Opens an editor to configure modem behavior. The terminal type must be ANSI and operates like the Lantronix Local Manager's console port. The modem's default configuration is for North America.

Command availability

CLI resource: modem

Modem: All

Lantronix system: All

LMS offerings: All

Syntax

config answer

Subcommands

show - display current settings.

enable and disable - to enable/disable the dial-in feature.

Note: If you use the pulse subcommand to enable the modem to answer on Pulse failure, the modem will do so whether you have applied the enable subcommand or not.

init - edit the init string to add country code and other telco variables.

For example, to enable the modem to be used in Belgium, add the AT+GCI=fd variable to the init string.

To remove a setting, place the no modifier before it.

[no] allow <"phone number" | all> - allow access from a specific calling phone number or from all numbers. The "phone number" string may be all or part of a phone number.

[no] deny <"phone number" | all> - deny access to a specific calling phone number or from all numbers. The "phone number" string may be all or part of a phone number.

[no] rings - answer after (default 2) rings

[no] ringback - answers only when a number calls, hangs up, and redials within n seconds. The default is 30 seconds.

[no] pulse - Specify whether the modem answers after a Pulse failure initiates outband operation, applying all other defined restrictions. Setting pulse overrides the no enable and disable subcommands.

[no] suspend - disable SLV tests when PPP is enabled.

[no] logrings - Enable inbound call attempts

[no] number and [no] domain - these are both used in constructing the SMS email address that Lantronix Control Center uses when sending the ppp on message to establish contact with an Lantronix Local Manager at a remote location. This capability is available for cellular and Iridium modems.

show - display current settings

exit - leave the modem configuration editor.

Usage

By default, the modem is not in auto-answer mode - all calls are ignored.

Caller ID can be used to accept (allow) or refuse (deny) calls. Caller ID information is transmitted between the first and second rings. The allow and deny commands use whole prefix masking, for example allowing all numbers within a specific area code, denying numbers beginning with a specified string of digits, or allowing specific numbers such as 4045551212. In the example below, calls from the phone number 2128675309 are allowed but all calls that begin with the string 512471 are blocked.

The following example shows a basic configuration:

[admin@LantronixLM (modem)]# config answer
[config answer]# enable
[config answer]# init "" ATZ
[config answer]# allow all
[config answer]# exit
This example shows a more complex configuration:

[admin@LantronixLM (modem)]# config answer
[config answer]# enable
[config answer]# rings 5
[config answer]# allow 2128675309
[config answer]# deny 512471
[config answer]# ringback 30
[config answer]# pulse
[config answer]# suspend
[config answer]# logrings
[config answer]# number 512-555-1212
[config answer]# domain mobile.att.net
[config answer]# init "" ddd+++dddATS0=0&S1 OK AT+VCID=1 OK AT+GCI=fd

Note: Be sure to include the double quotes in the init string.

In the Lantronix web interface

Inventory > group page > Out-of-Band > Modem - specific to this inventory group

Inventory > Local Manager page > Out-of-Band > Modem - specific to this modem

History

2.5 - This command was introduced. It replaces config Local Manager modem.

3.3 - Subcommands domain and number were added to support Iridium modem.

4.1 - Log Rings command added to record inbound dial attempts.

Related commands