Parameters for SNPP

Top  Previous  Next

These variables control how PageGate uses the SNPP method of communication. It is recommended to set these parameters at the Carrier level.

 

Click here for more information on how PageGate uses SNPP.

 

Variable

Possible Values

Description

BodyMaxChars

Numeric

Example: BodyMaxChars = 200

 

This parameter limits the length of the %Message% macro and does not override the carrier "Max Chars" setting.

Filter

File path to and file name of the filter to run

Note: pgfilter.exe and pgfilter.dll must reside in the PageGate program directory to use this parameter.

 

Example:  Filter = c:\PageGateData\Filters\yourcarrierfilter.xml

 

This parameter calls on PageGate's filtering system when using this carrier.

FilterDebugFile

File path to and file name of the log to write

Example: FilterDebugFile = c:\PageGateData\Filters\outboundfilter1.log

 

When using a filter, you can use this variable to output this specific filter's log to the specific location and file name.

From

Text

Example: From = CAD

 

This variable overrides the value passed to PageGate by the input modules/APIs. By specifying this variable, you're telling PageGate to use a single, standardized sender's name for all traffic controlled by this template.

InterCommandDelay

Milliseconds

Example: InterCommandDelay = 500

 

This variable inserts a pause, in milliseconds, in between each command used in the protocol negotiation with the hardware. This is used to make sure PageGate doesn't send commands faster than the device's command shell can receive them and is not required for all devices.

InterMessageDelay

Milliseconds

Example: InterMessageDelay = 1000

This variable forces PageGate to delay for the specified number of milliseconds (1000 = 1 second) after delivering each message.

SNPPMessOnly

True

False

Example: SNPPMessOnly = True

This variable tells PageGate to use the MESS command, instead of the DATA command, during the SNPP delivery sequence.

StripAlpha

True

False

Example: StripAlpha = True

 

Setting this value to true will remove any alphabetical character from messages delivered through this carrier. For example, if you tried to send the message 'Alert on node 127.0.0.1', the only thing delivered would be '127.0.0.1'

StripCharacters

See description

Example: StripCharacters = |\~

 

This parameter will remove all instance of any character(s) entered. In the above example, that would strip out all pipes (|), backslashes (\) and tildes (~).

StripNonPrintable

True

False

Example: StripNonPrintable = True

 

Settings this value to true will remove any non-printable ASCII characters, like carriage returns, line feeds, horizontal tabs and similar, from messages delivered through this carrier.

To

Text

Example: To = 7818290500

 

This variable overrides the ID/PIN or Email values. By specifying this variable, you're telling PageGate to send all traffic processed by this template to the specified ID or Email address instead.

UseFilterDll

True

False

Note: pgfilter.exe and pgfilter.dll must reside in the PageGate program directory to use this parameter.

 

Example: UseFilterDll = True

 

Setting this parameter to true tells PageGate to use the filter dll, which is a more efficient method of running the filter.