Skip to main content

Need Help Using Spok Knowledge?

Internet Explorer is not supported. Please reload in Chrome, Edge, Firefox, or Safari.
Spok

Spok Messenger Ports: Script

Script ports are used for sending and receiving messages from systems using the Script protocol.

  1. Choose Interfaces > Ports. The Ports dialog displays.
  2. Click the New button to create a new port on the server. NOTE: When creating a port that has similar properties to an existing port, select the port of similar type before selecting New. Details specific to that port only are required.
  3. Enter the fields as described in the table below:

    Name

    In the Name field, enter a name to describe the Script port.

    Protocol

    From the Protocol list box, select the Script option. The fields are automatically populated with the entries shown in the graphic.

    Type

    From the Type list box, choose a type from the available options. The dialog is updated with the fields required by the type.

     

 

Conexant Modem

Enter the fields as described in the table below:

Name

In the Name field, enter a name to describe the Script port.

Protocol

From the Protocol list box, select the Script option. The fields are automatically populated with the entries shown in the graphic.

Type

From the Type list box, select the Conexant Modem option.

Serial Port

From the Serial Port list box, select a port that is defined as being AVAILABLE. A port that is already assigned within Spok Messenger is labeled IN USE. A port in use by another application on the server is labeled UNAVAILABLE.

Flow Control

From the Flow Control list box, select the RTS/CTS option.

Initialization String

In the Initialization String field, enter the initialization string for the modem. For generic modems, this field may be left blank. If the modem is not generic, an initialization string may be required. Consult the modem manual for details.

Dial String

In the Dial String field, enter the special dial string needed to request the modem to dial a number. For generic modems, this field may be left blank. If the modem is not generic, a special dial string may be needed to request the modem to dial a number. Consult the modem manual for details.

Answer After

In the Answer After Modem Rings field, enter the number of modem rings during which the server should wait before answering an incoming call. A number greater than zero is required. If 0 is entered, the modem does not auto answer. If left blank or an invalid string is entered, the dialog below is shown.

Destination

In the Destination field, enter the phone number to access the modem.

 

Direct RS-232

The server may be configured to communicate directly through a serial port.

Enter the fields as described in the table below:

Name

In the Name field, enter a name to describe the Script port.

Protocol

From the Protocol list box, select the Script option. The fields are automatically populated with the entries shown in the graphic.

Type

From the Type list box, select the Direct RS-232 option.

Serial Port

From the Serial Port list box, select a port that is defined as being AVAILABLE. A port that is already assigned within Spok Messenger is labeled IN USE. A port in use by another application on the server is labeled UNAVAILABLE.

Flow Control

From the Flow Control list box, select the None option.

 

Direct RS-485

The server may be configured to communicate through a serial port to an RS-485 bus through an intermediate line converter. Special signaling is required in order for these converters to function correctly–by selecting Direct RS-485 instead of Direct RS-232 you indicate that Spok Messenger should activate this special signaling.

Enter the fields as described in the table below:

Name

In the Name field, enter a name to describe the Script port.

Protocol

From the Protocol list box, select the Script option. The fields are automatically populated with the entries shown in the graphic.

Type

From the Type list box, select the Direct RS-485 option.

Serial Port

From the Serial Port list box, select a port that is defined as being AVAILABLE. A port that is already assigned within Spok Messenger is labeled IN USE. A port in use by another application on the server is labeled UNAVAILABLE.

Flow Control

From the Flow Control list box select the RTS Toggle option.

 

TCP/IP

The Spok Messenger server can be configured to receive packets from a generic interface over a TCP/IP connection. If the Spok Messenger Server requires connection to a network, consult an IT Administrator for information on the specific network. You need to obtain an IP Address or computer name and a port number and be connected to the network. A network administrator also provides access through a firewall if required.

Enter the fields as described in the table below:

Name

In the Name field, enter a name to describe the Script port.

Protocol

From the Protocol list box, select the Script option. The fields are automatically populated with the entries shown in the graphic.

Type

From the Type list box, select the TCP/IP option.

IP Bandwidth

From the IP Bandwidth list box, choose the bandwidth of the modem used to transfer data.

IP Address

In the IP Address field, enter the IP address of the Spok Messenger server.

TCP Port

In the TCP Port field, enter the port number on which the server listens for packets to be passed to the Generic Gateway.

