02.07.2013 Views

show voice port - Tecnológico de Costa Rica

show voice port - Tecnológico de Costa Rica

show voice port - Tecnológico de Costa Rica

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Configure CODEC and VAD for Dial Peers<br />

For example, to specify guaranteed <strong>de</strong>lay QoS for VoIP dial peer 108, enter the following:<br />

Dial-peer <strong>voice</strong> 108 voip<br />

<strong>de</strong>stination-pattern +1408528<br />

req-qos controlled-load<br />

session target ipv4:10.0.0.8<br />

In this example, every time a connection is ma<strong>de</strong> through VoIP dial peer 108, an RSVP reservation<br />

request is ma<strong>de</strong> between the local router, all intermediate routers in the path, and the final <strong>de</strong>stination<br />

router.<br />

To generate an SNMP trap message if the reserved QoS is less than the configured value for a<br />

selected VoIP peer, use the following commands, beginning from the global configuration mo<strong>de</strong>:<br />

Step Command Purpose<br />

1 dial-peer <strong>voice</strong> number voip Enter the dial-peer configuration mo<strong>de</strong> to<br />

configure a VoIP peer.<br />

2 acc-qos [best-effort | controlled-load |<br />

guaranteed-<strong>de</strong>lay]<br />

Note RSVP reservations are only one-way. If you configure RSVP, the VoIP dial peers on both ends<br />

of the connection must be configured for RSVP.<br />

Configure CODEC and VAD for Dial Peers<br />

Co<strong>de</strong>r-<strong>de</strong>co<strong>de</strong>r (CODEC) and <strong>voice</strong> activity <strong>de</strong>tection (VAD) for a dial peer <strong>de</strong>termine how much<br />

bandwidth the <strong>voice</strong> session uses. CODEC typically is used to transform analog signals into a digital<br />

bit stream and digital signals back into analog signals—in this case, it specifies the <strong>voice</strong> co<strong>de</strong>r rate<br />

of speech for a dial peer. VAD is used to disable the transmission of silence packets.<br />

Configure CODEC for a VoIP Dial Peer<br />

To specify a <strong>voice</strong> co<strong>de</strong>r rate for a selected VoIP peer, use the following commands, initially<br />

beginning in global configuration mo<strong>de</strong>:<br />

Step Command Purpose<br />

The <strong>de</strong>fault for the co<strong>de</strong>c command is g729r8; normally the <strong>de</strong>fault configuration for this command<br />

is the most <strong>de</strong>sirable. If, however, you are operating on a high bandwidth network and <strong>voice</strong> quality<br />

is of the highest im<strong>port</strong>ance, you should configure the co<strong>de</strong>c command for g711alaw or ulaw. Using<br />

this value will result in better <strong>voice</strong> quality, but it will also require higher bandwidth requirements<br />

for <strong>voice</strong>.<br />

For example, to specify a CODEC rate of G.711a-law for VoIP dial peer 108, enter the following:<br />

Dial-peer <strong>voice</strong> 108 voip<br />

<strong>de</strong>stination-pattern +1408528<br />

co<strong>de</strong>c g711alaw<br />

session target ipv4:10.0.0.8<br />

Specify the QoS value below which an SNMP<br />

trap will be generated.<br />

1 dial-peer <strong>voice</strong> number voip Enter the dial-peer configuration mo<strong>de</strong> to configure<br />

a VoIP peer.<br />

2 co<strong>de</strong>c [g711alaw | g711ulaw | g729r8] Specify the <strong>de</strong>sired <strong>voice</strong> co<strong>de</strong>r rate of speech.<br />

Configuring Voice over IP for the Cisco 3600 Series 2-31

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!