130
C
HAPTER
2: D
IAL
P
LAN
Arguments
nRouteId
— An integer in the range 1 through 32768.
nEntryId
— An integer in the range 1 through 32768 specifying the timed
route entry to which this operation applies.
nOperId
— An integer in the range 1 through 32768. The
system processes the list of operations in ascending
nOperId
order
(nOperId 1 first).
szOperation
— The name of the digit manipulation operation to perform:
stripLead, stripTrail, replace, prepend, append.
szValue
— The value used by the operation, either the string of digits to
prepend, append, replace with, or the number of digits to strip.
Sample Solutions
Using Dial Plan
Configuration File
Commands
This section describes several requirements that a customer might have,
and for each one, provides a sample solution. An explanation follows
each step in the solution.
For a detailed explanation of each command, see “Dial Plan
Configuration File Commands” earlier in this chapter.
Customer Requirement 1.
Assume that the telephone company
passes 4-digit numbers to the NBX system for each incoming telephone
call (for example, numbers in the range 5200 through 5300). If the
system uses 3-digit extensions in the range 200 through 300, you could
define a single pretranslation operation that performed a
stripLead
to
remove the first digit. For example, the system could remove the number
five from an incoming number such as 5278, and pass the call to
extension 278.
To accomplish the pretranslation:
PreTranslator Create 1 4-to-3-digit T1 DID/DDI Pretranslator
Explanation:
Create pretranslator table 1, called “4-to-3-digit T1
DID/DDI Pretranslator.”
PreTranslatorEntry Create 1 1 5
Explanation:
Create, in pretranslator table 1, entry number 1, which
applies when the first digit in the sequence is 5.
Summary of Contents for NBX 100
Page 14: ......
Page 18: ...18 ABOUT THIS GUIDE ...
Page 26: ...26 CHAPTER 1 INTRODUCTION ...
Page 138: ...138 CHAPTER 2 DIAL PLAN ...
Page 322: ...322 CHAPTER 3 DEVICE CONFIGURATION ...
Page 328: ...328 CHAPTER 4 USER CONFIGURATION ...
Page 412: ...412 CHAPTER 10 TROUBLESHOOTING ...
Page 458: ...458 APPENDIX B ISDN COMPLETION CAUSE CODES ...
Page 480: ...480 GLOSSARY ...
Page 492: ...492 INDEX ...