Create DNIS Routing with DRTD (with/without ACD) for GDTRRULE 220.
This would create a digit conversion based on Called Party Number only.
SID/ANI information would have NO effect of termination point selection

Example
Callers who route into the system via Trunk Group 96 with digits 7340
are routed to internal number 7345 with the second line of the display
showing "Service".
- Add the routing and display parameters for internal rerouting number
645001
ADD-
DNIT:TBL=DNI,INTRTDN=645001,ROUTING=DRTD,DISPLAY="SERVICE",
ACD=N,TARGET=7345;
- Add Digit patterns which will be routed to Internal Director Number (INTDN)
645001
ADD-
DNIT:TBL=GDTR,GDTRRULE=220,DGTSTR=7340,INTRDN=645001,SVCDATA=
NOREQU;
This provides a digit conversion based on GDTR tables
with Called Party number of 7340 to terminate to STNO=7345 for any incoming
call from trunk group attached to GDTR rule 220. Also DNIS display defined
with DISPLAY field to be presented to termination on display line 2
- To allow for all other digit patterns to terminate on station 7344 additional
entries are made in the GDTRRULE 220 and a DNI entry in AMO DNIT
ADD-DNIT:TBL=DNI,INTRTDN=645002,ROUTING=DRTD,DISPLAY="NORMAL
SERVICE", ACD=N,TARGET=7344;
- Add Digit patterns which will be routed to Internal Director Number (INTDN)
645002
ADD-
DNIT:TBL=GDTR,GDTRRULE=220,DGTSTR=#,INTRDN=645002,SVCDATA=NOR
EQU;
This provides a digit conversion based on GDTR tables
with digit pattern of any number( # means any number presented as called
party number )to terminate to STNO=7344 for any incoming call from trunk
group attached to GDTR rule 220. Also DNIS display defined with DISPLAY
field to be presented to termination on display line 2
Any SID/ANI/Clip information proivided would be presented in line
1 of the display together withthe trunk group name if set to do so. (AMO
ZAND,ALLDATA2 parameter DISPTGNA )
Note this is not using ACD to route the call as specified by ACD=
N in AMO DNIT.
To enable the display parameter text to appear on the display of the
telephone the following parameter is required in AMO SBCSU
CHANGE-SBCSU:STNO=7340,OPT=OPTI,DNIDSP=YES;
IMPORTANT:
There is a fixed relationship between
the GDTR rule and the type of routing. GDTR rules 129 and above are used
for DNIS routing. Here the DGTSTR parameter is the CALLED party number
and the wildcard # represents any CALLED party number. With GDTR rules
used for SID /ANI routing (1-128) the parameter DGTSTR represents the
CALLING party number. The wild card * can be used to represent
any calling party digit and the # character represents
any calling party number.
The use of the wild card # in the DNIT table for called party number
(GDTR rule 129 and above) can lead to the complete DDI range being routed
by GDTR rules. If this is not required and only specific numbers within
a DDI range are to be routed by GDTR then omit the wildcard # entry in
the DGTSTR parameter. With this setting only those numbers matching entries
in DGTSTR will be further processed all other DDI numbers will route
as normal.