Description: LAM Replacement. Used to add digits to the front of numbers that match to a LAM pattern. This is typically used to provide the digits that the PSTN requires to route the call correctly. Numbers are matched, from the IP network, for this parameter based on the International number format (country code + city/area code + number).
Cmd Type: command.
Prompt Level: config pstntg n#
Syntax: lamreplace or lamrep {indx} {replace}
Arguments:
indx Required. Numeric value that is the index number of the LAM pattern where the lamreplace is to be associated with. Each lamreplace must be matched with a LAM pattern
replace Optional. String that is to be used as a replacement to be added on to a number that matches the LAM pattern. Leaving this argument as null will delete the replacement digits.
Settings: replace 0-9 Digits used as literal matches.
Default: None
Availability: Only when a lampattern is set. All Tenor units.
Guidelines: This feature is only used to route calls from the IP network out to the PSTN as hop-off calls. As mentioned above, numbers are matched to this parameter based on the International format (country code + city/area code + number). When a call/number dialed matches a LAM pattern that was set, before the destination Tenor (where the LAM pattern match is set) sends the call out to the PSTN, it will delete the pattern off. The Tenor will then add on any replacement that is associated with the pattern that was matched (if any was configured) and send the call out to the PSTN.
Examples: For the example and the sample display, this Tenor will allow hop-offs or LAMs out of its PSTN connection. This Tenor is in New Jersey, USA (country code of 1 area code of 732) and will allow hop-offs to the local area, NY and to UK.
config pstntg 1# lamreplace 1
Deletes any replacement digits that may have been set in index 1.
config pstntg 1# lamreplace 2 1212
Sets a replacement of 1212 to add on to any number that matches the pattern set in index 2.
config pstntg 1# lamreplace 3 0114
Sets a replacement of 0114 to add on to any number that matches the pattern set in index 3.
Sample Display:
LAM: Index Pattern Replacement NumberType TON NPI
1 < 1732> < > 0 0 0
2 < 1212> < 1212> 0 0 0
3 < 4> < 0114> 0 0 0
Related Cmds: lampattern, lamnum, lamnpi, lamton