# NCC parameters and ADI parameters

Parameter structures are changed only minimally. However, they exist in different locations. The following convention is used for naming NCC parameters:

- Protocol independent parameters are under NCC.START.

- There is a manager-specific parameter category for all protocols implemented by a particular Natural Access manager. For instance, all parameters that are generally used by protocols implemented in the ADI manager are placed under NCC.X.ADI.

- There is a parameter category for each protocol. For example, the loop start protocol's parameters are under NCC.X.ADI_LPS.

The following table lists the ADI structures and the corresponding NCC structures:

ADI structure | NCC structure | Purpose
--- | --- | ---
ADI.PLACECALL | NCC.X.ADI_PLACECALL | ADIMGR-specific call placement parameters.
NCC.X.ADI_ISDN(.PLACECALL_EXT) | Call placement parameters specific to ISDN.
NCC.X.ADI_CAS(.PLACECALL_EXT) | Call placement parameters specific to CAS protocols.
ADI.START | NCC.START | Generic NCC protocol starting parameters.
NCC.X.ADI_START | ADIMGR-specific protocol starting parameters.
ADI.DID | NCC.X.ADI_WNK | DID-specific protocol-starting parameters.
ADI.FDI | NCC.X.ADI_FGD | FDI-specific protocol-starting parameters.
ADI.GST | NCC.X.ADI_GDS | GST-specific protocol-starting parameters.
ADI.LPS | NCC.X.ADI_LPS | LPS-specific protocol-starting parameters.
ADI.OGT | NCC.X.ADI_WNK | OGT-specific protocol-starting parameters.
ADI.WNK | NCC.X.ADI_WNK | WNK-specific protocol-starting parameters.
ADI.ISDN | NCC.X.ADI_ISDN | ISDN-specific protocol-starting parameters.

Note: The previous list does not account for all protocol-specific parameter structures supported by ADI call control or NCC. This only lists the standard protocols that were formerly defined in adidef.h, as a model by which protocol-specific parameters are mapped from one API to the other.

The following NCC.START parameters do not exist in the ADI.START structure:

NCC.START parameter | Purpose
--- | ---
debugflag | Off (0) or on (non-zero). Used to report low-level debug events to the application. Specification of which low-level events to report is left to the manager implementation.
waitforPCtime | Time protocol gives an application to respond to an NCCEVN_INCOMING_CALL event. This parameter was originally in ADI.GST and ADI.WNK.
overlappedreceiving | Determines if the protocol will receive digits in overlapped receiving mode.

The following NCC parameters were moved from a corresponding ADI parameter structure:

NCC parameter | ADI equivalent | Purpose
--- | --- | ---
NCC.START.eventmask | ADI.START.callctl.eventmask | Determines whether or not certain events are sent to the application. For details, see NCC service global parameters.
NCC.START.waitforPCtime | ADI.XXX.waitforPCtime | Time protocol gives an application to respond to a NCCEVN_INCOMING_CALL event
The following NCC.START parameters describe call progress tones in the target country.
callproggenerate.busyfreq1 | Protocol-specific | First frequency of busy tone.
callproggenerate.busyfreq2 | Protocol-specific | Second frequency of busy tone.
callproggenerate.busyofftime | Protocol-specific | Busy tone OFF time.
callproggenerate.busyontime | Protocol-specific | Busy tone ON time.
callproggenerate.busytonelevel | Protocol-specific | Busy tone amplitude.
callproggenerate.dialtonefreq1 | adi.dial.tonefreq1 | First frequency of dialtone.
callproggenerate.dialtonefreq2 | adi.dial.tonefreq2 | Second frequency of dialtone.
callproggenerate.dialtonelevel | Protocol-specific | Dialtone amplitude.
callproggenerate.dialtoneofftime1 | Protocol-specific | Cadenced dialtone: first OFF time.
callproggenerate.dialtoneofftime2 | Protocol-specific | Cadenced dialtone: second OFF time.
callproggenerate.dialtoneontime1 | Protocol-specific | Cadenced dialtone: first ON time.
callproggenerate.dialtoneontime2 | Protocol-specific | Cadenced dialtone: second ON time.
callproggenerate.fastbusyfreq1 | Protocol-specific | First frequency of fast busy (reorder) tone.
callproggenerate.fastbusyfreq2 | Protocol-specific | Second frequency of fast busy (reorder) tone.
callproggenerate.fastbusyofftime | Protocol-specific | Fast busy tone OFF time.
callproggenerate.fastbusyontime | Protocol-specific | Fast busy tone ON time.
callproggenerate.fastbusytonelevel | Protocol-specific | Fast busy tone amplitude.
callproggenerate.ringfreq1 | Protocol-specific | First frequency of ringback tone.
callproggenerate.ringfreq2 | Protocol-specific | Second frequency of ringback tone.
callproggenerate.ringofftime1 | Protocol-specific | Ringback tone first (or only) OFF time.
callproggenerate.ringofftime2 | Protocol-specific | Ringback tone second OFF time.
callproggenerate.ringontime | Protocol-specific | Ringback tone ON time.
callproggenerate.ringtonelevel | Protocol-specific | Ringback tone amplitude.