In the previous examples the GDTR rule has been selected by the GDTRRULE
parameter in AMO BUEND. In practice this restricts the changes to the
routing as this parameter can only be changed if the trunk group is empty.
The normal practice is to define in AMO DNIT a GDTRRULE depending
on the trunk group and the type of service used.
There exists in AMO DNIT a table, the GDTRSR table, here it is defined
per service and per trunk group which GDTRRULE is to be used.
Example
Callers who route into the system via Trunk Group 96 (ISDN) with digits
7340 are routed to internal number 7345 with the second line of the display
showing "Service".
- Add the trunk group for the ISDN trunk
ADD-BUEND:TGRP=96,NAME="DNIS
1",NO=30,RSV=N,TRACENO=0,ACDTHRH=*, PRIONO=2,TDDRFLAG=ON,
GDTRRULE=0,ACDPMGRP=0;
- Change the GDTRSR table entry for trunk group 96 and service NONE (ISDN)
CHANGE-DNIT:TBL=GDTRSR,TGRP=96,DNISRULE=220,NETSVC=NONE;
- 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;