Listen for TCP Connections

Use the Listen for TCP Connections option to determine whether the port is set to answer incoming calls. TCP/IP connections have an initiating side and an answering side - much like a telephone call.

 

If this option is selected, the port is set to answer incoming calls. If this is the case, the IP Address field may be left blank because the machine is “me.”

 

If this option is not selected, the port is considered the “calling” party. An entry in the IP Address field should be made.

Send Buffer Size

The Send Buffer Size field represents the amount of socket buffer allocated for sending data over the TCP connection. Default values are typically recommended. This field must be a multiple of 4096 bytes.

Recv Buffer Size

The Recv Buffer Size field represents the amount of socket buffer allocated for sending data over the TCP connection. Default values are typically recommended. This field must be a multiple of 4096 bytes.

 

V.92 Voice Modem

The server may be configured to communicate through a serial port to a modem for long haul telecommunications or PBX interaction. When this is required, special signaling must be performed to dial and answer the modem and so on - this selection indicates that Spok Messenger should enable this special signaling.

Enter the fields as described in the table below:

Name

In the Name field, enter a name to describe the Script port.

Protocol

From the Protocol list box, select the Script option. The fields are automatically populated with the entries shown in the graphic.

Type

From the Type list box, select the MULTI-TECH or NETCOMM V.92 MODEM option depending on which brand you have.

Serial Port

From the Serial Port list box, select a port that is defined as being AVAILABLE. A port that is already assigned within Spok Messenger is labeled IN USE. A port in use by another application on the server is labeled UNAVAILABLE.

Flow Control

From the Flow Control list box, select the RTS/CTS option.

Initialization String

In the Initialization String field, enter the initialization string for the modem. For generic modems, this field may be left blank. If the modem is not generic, an initialization string may be required. Consult the modem manual for details.

Dial String

In the Dial String field, enter the special dial string needed to request the modem to dial a number. For generic modems, this field may be left blank. If the modem is not generic, a special dial string may be needed to request the modem to dial a number. Consult the modem manual for details.

Destination

In the Destination field, enter the phone number to access the modem.

 

NOTE: Your local Telecom authority may have standards or regulations in place which legally limit the value of this field. Be sure to check this before exposing your modem to the public telephone network.

 

Wavecom GSM Modem

The server may be configured to communicate through a serial port to a modem for long haul telecommunications or PBX interaction. When this is required, special signaling must be performed to dial and answer the modem and so on - this selection indicates that Spok Messenger should enable this special signaling.

Enter the fields as described in the table below:

Name

In the Name field, enter a name to describe the Script port.

Type

From the Type list box, select the Wavecom GSM Modem option.

Serial Port

From the Serial Port list box, select a port that is defined as being AVAILABLE. A port that is already assigned within Spok Messenger is labeled IN USE. A port in use by another application on the server is labeled UNAVAILABLE.

Flow Control

From the Flow Control list box select the RTS/CTS option.

Initialization String

In the Initialization String field, enter the initialization string for the modem. For generic modems, this field may be left blank. If the modem is not generic, an initialization string may be required. Consult the modem manual for details.

Dial String

In the Dial String field, enter the special dial string needed to request the modem to dial a number. For generic modems, this field may be left blank. If the modem is not generic, a special dial string may be needed to request the modem to dial a number. Consult the modem manual for details.

Answer After Modem Rings

In the Answer After Modem Rings field, enter the number of modem rings during which the server should wait before answering an incoming call. A number greater than zero is required. If 0 is entered, the modem does not auto answer. If left blank or an invalid string is entered, the dialog below displays.

Destination

In the Destination field, enter the phone number to access the modem.

 

NOTE: Your local Telecom authority may have standards or regulations in place which legally limit the value of this field. Be sure to check this before exposing your modem to the public telephone network.

GSM PIN

In the GSM Pin field, enter the PIN programmed into the SIM (Keylock PIN), if required.

 

  1. Click Save to commit the new settings to the server. The new port configuration is saved.
  2. In order to reduce network traffic, the status of each of the serial ports is not automatically updated. Click Refresh to update the status of each port.
  3. Remember that the Port is only the portal through which data travel. You still need something to interpret and act on the data. Once your port is configured, you still need to configure a Script Gateway. Refer to Script Gateways for more information.