Cisco IOS Voice, Video, and Fax Commands: R Through Sh session target (VoIP)
VR-615
Cisco IOS Voice, Video, Fax Command Reference
session target dns:voice_router.cisco.com
The following example configures a session target using DNS, with the optional $u$. wildcard. In this
example, the destination pattern has been configured to allow for any four-digit extension, beginning
with the numbers 1310222. The optional wildcard $u$. indicates that the router will use the unmatched
portion of the dialed number—in this case, the four-digit extension—to identify the dial peer. As in the
preceding example, the domain is “cisco.com.”
dial-peer voice 10 voip
destination-pattern 1310222....
session target dns:$u$.cisco.com
The following example configures a session target using DNS, with the optional $d$. wildcard. In this
example, the destination pattern has been configured for 13102221111. The optional wildcard $d$.
indicates that the router will use the destination pattern to identify the dial peer in the “cisco.com”
domain.
dial-peer voice 10 voip
destination-pattern 13102221111
session target dns:$d$.cisco.com
The following example configures a session target using DNS, with the optional $e$. wildcard. In this
example, the destination pattern has been configured for 12345. The optional wildcard $e$. indicates that
the router will reverse the digits in the destination pattern, add periods between the digits, and then use
this reverse-exploded destination pattern to identify the dial peer in the “cisco.com” domain.
dial-peer voice 10 voip
destination-pattern 12345
session target dns:$e$.cisco.com
The following example configures a session target using RAS:
dial-peer voice 11 voip
destination-pattern 13102221111
session target ras
The following example configures a session target using settlement:
session target settlement:0
Related Commands Command Description
called-number Enables an incoming VoFR call leg to be bridged to the correct POTS call
leg.
codec (dial-peer) Specifies the voice coder rate of speech for a dial peer.
cptone Specifies a regional tone, ring, and cadence setting for an analog voice
port.
dtmf-relay Enables the DSP to generate FRF.11 Annex A frames for a dial peer.
preference Indicates the preferred selection order of a dial peer within a hunt group.
signal-type Sets the signaling type to be used when connecting to a dial peer.
destination-pattern Specifies either the prefix or the full E.164 telephone number (depending
on your dial plan) to be used for a dial peer.
session protocol Establishes a session protocol for calls between the local and remote
routers through the packet network in Voice over IP.
settle-call Specifies that settlement is to be used for this dial peer, regardless of
session target type.