(Page 1 of 1 in this chapter) Version


Chapter 8

Wink Start Protocols
(Digital and Analog )


8.1 Introduction
8.2 Capability Mask
8.3 Signaling Overview
8.4 Parameters
8.4.1 Editable Parameters
8.4.2 Non-editable Parameters
8.5 Special TCP Behavior
8.5.1 Inbound Calls: Retrieving Digits All at Once
8.5.2 Inbound Calls: Receiving Digits One at a Time

8.1 Introduction

This chapter describes the Wink Start (WNK) signaling protocol and TCP parameters.

This chapter provides the following information:

This protocol family includes protocols used on T1 in the USA, Hong Kong and Taiwan. The protocol uses one-bit signaling (or presence or absence of current in the analog case), and owes its name to the "wink" (brief presence of current or variation of the signaling bit) that the inbound side uses to acknowledge line seizure. Register signaling is performed by in-band DTMF or MF tones, or by out-of-band decadic pulses.

The International Wink Start (IWK), DID, and OGT protocols have been incorporated into the Wink Start protocol. See Section 8.4 for more information about parameters used to support these older protocols.

8.2 Capability Mask

With the NCC service, an application can call nccQueryCapability to determine the capabilities of a protocol. nccQueryCapability returns a capabilitymask.

For information about the capabilities supported for AG CAS protocols with NCC call control, refer to Appendix B.

8.3 Signaling Overview

The wink start protocol is symmetrical (same implementation from the network or from customer premises equipment).

The signaling channels supporting the WNK line signaling protocol are referred to as Af and Bf in the forward direction, and Ab and Bb, in the backward direction. The forward channel indicates the condition of the outbound switch equipment and reflects the condition of the calling party's line. The backward channel indicates the condition of the called party's line (the inbound equipment).

In the U.S. and Taiwan, the idle code is AB=00

In Hong Kong, two variations are possible in the Hong Kong Telecom network:

The two variations execute call setup in exactly the same way, except that all bit changes are opposite. The WNK TCP parameter optionflags, bit 1, specifies which variation to use.

The line signaling for a typical call is illustrated in the following table. The table represents the "pulse on busy" variation:
State

Outbound AfBf

Direction

Inbound Ab

Idle

00

00

Seizure

11

00

Seizure Acknowledge

11

00-11-00 (wink)

Here the outbound side starts to send the address information. This can be done by means of DTMF tones, MF tones, or decadic pulses. If the method is decadic pulses, the Af bit is switched off (pulse on) and on (pulse off) repeatedly to signal the digits.

Register signaling: digit spill

DTMF or MF

00

Register signaling: pulse dial

00 pulse on

00

11 pulse off

00

All the address information has been transferred, now the inbound side must accept or reject the call. It does so by playing the ring or the busy tone on the voice path.

If the call is rejected, the outbound side is supposed to switch back to signaling AB = 00 (idle) thus clearing the line.

Clear forward and idle

00

00

If the call is accepted, the inbound side answers the call by flipping both backward bits to 1.

Answer - conversation state

11

11

Depending on which of the sides hangs up the call first, we have a clear back signal, or a clear forward signal. Idle follows.

Inbound hangs up first: Clear back

11

00

Outbound hangs up first: Clear forward

00

00 or 11

Idle

00

00

In analog variations the digital bit signaling is translated into E & M or DID analog signaling by the line interface circuitry on the board.

