# NEC PBX parameters

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

Field | Type/ Unit | Default | Description
--- | --- | --- | ---
trunkdirection | mask | 0 | Direction of the line. 0 - Two way 1 - Inbound only 2 - Outbound only
playcleardown | mask | 1 | Whether or not to play cleardown tone when disconnecting. 0 - No 1 - Yes
networkside | mask | 0 | 0 - Run as TE side. 1 - Run as NT side. Run as NT side for testing purposes only.
nowaitfordialtone | mask | 0 | 0 - Wait for dial tone before dialing digits 1 - Do not wait for dial tone before dialing digits
abortnodialtone | mask | 1 | 0 - Proceed with dialing even if no dial tone is detected 1 - Abort the outbound call if dial tone is not detected
TmMinRingOn | ms | 600 | Minimum on time for the out-of-band signaling bit to have a valid ring signal.
TmMaxRingOn | ms | 1400 | Maximum on time for the out-of-band signaling bit to have a valid ring signal.
TmMaxRingOff | ms | 2800 | Maximum off time for the out-of-band signaling bit to have a valid ring signal.
TmRingOn | ms | 1000 | Ring on time used by network simulation.
TmRingOff | ms | 2000 | Ring off time used by network simulation.
MaxRings | count | 5 | Maximum number of ring cycles played before the network side times out with no answer as the disconnect cause.
TmBitQualification | ms | 20 | Minimum time required for a bit transition to be recognized. This time applies to states other than the connected state.
NmRingsSeizure | count | 1 | Number of ring cycles to wait before reporting an NCCEVN_INCOMING_CALL.
debug | mask | 0 | Debug mask. Reserved for internal use.
TmWaitForRelease | ms | 10000 | Time waiting for the remote end to acknowledge a disconnect. If this timer expires, an NCCEVN_CALL_DISCONNECTED event is generated and the protocol enters a fault state, sending an out-of-service event to the application.
BusyFreqLo | Hz | 425 | Busy tone low frequency. Used as the cleardown tone.
BusyFreqHi | Hz | 0 | Busy tone high frequency. Used as the cleardown tone.
TmBusyOn | ms | 500 | Tone on time for the busy tone.
TmBusyOff | ms | 500 | Tone off time for the busy tone.
AmpCPTones | IDU | 350 | Amplitude of all call progress tones.
bmCDBit | mask | 1 | Bit mask that specifies the value of the C and D bits (default is 1).
TmWaitAnswer | ms | 10000 | Time to wait for the remote end to answer. Used by the network side.
xferstring | string[6] | !; | Initial string to dial (excluding the number to transfer to) in performing a transfer operation. Meaning: ; (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 to dial to reconnect after a transfer has failed. Meaning: ; (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
TmQDisconnect | ms | 1500 | Minimum time required for a bit transition to be recognized while in the connected state.
TmPredial | ms | 200 | Pre-dial delay for dialing digits in a transfer command.
TmPreDigitDelay | ms | 1000 | Pre-dial delay for dialing digits in normal calling.
Tm1stDigit | ms | 10000 | Time to wait for the first DTMF digit on an inbound call. Network side only.
TmDigitOn | ms | 1000 | Inbound digit stuck on timer. Network side only.
TmInterDigit | ms | 1000 | Inbound inter-digit timeout. Network side only.
NmDigits | count | 4 | Number of digits to expect in called party number. Network side only.
TmWaitDialTone | ms | 3000 | Time to wait for dial tone before proceeding with outbound call.
TmDTMF_ON | ms | 80 | DTMF on time (for playing DTMF tones).
TmDTMF_OFF | ms | 80 | DTMF off time (inter-digit time used in playing DTMF strings).
FrRingLo | Hz | 425 | Low frequency of audible ring tone. Network side only.
FrRingHi | Hz | 0 | High frequency of audible ring tone. Network side only.
TmARingOn | ms | 1000 | On time of audible ring. Network side only.
TmARingOFF | ms | 2000 | Off time of audible ring. Network side only.
resourcegettimes | ms | 0xa0f | Reserved for internal use.