offer call-hold
To specify globally how the POTS-SIP gateway should initiate call-hold requests, use the offer call-hold command in SIP user-agent configuration mode or voice class tenant configuration mode. To disable a method of initiating call hold, use the no form of this command.
offer call-hold {conn-addr | direction-attr | system}
no offer call-hold {conn-addr | direction-attr | system}
Syntax Description
conn-addr |
Specifies the RFC 2543 method of using the connection address for initiating call-hold requests. The RFC 2543 method uses 0.0.0.0. |
direction-attr |
Specifies the current RFC 3264 method of using the direction attribute (a=sendonly) for initiating call-hold requests. |
system |
Specifies how the call-hold requests use the global sip-ua value. This keyword is available only for the tenant mode to allow it to fallback to the global configurations |
Command Default
direction-attr
Command Modes
SIP user-agent configuration
Voice class tenant configuration (config-class)
Command History
Release |
Modification |
---|---|
12.3(8)T |
This command was introduced. |
15.6(2)T and IOS XE Denali 16.3.1 |
This command was modified to include the keyword: system . |
Usage Guidelines
Cisco POTS-SIP gateways support receiving call-hold requests in either of the two formats, but the direction attribute is recommended. Specifying a call-hold format is only available globally with the offer call-hold command; configuration is not available at the dial-peer level.
Examples
The following example initiates call hold by configuring the gateway to send a=sendonly in the Session Description Protocol ( SDP). Using the direction-attr keyword is the current and preferred method to initiate call hold.
sip-ua
retry invite 3
offer call-hold direction-attr
The following example initiates call hold by configuring the gateway to send 0.0.0.0 as the IP address in the c=line.
sip-ua
retry invite 3
offer call-hold conn-addr
The following example initiates call hold by configuring the gateway in the voice class tenant configuration mode:
Router(config-class)# offer call-hold system