Hey,
Yes it is setup the exact same on the other end...another cisco router 831...but the phone quality is just really bad.
Main Topics
Browse All TopicsHey I'm trying to run VoIP through an Ipsec tunnel and use QoS. It seems to be working. But I'm still getting bad quality. Does any one have any ideas, or is it working correctly? Here is the config where 192.168.1.12 is the phone server:
NetRouter#show run
Building configuration...
!
version 12.3
!
!
class-map match-all voip
match access-group 176
class-map match-all non-voip
match access-group 177
!
!
policy-map vpn-tunnel
class voip
priority percent 70
class non-voip
priority percent 5
class class-default
fair-queue
queue-limit 15
!
crypto isakmp policy 1
authentication pre-share
group 2
!
crypto isakmp policy 2
hash md5
authentication pre-share
group 2
!
crypto isakmp policy 3
authentication pre-share
!
crypto isakmp policy 4
hash md5
crypto isakmp key ******** address *.*.*.*
no crypto isakmp ccm
!
!
crypto ipsec transform-set rtpset6 esp-3des esp-sha-hmac
no crypto ipsec nat-transparency udp-encaps
!
crypto map rtp 1 ipsec-isakmp
set peer *.*.*.*
set transform-set rtpset6
match address 132
qos pre-classify
!
!
!
interface Ethernet0
ip address 192.168.25.1 255.255.255.0
ip nat inside
ip inspect myfw in
ip virtual-reassembly
no cdp enable
hold-queue 32 in
!
interface Ethernet1
ip address 71.36.27.177 255.255.255.248
ip nat outside
ip inspect myfw out
ip virtual-reassembly
duplex auto
no cdp enable
crypto map rtp
service-policy output vpn-tunnel
!
interface Ethernet2
no ip address
shutdown
!
interface FastEthernet1
no ip address
duplex auto
speed auto
!
interface FastEthernet2
no ip address
duplex auto
speed auto
!
interface FastEthernet3
no ip address
duplex auto
speed auto
!
interface FastEthernet4
no ip address
duplex auto
speed auto
!
ip classless
ip route 0.0.0.0 0.0.0.0 *.*.*.*
ip http server
no ip http secure-server
!
ip nat inside source route-map nonat interface Ethernet1 overload
!
access-list 23 permit 192.168.25.0 0.0.0.255
access-list 104 deny ip 192.168.25.0 0.0.0.255 192.168.1.0 0.0.0.255
access-list 104 permit ip 192.168.25.0 0.0.0.255 any
access-list 132 permit ip 192.168.25.0 0.0.0.255 192.168.1.0 0.0.0.255
access-list 176 permit ip 192.168.25.0 0.0.0.255 host 192.168.1.12
access-list 176 permit ip host 192.168.1.12 192.168.25.0 0.0.0.255
access-list 176 permit ip 192.168.25.2 0.0.0.60 host 192.168.1.12
access-list 176 permit ip host 192.168.1.12 192.168.25.2 0.0.0.60
access-list 176 deny ip any any
access-list 177 deny ip host 192.168.1.12 192.168.25.0 0.0.0.255
access-list 177 deny ip 192.168.25.0 0.0.0.255 host 192.168.1.12
access-list 177 permit ip any any
route-map nonat permit 10
match ip address 104
NetRouter#show policy-map int eth 1
Ethernet1
Service-policy output: vpn-tunnel
Class-map: voip (match-all)
881191 packets, 59288639 bytes
5 minute offered rate 41000 bps, drop rate 0 bps
Match: access-group 176
Queueing
Strict Priority
Output Queue: Conversation 264
Bandwidth 70 (%)
Bandwidth 7000 (kbps) Burst 175000 (Bytes)
(pkts matched/bytes matched) 106423/12727306
(total drops/bytes drops) 0/0
Class-map: non-voip (match-all)
206007 packets, 36342772 bytes
5 minute offered rate 8000 bps, drop rate 0 bps
Match: access-group 177
Queueing
Strict Priority
Output Queue: Conversation 264
Bandwidth 5 (%)
Bandwidth 500 (kbps) Burst 12500 (Bytes)
(pkts matched/bytes matched) 32105/15115712
(total drops/bytes drops) 141/197769
Class-map: class-default (match-any)
19235 packets, 1154100 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
Queueing
Flow Based Fair Queueing
Maximum Number of Hashed Queues 256
(total queued/total drops/no-buffer drops) 0/0/0
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I am using 831's accross our WAN and they are emplamented with Cisco's 7900 Series phones using Call Manager. Most of my remote users notice call clarity issues when there is bad weather, but they/I all have cabl;e Internet connections. When our speeds drop in Truckee or BFE, the quality of the voice seems to degradate. This is, from what we can figure, caused by the slow speeds and not the configuration of the router. As when the weather is clear, the phone is clear and crisp. If you have the option of bumping your connection speeds up, I believe this should resolve your issue. Here is my config to compare to:
version 12.3
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
hostname Cisco831
enable secret 5
no aaa new-model
ip subnet-zero
ip name-server 192.168.1.249
ip dhcp excluded-address 10.10.21.1
ip dhcp pool CLIENT
import all
network 10.10.21.0 255.255.255.0
default-router 10.10.21.1
option 150 ip 192.168.2.2
dns-server 192.168.1.249
lease 0 2
ip audit notify log
ip audit po max-events 100
no ftp-server write-enable
crypto isakmp policy 1
encr 3des
hash md5
authentication pre-share
group 2
crypto ipsec client ezvpn hw-client
connect auto
group key 0
mode client
peer
interface Ethernet0
ip address 10.10.21.1 255.255.255.0
no cdp enable
crypto ipsec client ezvpn hw-client inside
hold-queue 32 in
interface Ethernet1
ip address dhcp
duplex auto
no cdp enable
crypto ipsec client ezvpn hw-client
interface FastEthernet1
no ip address
duplex auto
speed auto
interface FastEthernet2
no ip address
duplex auto
speed auto
interface FastEthernet3
no ip address
duplex auto
speed auto
interface FastEthernet4
no ip address
duplex auto
speed auto
ip nat inside source list 102 interface Ethernet1 overload
ip classless
ip route 192.168.2.0 255.255.255.0 Ethernet1
ip http server
no ip http secure-server
access-list 23 permit 10.10.21.0 0.0.0.255
access-list 102 permit ip 10.10.21.0 0.0.0.255 any
no cdp run
line con 0
exec-timeout 120 0
no modem enable
stopbits 1
line aux 0
line vty 0 4
access-class 23 in
exec-timeout 120 0
password 7 14141B180F0B7B7D747860
login
scheduler max-task-time 5000
end
Business Accounts
Answer for Membership
by: grbladesPosted on 2005-08-23 at 01:45:05ID: 14731343
It looks fine. You are not getting any dropped packets for the voip class-map which is the important thing.
Do you also have QOS defined on the router the other end?
What voip system and codec are you using?