Cisco Cisco IOS Software Release 12.2(15)ZJ

Page de 48
      SIP Gateway Enhancements
redirect contact order
26
Cisco IOS Release 12.2(15)ZJ
redirect contact order
To set the order of contacts in the “300 Multiple Choice” message, use the redirect contact order 
command in SIP configuration mode. To reset to the default, use the no form of this command.
redirect contact order [best-match | longest-match]
no redirect contact order 
Syntax Description
Defaults
longest-match
Command Modes
SIP configuration
Command History
Usage Guidelines
This command applies when a “300 Multiple Choice” message is sent by a SIP gateway indicating that 
the call has been redirected and there are multiple routes to the destination.
Enter SIP configuration mode after entering voice service VoIP configuration mode as shown in the 
following example.
Examples
The following example shows how to set up the redirect contact order command to use the current 
system configuration to set the order of contact:
Router(config)# voice service voip
Router(config-voi-srv)# sip 
Router(conf-serv-sip)# redirect contact order best-match
Related Commands
best-match
(Optional) Uses the current system configuration to set the order of contacts.
longest-match
(Optional) Sets the contact order by using the destination pattern longest 
match first, and then the second longest match, the third longest match, and 
so on. This is the default.
Release
Modification
12.2(15)ZJ
This command was introduced.
Command
Description
sip
Enters SIP configuration mode from voice service VoIP configuration mode.