# WNK parameters

To program the WNK TCP to operate within different countries and networks, modify the TCP-specific parameters, stored within the parameter category NCC.X.ADI_WNK. You can modify parameters that program TCP/host interaction, configure unregulated features, or configure features that can change from switch to switch within the same network. You can freely edit these parameters to suit your implementation.

Note: The international wink start protocol (IWK) is now incorporated into the wink start protocol. If you were using the DID protocol, set the parameter trunkdirection to TRUNK_INBOUND to use the wink start protocol. If you were using the OGT protocol, set the parameter trunkdirection to TRUNK_OUTBOUND to use the wink start protocol.

Caution: | Most of the parameters that follow are signaling specific. Changing their value invalidates any approval certificate for the used board and can cause the board to malfunction. These parameters are described here for reference purposes only.

The following table describes NCC.X.ADI_WNK parameters (within the parameter category NCC.X.ADI_WNK):

Field | Type/ Unit | Default | Description
--- | --- | --- | ---
numdigits | count | 3 | Relevant to inbound protocol. Specifies the number of incoming digits to expect.
variabledigits | mask | 0x1 | Determines what to do if a timeout occurs during digit reception: 0 - Reject the call. 1 - Notify the host of an inbound call
idlebits | mask | 0x0 | Idle code mode. 0 - Setting the A bit to 0 means idle, 1 means seized. 1 - Setting the A bit to 0 means seized, 1 means idle.
trunkdirection | mask | 0x0 | Trunk direction: 0 - Bidirectional (default) 1 - Inbound 2 - Outbound
playcleardown | mask | 0x0 | If 1, play cleardown tone while hanging up (inbound).
defaultrejecttone | count | 2 | Tone to play if NCC.START.waitforPCtime expires: 1 - Ring 2 - Busy 3 - Fast busy (reorder)
transfersupport | mask | 0x1 | Flag to select whether PBX transfer is allowed: 0 - Disables transfer commands 1 - Enables transfer commands
qualtime | ms | 30 | Qualification time for signaling bit going to ON during register signaling phase of call setup.
compelledKP | mask | 0x0 | Register signaling. If 1, prefix with/expect compelled KP tone. Used in Taiwan.
immediatestart | mask | 0x0 | Line signaling. If 1, inbound doesn't send a wink (immediate start).
signalingmethod | count | 0 | Determines tones register signaling is performed with: 0 - DTMF 1 - MF 2 - Decadic signaling
receiveKPST | mask | 0x1 | When register signaling is performed with MFs: 0 - Inbound does not look for KP and ST tones. 1 - Inbound looks for KP and ST tones.
noSTreceptionOK | mask | 0x0 | Determines whether the TCP will accept signaling if the ST tone does not arrive. 0 - Does not accept signaling. 1 - Accepts signaling.
sendKPST | mask | 0x1 | (Outbound only) determines whether or not to send KP and ST tones when dialing with MF tones: 0 - Do not send KP and ST tones. 1 - Send KP and ST tones.
anibeforedid | ms | 0x0 | Determines whether the ANI digits come before the DID digits. 0 - DID digits come before the ANI digits. 1 - ANI digits come before the DID digits.
anididtone | mask | 0x0 | For DTMF, tone that specifies a separator between DID and ANI digits. Set to 0x2A for * (asterisk). Set to 0 for no separator. For MF: # (pound sign) - Pauses between DNIS and ANI. * (asterisk) - Waits for wink between DNIS and ANI. @ (at sign) - Waits for answer between DNIS and ANI.
endofdigitstone | mask | 0x0 | Tone that specifies the end of digits. Set to 0x23 for # (pound sign).
winktime | ms | 210 | Inbound: Specifies the duration of the wink used by the TCP to signal seizure acknowledgment.
prewinktime | ms | 210 | Inbound: Time to wait before sending the wink that acknowledges the seizure.
wait1stdigittime | ms | 7000 | Inbound: Time to wait after seizure acknowledge for the first digit to arrive.
waitfordigitstime | ms | 2000 | Inbound: Time to wait after each digit arrives for the next digit.
winkwaittime | ms | 10000 | Outbound: Time to wait for seizure acknowledgement after seizing the line. Maximum time to wait for the far end to wink. Set to 0 if no wink is expected (immediate start).
minwinktime | ms | 100 | Outbound: Minimum duration of seizure acknowledgment wink.
maxwinktime | ms | 4900 | Outbound: Maximum duration of seizure acknowledgment wink.
predialtime | ms | 70 | Outbound: Time to wait after the wink to start dialing.
mfkpsttimeon | ms | 80 | Outbound: Duration of the KP and ST tones, if transmitted.
mfkpsttimeoff | ms | 80 | Outbound: Duration of the silence after the KP and ST tones.
mfkpstampl | IDU | 352 | Outbound: Amplitude of the KP and ST tones.
releaseguardtime | ms | 1000 | Outbound: Time after an outbound call in which the TCP will not place another call.
assumenewdigittime | ms | 0 | Inbound: There are some switches that leave too short a time between MF tones to detect the silence. This parameter adjusts the minimum amount of silence that must occur between consecutive MF tones before the TCP assumes they represent different digits. Set to slightly more than the full duration of an MF digit cycle (tone on + off).
connectbacktime | ms | 100 | Time to wait after sending transfer back hookflash if the PBX is playing busy tone.
xferstring | string[6] | !; | Prefix dial string for call transfer. The string is dialed before dialing the number, where: ; (semicolon) - Wait for precise dial tone . (period) - Insert long pause in dialing , (comma) - Insert short pause in dialing ! (exclamation point) - Flash hook P - Switch to pulse dialing T - Switch to DTMF dialing M - Switch to MF dialing
connstring | string[6] | ! | String for transfer back to the connected state with the first call. It is dialed if a call transfer fails, where: !; (semicolon) - Wait for precise dial tone . (period) - Insert long pause in dialing , (comma) - Insert short pause in dialing ! (exclamation point) - Flash hook P - Switch to pulse dialing T - Switch to DTMF dialing M - Switch to MF dialing
BCD_BitFlag | mask | 0 | Controls behavior of the B, C, and D bits: 000 - BCD bits follow the A bit (default). Typical on T1 trunks. 001 - 111 - BCD bit value. 101 is typical on E1 trunks.
KP_Reset | mask | 0 | Specifies whether or not to reset the DNIS string if a KP tone is received in the middle of the string: 0 - Do not reset the string (default). 1 - Reset the string to no digits collected.
Pass_KP_ST | mask | 0 | Specifies whether or not to return KP and ST tones to the application with the other digits in the DID string: 0 - Do not return KP and ST tones (default). 1 - Return KP and ST tones.
MLPP | mask | 0 | Preemption control.
metering_enabled | mask | 0 | 0 - Disables metering pulse detection. 1 - Enables metering pulse detection.