Patton electronic SmartNode 4110 Series ユーザーズマニュアル

ページ / 664
Call router configuration task list
487
SmartWare Software Configuration Guide 
40 • Call router configuration
The input *50998882525 matches the expression *5(.%) – the prefix *5 followed by any character repeated 
zero or more times.
The first bracket encloses the number after the prefix: *5(.%) == *5(0998882525) -> \1 = 0998882525
The output is built from the first bracket \1.
The called party number is set to 0998882525.
Example: Mapping table to truncate the called party number
Input:called-e164 = 0998882525
Output:called-e164 = 525
node(cfg)#context cs
node(ctx-cs)[switch]#mapping-table called-e164 to called-e164 TRUNC
node(rt-tab)[TRUNC]#map .%(...) to \1
The input 0998882525 matches the expression .%(…) – any character repeated zero or more times followed 
by three mandatory digits.
The first bracket encloses the last three digits:  .%(…) == 0998882(525) -> \1 = 525
The output is built from the first bracket \1.
The called party number is set to 525.
Example: Mapping table to remove the calling party number when restricted
Input:calling-e164 = 0998882525; calling-pi = restricted
Output:calling-e164 = “”; calling-pi = restricted
node(cfg)#context cs
node(ctx-cs)[switch]#mapping-table calling-pi to calling-e164 REM-CNPN
node(rt-tab)[REM-CNPN]#map restricted to “”
The input (presentation indicator) restricted matches the expression restricted.
The output (calling party number) is an empty string (“”).
The calling party number is cleared.
Example: Mapping table to replace the calling party number with the called party number
If you route a call to an FXS interface, the Bellcore standard only allows to signal the calling party number to 
the connected analog terminal instead of the called party number. Thus you cannot communicate e.g. which 
extension is being called at a destination PBX. This command allows sending the called party number as call-
ing party number property. The called party number still remains the same.
Input:calling-e164 = 0998882525; called-e164 = 0778881111
Output:calling-e164 = 0778881111; called-e164 = 0778881111
node(cfg)#context cs
node(ctx-cs)[switch]#mapping-table called-e164 to calling-e164 COPY-PN
node(rt-tab)[COPY-PN]#map (.%) to \1