Information Technology Reference
In-Depth Information
It's also a good idea to look at and understand the SIP call flows illustrated at the following URL:
Configuration of SIP gateways consists of a number of elements, including
■
Dial peers
■
SIP voice service configuration
■
SIP UA configuration
The following example shows the configuration of a SIP dial peer:
dial-peer voice 10 voip
session target ipv4:10.1.1.1
session protocol sipv2
destination-pattern 3333...
■
The
dial-peer
voice
tag
voip
command configures a VoIP dial peer.
■
The
session-target ipv4:
destination-address
command configures a dial IPv4 destination address.
■
Next, the
session protocol sipv2
and
destination-pattern
string commands are used to specify that the dial peer should use
SIP Version 2 and associate a prefix with the dial peer.
The following example shows an example configuration of the SIP voice service:
voice service voip
sip
session transport tcp
bind all source-interface loopback0
■
The
voice service voip
command is used to enter voice service configuration mode, and the
sip
command is used to enter the
SIP mode within voice service configuration.