beautypg.com

Nokia WAP and SMS gateway User Manual

Page 42

background image

Chapter 5. Setting up a SMS Gateway

Variable

Value

Description

connect-allow-ip

IP-list

If set, only connections from

these IP addresses are accepted
to receive-port. TCP/IP
connection only.

idle-timeout

number (seconds)

If this option is set to a value

larger than 0, then the connection
will be closed after the
configured amount of seconds
without activity. This option
interacts with the

keepalive

configuration option. If

keepalive

is smaller than

idle-timeout

, then the

connection will never be idle and
those this option has no effect. If

keepalive

is larger than

idle-timeout

, than

keepalive

reopens the

connection. This allows one to
poll for pending mobile
originated Short Messages at the
SMSC.

keepalive

number (seconds)

A keepalive command will be

sent to the SMSC connection this
many seconds after the last
message. The right value to use
depends on how eager the SMSC
is to close idle connections. 50
seconds is a good guess. If you
see many unexplained
reconnects, try lowering this
value. Set it to 0 to disable this
feature. Requires username or
my-number to be set.

wait-ack

number (seconds)

A message is resent if the

acknowledge from SMSC takes
more than this time. Defaults to
60 seconds.

35