131.2.3
DELETE-LDAT
It is possible to delete all LCR route elements and its associated data (trunk groups, LCR priority, outdial rule, LCR authorization) from an LCR route simply by specifying the LCR route (TYPE=LROUTE and parameter LROUTE).
An LCR route cannot be deleted fully (using TYPE=LROUTE) as long as it is still assigned to one or several
LCR digit patterns or assigned by LPROF to one or several LCR Profile.
TYPE=LRTEL can be used to delete individual LCR route elements from a specific LCR route by specifying the LCR route (parameter LROUTE) and the LCR route element number (parameter LRTEL) output with the DISPLAY command.
The deletion of individual route elements leads to gaps in the LRTEL and LVAL values. The AMO eliminates these gaps through renumbering. The LVALs of each route begin with 1. Elements which previously had the same VALs are assigned the same VALs again.
TYPE=LRTEL can also be used to delete one or more destination gateway entries belonging to the specified routing element. In this case parameter GWIDX has to be entered. Parameter GWIDX specifies the destination gateway entry to be deleted. The deletion of individual gateway entries may result with gaps. In this case gaps are eliminated by compressing the destination gateway list. It is not allowed to delete all gateway elements of a routing element which doesn’t have an assigned trunk group.
TYPE=LRTEL cannot be used to delete all elements from a route.
TYPE=LROUTE,LSVC=ALL; can be used to delete LCR routes which has been defined using LSVC=ALL.
TYPE=LDSRT is used when no LDSR table is required by a route element.
Procedure Overview
Command Code
Parameter
DELETE-LDAT
KIND=LROUTE, LROUTE=<range> [, LSVC=<param>];
|KIND=LRTEL, LROUTE=<number>
[,LSVC=<param>], LRTEL=<range>,[GWIDX=<number>];
|KIND=LDSRT,LROUTE=<number>, [LSVC=<param>],
LRTEL=<number>,;
Example
After one of the batches from the ADD example has been executed, the command
Input:
DEL-LDAT:LRTEL,21,,1,1;
Output:
F36: GATEWAY DATA FOR LRTG =21 LRTGEL=1 CAN NOT BE DELETED.
DATA FOR BUNDLE AND GATEWAY MAY NOT BE EMPTY AT THE SAME TIME FOR IP-LCR.
Input:
CHANGE-LDAT:LROUTE=21,LRTEL=1,TGRP=71;
DEL-LDAT:LRTEL,21,,1,1;
Output:
H22: GATEWAY INDEX 1 IS DELETED FROM SELECTED ROUTE ELEMENTS.
Input:
DEL-LDAT:LRTEL,21,,2&3;
Output:
H09: LRTEL 2 TO 3 DELETED FROM LROUTE 21 LSVC ALL
- RESULTING LVAL GAPS ARE ELIMINATED THROUGH RENUMBERING
Since elements have to be deleted from back to front, delete messages will also be displayed back to front. This ensures that once one of the elements is deleted the remaining elements to be deleted need not be renumbered prior to deletion.
Input:
DISP-LDAT:,21;
Output:
+------------------------------------------------------------------------------+
| LROUTE = 21 NAME = AMT S2 NAT. SERVICE = ALL |
| TYPE = LCR DNNO OF ROUTE = 1 -1 -8 |
| SERVICE INFO = |
+------+-----+-----+----+-----+----------+-----------+----------+------+-------+
| | | | | | SCHEDULE | CARRIER | | | |
|LRTEL | LVAL|TGRP | ODR|LAUTH| ABCDEFGH | ZONE| LATTR | LDSRT|COTIDX |
+------+-----+-----+----+-----+----------+-----------+----------+------+-------+
| 1| 1| 71| 1| 1 | ******** | 1 EMPTY| NONE | | 0 |
+------------------------------------------------------------------------------+
| 2| 1| 71| 1| 2 | -*-****E | 1 EMPTY| NONE | 2, 3| 0 |
| | | | | | 4, 5| |
| +-----------------------------------------------------------------------+
| | GW1 = 1-8 GW2 = GW3 = |
| | GW4 = GW5 = |
+------------------------------------------------------------------------------+
| 3| 2| 71| 1| 2, 5| ******** | 1 EMPTY| NONE | | 0 |
| | | 8 | | | | |
+------------------------------------------------------------------------------+
| 4| 2| 71| 21| 2 | ******** | 1 EMPTY| NONE | | 0 |
+------------------------------------------------------------------------------+
The element parameters show clearly that the first and the third element were deleted and that the LVAL of the subsequent elements was decreased by 1. The deletion of the third element did not affect the LVAL numbering because no gap had been created.
${DocTitle}
, ID:
${DocID}
©
02/2025
Mitel Networks Corporation. - All rights reserved.
Mitel and the Mitel logo are trademarks of Mitel Networks Corporation. Unify and associated marks are trademarks of Unify Software and Solutions GmbH&Co. KG.
All other trademarks herein are the property of their respective owners.