mgcp persistent
To configure the sending of persistent events from the Media Gateway Control Protocol (MGCP) gateway to the call agent, use the mgcp persistent command in global configuration mode. To reset to the default, use the no form of this command.
mgcp persistent {hookflash | offhook | onhook}
no mgcp persistent {hookflash | offhook | onhook}
Syntax Description
hookflash |
Sends persistent hookflash events to the call agent. |
offhook |
Sends persistent off-hook events to the call agent. |
onhook |
Sends persistent on-hook events to the call agent. |
Command Default
The hookflash keyword is disabled for persistence. The offhook keyword is enabled for persistence. The onhook keyword is disabled for persistence.
Command Modes
Global configuration
Command History
Release |
Modification |
---|---|
12.2(2)XA |
This command was introduced. |
12.2(4)T |
This command was integrated into Cisco IOS Release 12.2(4)T. |
12.2(11)T |
This command was implemented on the Cisco AS5300 and Cisco AS5850. |
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 can include fax tones, continuity tones, and on-hook transition. Each event has an associated action for the gateway to take.
Use this command for each type of persistent event that should override the default behavior.
Examples
The following example configures the gateway to send persistent on-hook events to the call agent:
Router(config)# mgcp persistent onhook