Parameters for WCTP

Top  Previous  Next

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

 

Click here for more information on how PageGate uses WCTP.

 

Variable

Possible Values

Description and Possible Values

BodyMaxChars

Numeric

Example: BodyMaxChars = 200

 

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

EnvelopeFrom

Email Address

Example: EnvelopeFrom = your@sender.com

 

WCTP has two potential sender values, one on the 'outer' transaction and one on the 'inner' payload.

 

This setting will only change the outer sender value. When this variable is not present, the outer and inner envelope sender value is the same. This variable provides a way to use a different outer envelope sender value, if required.

EnvelopeFromAsEmail

True

False

Example: EnvelopeFromAsEmail = True

 

This variable forces the EnvelopeFrom value to be turned into an valid email address, if it isn't already.

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 Value

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.

InternetDomain

Email domain

Example: InternetDomain = exampledomain.com

 

This variable determines the domain name PageGate will pass during the WCTP negotiation sequence.

 

If this variable has already been implemented for SMTP/Email, it does not need to be specified again at a carrier level unless the receiving WCTP host requires you to specify a domain name other than your email domain.

InterMessageDelay

Milliseconds

Example: InterMessageDelay = 1000

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

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

Recipient ID

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.

WCTPBase64Encode

True

False

Example: WCTPBase64Encode = False

 

This variable tells PageGate whether or not to use base64 encoding in WCTP transmissions. If this variable is not present, the value is assumed to be true and base64 is used.

WCTPResponsesTo

Email Address

Leave Empty

Example: WCTPResponsesTo = email@domain.com

 

This variable tells PageGate to include the sendResponsesToID field in the message envelope. A value of 'none' will instead send an allowResponse field with the value of 'false'.