In U.S. implementations, the wink start protocol can transfer ANI (caller ID) information in addition to DID digits (direct inward dialing - the called address). A separator tone is used to distinguish between DID and ANI digits in the DTMF digit spill. Usually the separator tone is a `*'(941+1209 Hz). The parameter NCC.X.ADI.WNK.anididtone (see following table) determines the TCP's behavior with respect to ANI digits.

Taiwan and Hong Kong do not use ANI digits.

8.4 Parameters

The WNK TCP is programmed for operation within different countries and networks by a number of TCP-specific parameters. These are stored within the parameter category NCC.X.ADI.WNK.

Parameters in this category fall into two groups:

8.4.1 Editable Parameters

The following table describes NCC.X.ADI.WNK parameters (within the parameter category NCC.X.ADI.WNK) that you may modify. Also listed are the equivalent ADI.WNK parameters, to assist with migration from ADI to NCC.
NCC Field Name

ADI Field Name

Type/Unit

Default

Description

numdigits

numdigits

number

7

Relevant to inbound protocol. Specifies the number of incoming digits to expect.

variabledigits

optionflags (bit 0)

mask

0x0

Determines what to do if a timeout occurs during digit reception:

0 Reject the call

1 Notify the host of an inbound call

idlebits

optionflags (bit 1)

mask

0x0

(Hong Kong only):

0 Use pulse on busy line signaling.

2 Use pulse on idle line signaling.

trunkdirection

optionflags (bits 2 and 3)

mask

0x0

Trunk direction:

0 bidirectional (default)

4 inbound

6 outbound

playcleardown

optionflags (bit 4)

mask

0x0

If 1, play cleardown tone while hanging up (inbound).

defaultrejecttone

defaulttone

mask

0x0

Tone to play if NCC.START.waitforPCtime expires:

0 fast busy (reorder)

1 ring

2 busy

transfersupport

xfersupport

number

0x0

Flag to select whether PBX transfer is allowed.

0 Transfer commands are disabled

1 Transfer commands are allowed

8.4.2 Non-editable Parameters

The following NCC.X.ADI.WNK parameters are country- or network-specific, and cannot be modified. Also listed are the equivalent ADI.WNK parameters, to assist with migration from ADI to NCC.
Caution:

Most of the parameters that follow are signaling-specific: changing their value will invalidate any approval certificate for the used board, and may cause the board to malfunction. These parameters are described here for reference purposes only.

NCC Field Name

ADI Field Name

Type/Unit

Example

Description

Bit changes qualification timers - during different phases of the protocol.

qualtime

qualaddron

qualaddroff

qualdisconnect

ms

50

Qualification time for signaling bit going to ON, during register signaling phase of call setup.

Signaling defaults

compelledKP

(no antecendent)

mask

0x0

Register signaling - if 1, prefix with/expect compelled KP tone. Used in Taiwan.

immediatestart

winktime=0

mask

0x0

Line signaling - if 1, inbound doesn't send a wink (immediate start).

signalingmethod

detectmode

mask

0x0

Determines tones register signaling is performed with:

0 DTMF

1 MF

2 Decadic signaling

receiveKPST

(no antecendent)

mask

0x0

If set, when register signaling is performed with MFs, inbound looks for the KP and ST tones.

noSTreceptionOK

(no antecendent)

mask

0x0

If noSTreceptionOK is set, determines whether the TCP will accept signaling if the ST tone does not arrive.

sendKPST

(no antecendent)

mask

0x0

(Outbound only) determines whether or not to send KP and ST tones when dialing with MF tones:

0 Send KP and ST tones.

1 Do not send KP and ST tones.

anibeforedid

DTMFmask

ms

0x3

If set, ANI digits come before the DID digits.

anididtone

(no antecendent)

mask

0x26

Characters in digit string: "*"

endofdigitstone

(no antecendent)

mask

0x46

Characters in digit string: "F"

winktime

winktime

ms

200

Inbound: Specifies the duration of the wink used by the TCP to signal seizure acknowledgment.

prewinktime

prewinktime

ms

100

Inbound: Time to wait before sending the wink that acknowledges the seizure.

More timers for the inbound protocol. Times are expressed in 1/100 ms.

wait1stdigittime

wait1stdigittime

ms

0

Inbound: Time (in 1/100 ms) to wait after seizure acknowledge for the first digit to arrive.

waitfordigitstime

waitfordigitstime

ms

120

Inbound: Time (in 1/100 ms) to wait after each digit arrives, for the next digit.

Outbound protocol parameters

winkwaittime

winkwaittime

ms

10000

Outbound: Time to wait for seizure acknowledgement after seizing the line.

minwinktime

minwinktime

ms

100

Outbound: Minimum duration of the seizure acknowledgment wink.

maxwinktime

maxwinktime

ms

4900

Outbound: Maximum duration of the seizure acknowledgment wink.

predialtime

predialtime

ms

70

Outbound: Time to wait after the wink to start dialing.

mfkpsttimeon

mfkpsttime

ms

Outbound: Duration of the KP and ST tones, if transmitted.

mfkpsttimeoff

mfkpstontime

ms

80

Outbound: Duration of the silence after the KP and ST tones.

mfkpstampl

mfkpstofftime

IDU

352

Outbound: Amplitude of the KP and ST tones.

releaseguardtime

releaseguardtime

ms

1000

Outbound: Time after an outbound call in which the TCP will not place another call.

assumenewdigittime

(no antecedent)

ms

0x0

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 a MF digit cycle (tone on + off).

connectbacktime

(no antecedent)

ms

0x0

Time to wait after sending transfer back hookflash is the PBX was playing busy.

xferstring

xferstring

string[6]

"!;"

Prefix dial string for call transfer. The string is dialed before dialing the number, where:

! Flash hook

; (semicolon) Wait for precise dial tone.

connstring

connstring

string[6]

"!"

String for transfer back to the Connected state with the first call. It is dialed if a call transfer fails, where:

! Flash hook.

The following parameters are reserved for NMS internal use:

8.5 Special TCP Behavior

The following sections describe operations specific to Wink Start-derived TCPs within the framework of Natural Call Control.

8.5.1 Inbound Calls: Retrieving Digits All at Once

With Wink Start-derived TCPs, after NCCEVN_INCOMING_CALL is received, the calledaddr field in the NCC_CALL_STATUS structure usually contains all received digits. The callingaddr, usercategory and tollcategory fields are usually NULL.

Note that with the WNK0 TCP, digital two-way Wink Start, if the parameter NCC.X.ADI.WNK.anididtone is set correctly, any ANI digits in the digit string are presented to the application in the callingaddr field.

The parameter NCC.X.WNK.numdigits determines the number of digits the TCP should expect from the calling party (including ANI digits and the "*" symbol, when expecting ANI). The default is 3.

8.5.2 Inbound Calls: Receiving Digits One at a Time

To receive digits one at a time make sure the Ncc.Start.OverlappedReceiving parameter is set.

In general, digits are presented in the order in which they arrive. If ANI are present, the DTMF tones `*' and `#' are also present in the digits received by the TCP. Only the `*' (separator between ANI and DID) is passed to the application though, not the `#', that signals the end of the digit string (`ST' tone). When receiving digits one at a time, the application must know the order of the fields in the digit string (ANI or DID first).



(Page 1 of 1 in this chapter) Version


tech_support@nmss.com
Copyright © 1999, Natural MicroSystems, Inc. All rights reserved.