# AP2 parameters

To program the AP2 TCP to operate within different countries and networks, modify the TCP-specific parameters, stored within the parameter category NCC.X.ADI_AP2. 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.

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 the NCC.X.ADI_AP2 parameters (within the parameter category NCC.X.ADI_AP2):

Field | Unit | Default | Description
--- | --- | --- | ---
trunkdirection | mask | 0x0 | Determines trunk direction: 0 - Bidirectional 1 - Inbound only (no calls can be placed on it) 2 - Outbound only (no calls can be received on it)
startselectionduration | ms | 150 | Duration of proceed select pulse.
dialtoneseizureack | mask | 0 | Dial tone response to incoming seize.
maxwaitforfirstdigit | ms | 15000 | Maximum time to wait for first digit.
maxwaitfornextdigit | ms | 3000 | Maximum time to wait for next digit.
maxDIDdigits | count | 7 | Maximum number of DID (called) digits.
endofDIDtone | mask | 0x00 | Tone that terminates DID digits.
endselafterendtone | mask | 0 | Set to 1 to send end select pulse after receiving end of digits tone.
endselbeforeANIreq | mask | 0 | Set to 1 to send end select pulse before ANI request pulse.
endselectionduration | ms | 120 | Duration of end of selection pulse.
ANIrequestduration | ms | 140 | Duration of ANI request pulse.
maxANIdigits | count | 7 | Maximum number of ANI (calling) digits.
endofANItone | mask | 0x00 | Tone that terminates ANI digits.
meteringduration | ms | 120 | Duration of billing pulse.
waitingplaybusy | mask | 0x1 | This parameter and the waitingplayreorder parameter specify what to play as the cleardown tone (the tone the TCP plays when an inbound call is released and the calling party has not hung up yet). If this parameter is 1 and waitingplayreorder is 0, the busy tone is used as the cleardown tone. If neither of the parameters is set, the TCP remains silent.
waitingplayreorder | mask | 0x0 | This parameter and the waitingplaybusy parameter specify what to play as the cleardown tone. If this parameter is 1, the fast busy (reorder) tone is used as the cleardown tone. If neither of the parameters is set, the TCP remains silent.
detectnetworkaudio | mask | 0x0 | Not used.
releaseguardtime | ms | 1000 | Minimum time the release guard signal must be applied.
seizureacktime | ms | 10000 | Outbound: Specifies time to wait for seizure acknowledgment after seizing the line.
nodialtonecontinue | mask | 0x0 | Continue dialing if no dial tone.
dialpulsemethod | mask | 0 | Determines the dialing type: 0 - DTMF dialing 1 - Decadic dialing
timewaitANIrequest | ms | 800 | Maximum time to wait for ANI request.
usercategory | mask | 0x00 | ASCII user category or 0x00 if none.
tollcategory | mask | 0x00 | ASCII toll category or 0x00 if none.
errorearlyanswer | mask | 0 | If this parameter is set to 1, an answer signal before all digits have been dialed is an error, and the TCP clears the call.
answerwaittime | count | 90 | Not used.
bitqualtime | ms | 20 | Specifies the qualification time for bit changes. A or B bit must be ON/Off of this duration to be qualified.
forwardpatterns1 | mask | 0x9119 | Bit patterns used in the forward direction (outbound): addr/ring/seize/idle. Do not modify.
forwardpatterns2 | mask | 0x1111 | Bit patterns used in the forward direction (outbound): unused/unused/rering/trkoffer. Do not modify.
backwardpatterns1 | mask | 0xDDDD | Bit patterns used in the backward direction (inbound): ani/endsel/proceed/szack. Do not modify.
backwardpatterns2 | mask | 0x9D5D | Bit patterns used in the backward direction (inbound): recall/meter/answer/cong. Do not modify.
backwardpatterns3 | mask | 0xDDD5 | Bit patterns used in the backward direction (inbound): block/frcdisc/clrback/MCTon. Do not modify.
backwardpatterns4 | mask | 0xD95D | Bit patterns used in the backward direction (inbound): unused/idleback/answerfree/MCToff. Do not modify.
NMScountry | count | 0 | Not used.
permanentsignaltime | count | 60 | Time (in seconds) waiting for idle, after which we go out of service.