IDEC WindSRV User Manual

Page 33

Advertising
background image

32

www.kepware.com

KEPServerEX5 Help

Attempting to issue a dial command
while the Mode tag is set to 2
(incoming call only) will generate an
error.

_DialNumber

The DialNumber tag shows the phone
number that is actually dialed, after
any dialing preference translations
have been applied (such as the
addition of an area code). This tag is
intended for debugging purposes. It
can provide useful feedback to an
operator if phone numbers are
entered manually.

Read Only

_Hangup

Writing any value to this tag hangs
up the current connection. The
"Hangup" tag will also hang-up the
current connection when an external
device has called the server. Writes
to the "Hangup" tag will be ignored if
the Status <= 3 (Idle) meaning that
there is no currently open
connection.

Read/Write

_LastEvent

Whenever the Status changes, the
reason for the change is set in this
tag as a number. For a list of event
numbers and meanings, refer to

Last

Event Values

.

Read Only

_Mode

This allows for configuring the line
for calling only, answering only or
both.

Writing a 1 to the Mode tag sets the
line for outgoing calls only, no
incoming calls will be answered when
in this mode. Writing a 2 to the Mode
tag sets the line for incoming calls
only, requests to dial out (Writes to
the Dial tag) are ignored. The default
setting is 0, which allows for both
outgoing and incoming calls.

This value can only be changed when
the Status is <= 3 (Idle).

Read/Write

_PhoneNumber

This is the current phone number
that will be dialed. Users can Write to
this value at any time, but the
change is only effective if Status is
<= 3 (Idle). If users Write to the
phone number while the status is
greater than 3, the number will be
queued. As soon as the status drops
to 3 or less, the new number will be
transferred to the tag. The queue is
of size 1, so only the last phone
number written will be remembered.

The phone number must be in
canonical format in order to apply
the dialing preferences. If the
canonical format is used, the
resulting number that will be dialed
(after dialing preferences have been
applied) can be displayed as the
DialNumber.

Read/Write

Advertising