Cisco Cisco IOS Software Release 12.2(2)XA

Page de 96
MGCP 1.0 Including NCS 1.0 and TGCP 1.0 Profiles
mgcp persistent
48
Cisco IOS Release 12.2(2)XA
mgcp persistent
To configure the sending of persistent events from the gateway to the call agent, use the mgcp 
persistent 
global configuration command. To return to the default values, use the no form of this 
command.
mgcp persistent {hookflash | offhook | onhook}
no mgcp persistent {hookflash | offhook | onhook}
Syntax Description
Command Modes
Global configuration
Defaults
The offhook option is enabled for persistence.
The onhook option is disabled for persistence.
The hookflash detection option is disabled for persistence.
Command History
Usage Guidelines
Persistent events are those events that, once they are detected, are defined as reportable to the call agent 
whether or not the call agent has explicitly requested to be notified of their occurrence; that is, even if 
they are not included in the list of RequestedEvents that the gateway is asked to detect and report. Such 
events include, for example, fax tones, continuity tones, or on-hook transition; each event has an 
associated action for the gateway to take.
Use the mgcp persistent command for each type of persistent event that should override the default 
behavior.
Examples
The following example shows how to configure the gateway to send persistent onhook events to the call 
agent:
Router(config)# mgcp persistent onhook
Related Commands
hookflash
Sends persistent hookflash events to the call agent.
offhook
Sends persistent offhook events to the call agent.
onhook
Sends persistent onhook events to the call agent.
Release
Modification
12.2(2)XA
This command was introduced.
Command
Description
mgcp
Starts and allocates resources for the MGCP daemon.