![background image](http://html1.mh-extra.com/html/patton-electronics/smartnode-series/smartnode-series_software-configuration-manual_4048643387.webp)
Configuring the precall service tables
387
SmartWare Software Configuration Guide
33 • CS interface configuration
•
interrogate-cw
—Detects whether or not the call-waiting supplementary service is active on the interface
that uses the precall service table.
Note
Currently you can only use precall service tables on FXS interfaces.
Procedure:
To create precall service table and use it on an FXS interface
Mode:
Context CS
Example:
Create and use a precall service table
The following example shows how to create a precall service table that treats *43# as activation command for
the call-waiting supplementary service, while #43# is used to deactivate call-waiting and *#43# is used to query
the call-waiting supplementary service:
node(ctx-cs)[switch]#precall-service-table SUPP-SVC
node(pcs-tab)[SUPP-SVC]#map *43# to activate-cw
node(pcs-tab)[SUPP-SVC]#map #43# to deactivate-cw
node(pcs-tab)[SUPP-SVC]#map *#43# to interrogate-cw
node(pcs-tab)[SUPP-SVC]#exit
node(ctx-cs)[switch]#interface fxs IF-PHONE
node(if-fxs)[IF-PHONE]#use mapping-table precall-service SUPP-SVC
node(if-fxs)[IF-PHONE]#exit
node(ctx-cs)[switch]#
Step
Command
Purpose
1
node
(ctx-cs)[switch]#precall-service-
table
table-name
Creates a new table that maps special numbers into
supplementary service invocation commands
2
node
(pcs-tab)[
table-name
]#map
special-
number
to
command
Adds a new entry to map a
special-number
into a
supplementary service invocation
command
.
3
Repeat Step 2 to add other special number map-
pings.
4
node
(pcs-tab)[
table-name
]#exit
Returns to context CS Configuration Mode
5
node
(ctx-cs)[switch]#interface fxs
if-name
Enters FXS Interface Configuration Mode of inter-
face
if-name
6
node
(if-fxs)[
if-name
]#use mapping-
table precall-service
table-name
Uses the precall service table created with step 1 to
4 on this FXS interface.