
5-13
Cisco Catalyst 4000 Access Gateway Module Installation and Configuration Note
OL-3008-01
Chapter 5 Configuring the Voice Interfaces
H.323 Gateway Configuration
Replace:
• <number> with a unique numeric identifier for each dial peer
• <endpoint#> with the E.164 telephone extension of the POTS dial peer
• <portnumber> with 0 or 1, depending on which T1 port you are using
• <DS0groupnumber> with a numeric digit from 0 to 23 for each DS-0 group you are configuring
For example, the following commands could be used to route all calls with the prefix 222 to the DS-0
hunt group 1 of controller T1 1/0:
gateway(config)# dial-peer voice 222 pots
gateway(config-dial-peer)# destination-pattern 222....
gateway(config-dial-peer)# port 1/0:1
gateway(config-dial-peer)# prefix 222
The prefix command at the end is required to replace the digits that the AGM strips off from the dialed
digit string based on the wildcard destination pattern.
Step 4 Configure H.323 endpoints connected to the AGM Ethernet port.
To configure H.323 endpoints, use the following command strings:
gateway(config)# dial-peer voice <number> voip
gateway(config-dial-peer)# destination-pattern <endpoint#>
gateway(config-dial-peer)# session target {ipv4:ipaddress|dns:hostname}
gateway(config-dial-peer)# codec codecid
Replace:
• <number> with a unique numeric identifier for each dial peer
• <endpointnumber> with the telephone extension of the dial peer
• ipaddress or hostname with the IP address or Domain Name System (DNS) host name of the VoIP
dial peer
If you use the IP address, it must be preceded by the parameter ipv4. If you use the DNS host name, this
must be preceded by the parameter dns, and the host name must resolve correctly to the IP address of
the target. Finally, you must identify the coder-decoder (CODEC) used by the VoIP dial peer.
For example, the following commands assign extension 2001 to the IP device with the network address
192.168.100.1:
gateway(config)# dial-peer voice 1 voip
gateway(config-dial-peer)# destination-pattern 2001
gateway(config-dial-peer)# session target ipv4:192.168.100.1
gateway(config-dial-peer)# codec g711u1aw
Step 5 Direct calls using wildcard destination patterns, as needed.
You can use wildcard destination patterns to simplify your dial plan configuration. For instance, you can
direct all incoming calls starting with specific digits, such as 525, to a Cisco CallManager configured as
an H.323 endpoint. You might direct all calls starting with a 9 to voice ports connected to the Public
Switched Telephone Network (PSTN), or direct all calls beginning with an 8 to a private branch
exchange (PBX).
gateway(config-dial-peer)# destination-pattern pattern ....
For example, the following command directs all calls starting with 525 to a Cisco CallManager with the
DNS host name CCM30:
gateway(config-dial-peer)# destination-pattern 525....
gateway(config-dial-peer)# session target dns:CCM30
Comentarios a estos manuales