Compact T1 - Release 6.1 5-119
CLI Commands
set
set (router) mgcp parsemode
The set (router) mgcp parsemode is an interoperability command to set the strictness with
which incoming MGCP messages are parsed. If parsemode is set to lenient, then some
incoming messages which may contain protocol errors for the configured protocol version,
or contain requests to perform unavailable functions, may not produce an error response, if
the message can be interpreted correctly, and/or if the requested unavailable function is
unimportant to the desired operation. The verbose option behaves the same as the lenient,
except that log entries are added to record the fact that it occurred. The strict option
enforces all protocol requirements and function availability by means of an error return
code. The default parse mode is lenient. This is done to account for certain softswitch
implementations which do not strictly adhere to the protocol spec, or for which certain
services would not work if a particular request for an unavailable benign function were to
be rejected. Use of "lenient" parsemode can lead to "mysterious" problems if there is a
serious protocol mismatch between the call agent and CMG. It is recommended that the
parsemode be set to "strict" or "verbose" when one is attempting to determine why
softswitch-CMG communications do not seem to allow CMG voice calls to be made or
services to be activated. This command applies to the CMG Router card only.
Syntax: set {cmg_card-addr} mgcp parsemode
{lenient|strict|verbose}
Example: set 1 mgcp parsemode strict
The example will set the MGCP parsemode for incoming messages to strict, for
the CMG card in slot 1.
{cmg_card-addr}
The slot number (1-6) that contains the CMG card.
{lenient|strict|verbose}
lenient Do not return an error response in benign situations (Default)
strict Return an error response for all protocol errors or requests for unavailable
functions
verbose Do not return an error response in benign situations, but log the event