To configure supplementary IP Centrex-like services for FXS phones on voice gateways to interwork with SIP-based softswitches,
use the
service
dsapp command in the gateway-application configuration mode. Hookflash triggers a supplementary feature based on the current state
of the call. To reset to the defaults, use the
no form of this command.
service dsapp [paramspace dialpeer dial-peer tag] [paramspace disc-toggle-time seconds] [paramspace callWaiting TRUE | FALSE] [paramspace callConference TRUE | FALSE] [paramspace blind-xfer-wait-time seconds] [paramspace callTransfer TRUE | FALSE]
no service dsapp
Syntax Description
paramspace
|
Defines a package or service on the gateway, the parameters in that package or service become available for configuration
when you use this argument.
|
dialpeer
dial-peer
tag
|
(Optional) Specifies the fixed dialpeer used to setup the call to the SIP server (trunk) side.
|
disc-toggle-time
seconds
|
(Optional) Specifies the seconds to wait before switching to a call on hold if the active call disconnects. You can specify
a range between 10 and 30 seconds.
|
callWaiting
TRUE
|
FALSE
|
Toggles support for call waiting.
|
callConference
TRUE
|
FALSE
|
Toggles support for call conferencing used to establish two calls with a single connection such that all three parties can
talk together.
|
blind-xfer-wait-time
seconds
|
Specifies the seconds to wait before triggering a blind call transfer. You can specify a range between 0 and 10 seconds.
If you specify 0 seconds, no blind transfer call occurs.
|
callTransfer
TRUE
|
FALSE
|
Toggles support for call transfers.
|
Command Default
If no supplementary features are defined, the defaults are as follows:
-
dialpeer
: -1
-
disc-toggle-time
: 10 seconds
-
callWaiting
: TRUE (enabled)
-
callConference
: TRUE (enabled)
-
blind-xfer-wait-time
: 0 seconds
-
callTransfer
: TRUE (enabled)
Command Modes
Gateway-application configuration (config-app-param)
Command History
Release
|
Modification
|
12.4(11)T
|
This command was introduced.
|
Usage Guidelines
Use the
service
dsapp command to configure supplementary Centrex-like features on FXS phones to interwork with SIP-based softswitches. Hookflash
triggers supplementary features based on the current state of the call:
-
Call Hold
-
Call Waiting
-
Call Transfer
-
3-Way Conference
Call Hold
Allows a call to be placed in a non-active state (with no media exchange). The table below summarizes the hookflash feature
support for Call Hold.
Table 1. Call Hold Hookflash Services
State
|
Action
|
Result
|
Response to FXS Line
|
Active call
|
Hookflash
|
Held call for remote party.
|
Second dial tone for FXS phone.
|
Call on hold
|
Hookflash
|
Active call.
|
FXS line connects to call.
|
Call on hold and active call
|
Hookflash
|
Active and held calls are swapped.
|
FXS line connects to previous held call.
|
On hook
|
Active call is dropped.
|
Reminder ring on FXS line.
|
Call on hold goes on hook
|
Call on hold is dropped.
|
None.
|
Active call goes on hook
|
Active call is dropped
|
Silence.
|
Call Waiting
Allows a second call to be received while the phone is active with a call. The table below summarizes the hookflash feature
support for Call Waiting.
Table 2. Call Waiting Hookflash Services
State
|
Action
|
Result
|
Response to FXS Line
|
Active call and waiting call
|
Hookflash.
|
Swap active call and waiting call.
|
FXS line connects to waiting call.
|
Active call goes on hook.
|
Active call is disconnected.
|
Silence.
|
Waiting call goes on hook.
|
Stay connected to active call.
|
None.
|
On hook.
|
Active call is dropped.
|
Reminder ring on FXS line.
|
Call Transfer
With call transfer, you can do the following:
The table below summarizes the hookflash feature support for Call Transfer.
Table 3. Call Transfer Hookflash Services
State
|
Action
|
Result
|
Response to FXS Line
|
Active call
|
Hookflash.
|
Call is placed on hold.
|
Second dial tone.
|
Call on hold and outgoing dialed or alerting or active call
|
On hook.
|
Call on hold and active call.
|
|
Call on hold and outgoing active call
|
Active call goes on hook.
|
Held call remains; active call dropped.
|
Silence.
|
Call on hold and outgoing active call
|
Call on hold goes on hook.
|
Active call remains; call on hold dropped.
|
None.
|
Call on hold and outgoing alerting call
|
Hookflash.
|
Active call dropped.
|
FXS line connects to previous held call.
|
3-Way Conference
Establishes two calls with a single connection, so that three parties can talk together. The table below summarizes the hookflash
feature support for 3-way conferencing.
Table 4. 3-Way Conference Hookflash Services
State
|
Action
|
Result
|
Response to FXS Line
|
Active call
|
Hookflash
|
Call on hold.
|
Second dial tone.
|
Call on hold and active call
|
Join call on hold and active call.
|
Media mixing of both calls.
|
Examples
You can configure DSApp services either to a specific dial-peer, or globally to all dial peers. The following example shows
the configuration to enable DSApp on a specific dial peer:
Gateway#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Gateway(conf)#
application
Gateway(conf-app)#
dial-peer voice 1000 pots
Gateway(config-app)#
service dsapp
The following example shows the configuration to enable DSApp globally on all dial peers:
Gateway#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Gateway(conf)#
application
Gateway(config-app)# global
Gateway(config-app-global)#
service default dsapp
Examples
The following example shows the configuration to enable the Call Hold feature:
Gateway#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Gateway(conf)#
application
Gateway(config-app)#
service dsapp
Gateway
(config-app-param)#
param callHold TRUE
Examples
The following example shows the configuration to enable the Call Waiting feature:
Gateway#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Gateway(conf)#
application
Gateway(config-app)#
service
dsapp
Gateway
(config-app-param)#
param callWaiting TRUE
Examples
The following example shows the configuration to enable the Call Transfer feature:
Gateway#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Gateway(conf)#
application
Gateway(config-app)#
service dsapp
Gateway
(config-app-param)#
param callTransfer TRUE
Examples
The following example shows the configuration to enable the 3-Way Conferencing feature:
Gateway#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Gateway(conf)#
application
Gateway(config-app)#
service dsapp
Gateway
(config-app-param)#
param callConference TRUE
Examples
In this example, a disconnect toggle time is configured that specifies the amount of time in seconds the system should wait
before committing the call transfer after the originating call is placed on hook.
Gateway#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Gateway(conf)#
application
Gateway(config-app)#
service dsapp
Gateway(config-app-param)#
param disc-toggle-time 10
Examples
In this example, a blind transfer call wait time is configured that specifies the amount of time in seconds the system should
wait before committing the call transfer, after the originating call is placed on hook.
Gateway#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Gateway(conf)#
application
Gateway(config-app)#
service dsapp
Gateway(config-app-param)#
param blind-xfer-wait-time 10
Examples
In this example, a fixed dial peer is configured to set up a call to the SIP server (trunk) side.
Gateway#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Gateway(conf)#
application
Gateway(config-app)#
service dsapp
Gateway(config-app-param)#
param dialpeer 5000