Configuring an Inbound Dial Peer to Match on URI
SUMMARY STEPS
- enable
- configure terminal
- voice class uri voice-class-uri-tag
- Specify a URI field for the voice class:
- host hostname-pattern
- host ipv4: ipv4-address
- host ipv6: ipv6-address
- host dns: dns-address
- pattern uri-pattern
- user-id username-pattern
- exit
- dial-peer voice tag voip
- session protocol sipv2
- incoming uri { from | request | to | via} voice-class-uri-tag
- end
DETAILED STEPS
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 |
enable Example:
|
Enables privileged EXEC mode.
|
||
Step 2 |
configure terminal Example:
|
Enters global configuration mode. |
||
Step 3 |
voice class uri voice-class-uri-tag Example:
|
Creates a voice class for matching SIP dial peers and enters voice URI class configuration mode. |
||
Step 4 |
Specify a URI field for the voice class:
Example:
Example:
Example:
|
|
||
Step 5 |
exit Example:
|
Enters global configuration mode. |
||
Step 6 |
dial-peer voice tag voip Example:
|
Enters dial peer voice configuration mode. |
||
Step 7 |
session protocol sipv2 Example:
|
Configures SIP as the session protocol type. |
||
Step 8 |
incoming uri { from | request | to | via} voice-class-uri-tag Example:
|
Configures the voice class with an inbound dial peer, so that it is matches against configured URI fields. |
||
Step 9 |
end Example:
|
Exits dial peer voice configuration mode and enters privileged EXEC mode. |