• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Xin chào ! Nếu đây là lần đầu tiên bạn đến với diễn đàn, xin vui lòng danh ra một phút bấm vào đây để đăng kí và tham gia thảo luận cùng VnPro.

Announcement

Collapse
No announcement yet.

Troubleshooting VoIP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Troubleshooting VoIP

    Nhờ mọi người check dùm cấu hình VoIP trên kênh Leased-line 256kbps. R3661 dùng IOS 12.2(5) ENTERPRISE PLUS. Đường đã thông nhưng VoIP chạy không ổn định, có tiếng nhại khi thực hiện cuộc gọi. Data thỉnh thoảng bị mất, fải reload router. Có cần thiết fải upgrade IOS không?

    Xin cảm ơn!

  • #2
    Re: Troubleshooting VoIP

    Hi,

    Xin được paste cấu hình của anh lên đây cho mọi người tiện tham khảo:

    Anh thử tăng volum của cuộc gọi lên nhé. Thử và báo cho em biết kết quả:


    voice-port 3/0/0
    input gain 12

    mến,


    ------------------------------------------------------
    Building configuration...

    Current configuration:
    !
    version 12.0
    service timestamps debug uptime
    service timestamps log uptime
    no service password-encryption
    !
    hostname rhcm
    !
    enable password
    !
    !
    class-map voice
    match access-group 100
    !
    !
    policy-map voice
    class voice
    priority 128
    !
    ip subnet-zero
    !
    --More--  isdn voice-call-failure 0
    !
    !
    !
    !
    controller E1 5/0
    !
    !
    !
    interface FastEthernet0/0
    ip address 130.21.33.34 255.255.0.0
    ip helper-address 172.16.34.10
    ip helper-address 172.16.40.100
    ip helper-address 172.16.60.160
    ip helper-address 172.16.60.11
    no ip directed-broadcast
    duplex auto
    speed auto
    !
    interface FastEthernet1/0
    ip address 10.1.1.254 255.255.255.0
    no ip directed-broadcast
    duplex auto
    speed auto
    !
    interface Serial1/0
    bandwidth 256
    ip address 130.23.44.90 255.255.0.0
    no ip directed-broadcast
    no ip route-cache
    no ip mroute-cache
    keepalive 1
    service-policy output voice
    ip rtp header-compression
    ip rtp compression-connections 100
    !
    interface BRI1/0
    no ip address
    no ip directed-broadcast
    shutdown
    isdn guard-timer 0 on-expiry accept
    !
    interface Serial1/1
    no ip address
    no ip directed-broadcast
    shutdown
    clockrate 2000000
    !
    interface FastEthernet5/0
    no ip address
    no ip directed-broadcast
    shutdown
    duplex auto
    speed auto
    !
    ip classless
    ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
    ip route 130.44.0.0 255.255.0.0 Serial1/0 130.23.44.99
    ip route 172.16.0.0 255.255.0.0 130.23.44.99
    ip route 172.16.32.0 255.255.252.0 130.23.44.99
    ip route 172.16.40.0 255.255.252.0 130.23.44.99
    ip route 172.16.60.0 255.255.255.0 130.23.44.99
    ip route 172.16.61.0 255.255.255.0 130.23.44.99
    ip route 172.16.62.0 255.255.255.0 130.23.44.99
    ip route 220.31.43.0 255.255.255.0 FastEthernet0/0 130.21.33.1
    no ip http server
    !
    access-list 1 permit 172.16.59.0 0.0.0.255
    access-list 1 deny any log
    --More--  access-list 100 permit udp any any range 16384 32767 precedence critical
    snmp-server engineID local 0000000902000007502171A0
    snmp-server community adminvna RW 1
    !
    voice-port 2/0/0
    no echo-cancel enable
    operation 4-wire
    type 5
    !
    voice-port 2/0/1
    no echo-cancel enable
    operation 4-wire
    type 5
    !
    voice-port 2/1/0
    no echo-cancel enable
    operation 4-wire
    type 5
    !
    voice-port 2/1/1
    operation 4-wire
    type 5
    !
    --More--  voice-port 3/0/0
    no echo-cancel enable
    operation 4-wire
    type 5
    !
    voice-port 3/0/1
    no echo-cancel enable
    operation 4-wire
    type 5
    !
    voice-port 3/1/0
    operation 4-wire
    type 5
    !
    voice-port 3/1/1
    no echo-cancel enable
    operation 4-wire
    type 5
    !
    dial-peer voice 81 pots
    destination-pattern +8...
    port 2/0/0
    prefix 8
    --More--  !
    dial-peer voice 82 pots
    destination-pattern +8...
    port 2/0/1
    prefix 8
    !
    dial-peer voice 83 pots
    destination-pattern +8...
    port 2/1/0
    prefix 8
    !
    dial-peer voice 84 pots
    destination-pattern +8...
    port 2/1/1
    prefix 8
    !
    dial-peer voice 85 pots
    destination-pattern +8...
    port 3/0/0
    prefix 8
    !
    dial-peer voice 86 pots
    destination-pattern +8...
    --More--   port 3/0/1
    prefix 8
    !
    dial-peer voice 87 pots
    destination-pattern +8...
    port 3/1/0
    prefix 8
    !
    dial-peer voice 88 pots
    destination-pattern +8...
    port 3/1/1
    prefix 8
    !
    dial-peer voice 96 pots
    destination-pattern +9
    port 3/0/0
    prefix 9
    !
    dial-peer voice 97 pots
    destination-pattern +9
    port 3/0/1
    prefix 9
    !
    --More--  dial-peer voice 98 pots
    destination-pattern +9
    port 3/1/0
    prefix 9
    !
    dial-peer voice 99 pots
    destination-pattern +9
    port 3/1/1
    prefix 9
    !
    dial-peer voice 102 voip
    destination-pattern +2...
    session target ipv4:130.23.44.99
    req-qos controlled-load
    ip precedence 5
    !
    dial-peer voice 103 voip
    destination-pattern +3...
    session target ipv4:130.23.44.99
    req-qos controlled-load
    ip precedence 5
    !
    !
    --More--  line con 0
    exec-timeout 0 0
    transport input none
    line 129 140
    line aux 0
    line vty 0 4
    exec-timeout 0 0
    password rhcm
    login
    !
    end

    rhcm#
    Building configuration...

    Current configuration:
    !
    version 12.0
    service timestamps debug uptime
    service timestamps log uptime
    no service password-encryption
    !
    hostname rhcm
    !
    logging buffered 4096 debugging
    enable password rhcm
    !
    username phanxapnam password 0 ttxvn
    username pvcdhcm password 0 ttxvn
    username kthcm password 0 tech123
    username baodaipnam password 0 ttxvn
    !
    class-map voice
    match access-group 100
    !
    !
    policy-map voice
    --More--   class voice
    priority 128
    !
    ip subnet-zero
    !
    isdn voice-call-failure 0
    chat-script MICA ABORT ERROR ATZ OK AT&FSO=1 OK EOT
    chat-script MICA-init %
    modemcap entry MICA:FD=AT&F:MSC=&FS0=1
    modemcap entry 129 140
    !
    !
    !
    !
    controller E1 5/0
    framing NO-CRC4
    ds0-group 1 timeslots 1-15,17-31 type r2-digital r2-compelled ani
    cas-custom 1
    country vietnam use-defaults
    metering
    !
    !
    !
    --More--  interface Loopback0
    ip address 192.168.2.254 255.255.255.0
    no ip directed-broadcast
    ip nat inside
    !
    interface FastEthernet0/0
    no ip address
    no ip directed-broadcast
    duplex auto
    speed auto
    !
    interface FastEthernet0/0.1
    encapsulation dot1Q 1
    ip address 172.17.1.33 255.255.255.224
    ip access-group 9 out
    no ip directed-broadcast
    !
    interface FastEthernet0/0.2
    encapsulation dot1Q 2
    ip address 172.17.2.1 255.255.255.0
    ip helper-address 172.16.34.10
    ip helper-address 172.16.40.100
    ip helper-address 172.16.60.160
    --More--   ip helper-address 172.16.60.11
    no ip directed-broadcast
    !
    interface FastEthernet1/0
    no ip address
    no ip directed-broadcast
    duplex auto
    speed auto
    !
    interface Serial1/0
    bandwidth 256
    ip address 130.23.44.90 255.255.0.0
    no ip directed-broadcast
    no ip route-cache
    no ip mroute-cache
    keepalive 1
    service-policy output voice
    ip rtp header-compression
    ip rtp compression-connections 100
    !
    interface BRI1/0
    no ip address
    no ip directed-broadcast
    --More--   shutdown
    isdn guard-timer 0 on-expiry accept
    !
    interface Serial1/1
    no ip address
    no ip directed-broadcast
    shutdown
    clockrate 2000000
    !
    interface FastEthernet5/0
    no ip address
    no ip directed-broadcast
    shutdown
    duplex auto
    speed auto
    !
    interface FastEthernet5/0.1
    no ip directed-broadcast
    !
    interface FastEthernet5/0.2
    no ip directed-broadcast
    !
    interface Group-Async1
    --More--   ip unnumbered Loopback0
    no ip directed-broadcast
    ip nat inside
    encapsulation ppp
    ip tcp header-compression
    async mode interactive
    peer default ip address pool REMOTE
    ppp authentication chap
    group-range 129 140
    !
    ip local pool REMOTE 192.168.2.1 192.168.2.12
    ip nat inside source list 8 interface FastEthernet0/0 overload
    ip classless
    ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
    ip route 130.44.0.0 255.255.0.0 Serial1/0 130.23.44.99
    ip route 172.16.0.0 255.255.0.0 130.23.44.99
    no ip http server
    !
    logging history debugging
    access-list 1 permit 172.16.59.0 0.0.0.255
    access-list 1 deny any log
    access-list 8 permit 192.168.2.0 0.0.0.255
    access-list 9 permit 172.16.59.0 0.0.0.255
    --More--  access-list 9 permit 172.16.68.0 0.0.0.255
    access-list 100 permit udp any any range 16384 32767 precedence critical
    snmp-server engineID local 0000000902000007502171A0
    snmp-server community adminvna RW 1
    !
    voice-port 2/0/0
    no echo-cancel enable
    operation 4-wire
    type 5
    !
    voice-port 2/0/1
    no echo-cancel enable
    operation 4-wire
    type 5
    !
    voice-port 2/1/0
    no echo-cancel enable
    operation 4-wire
    type 5
    !
    voice-port 2/1/1
    no echo-cancel enable
    operation 4-wire
    --More--   type 5
    !
    voice-port 3/0/0
    no echo-cancel enable
    operation 4-wire
    type 5
    !
    voice-port 3/0/1
    no echo-cancel enable
    operation 4-wire
    type 5
    !
    voice-port 3/1/0
    operation 4-wire
    type 5
    !
    voice-port 3/1/1
    no echo-cancel enable
    operation 4-wire
    type 5
    !
    dial-peer voice 81 pots
    destination-pattern +8...
    --More--   port 2/0/0
    prefix 8
    !
    dial-peer voice 82 pots
    destination-pattern +8...
    port 2/0/1
    prefix 8
    !
    dial-peer voice 83 pots
    destination-pattern +8...
    port 2/1/0
    prefix 8
    !
    dial-peer voice 84 pots
    destination-pattern +8...
    port 2/1/1
    prefix 8
    !
    dial-peer voice 85 pots
    destination-pattern +8...
    port 3/0/0
    prefix 8
    !
    --More--  dial-peer voice 86 pots
    destination-pattern +8...
    port 3/0/1
    prefix 8
    !
    dial-peer voice 87 pots
    destination-pattern +8...
    port 3/1/0
    prefix 8
    !
    dial-peer voice 88 pots
    destination-pattern +8...
    port 3/1/1
    prefix 8
    !
    dial-peer voice 96 pots
    destination-pattern +9
    port 3/0/0
    prefix 9
    !
    dial-peer voice 97 pots
    destination-pattern +9
    port 3/0/1
    --More--   prefix 9
    !
    dial-peer voice 98 pots
    destination-pattern +9
    port 3/1/0
    prefix 9
    !
    dial-peer voice 99 pots
    destination-pattern +9
    port 3/1/1
    prefix 9
    !
    dial-peer voice 102 voip
    destination-pattern +2...
    session target ipv4:130.23.44.99
    req-qos controlled-load
    ip precedence 5
    !
    dial-peer voice 103 voip
    destination-pattern +3...
    session target ipv4:130.23.44.99
    req-qos controlled-load
    ip precedence 5
    --More--  !
    !
    line con 0
    exec-timeout 0 0
    password rhcm
    login
    transport input none
    line 129 140
    session-timeout 30
    autoselect arap
    autoselect during-login
    autoselect ppp
    session-disconnect-warning 1500
    login local
    modem answer-timeout 20
    modem InOut
    modem autoconfigure type MICA
    transport input all
    autohangup
    stopbits 1
    flowcontrol hardware
    line aux 0
    line vty 0 4
    --More--   exec-timeout 0 0
    password rhcm
    login
    !
    end

    rhcm#
    Building configuration...

    Current configuration : 4951 bytes
    !
    version 12.2
    service timestamps debug datetime msec
    service timestamps log datetime msec
    service password-encryption
    !
    hostname rhcm
    !
    no logging buffered
    enable password 7 00161B0509
    !
    username phanxapnam password 7 15061F141224
    username baodaipnam password 7 083558561F17
    username kthcm password 7 071B244F46584B56
    username pvcdhcm password 7 15061F141224
    ip subnet-zero
    !
    !
    no ip domain-lookup
    ip host rhanoi 172.18.1.1
    !
    --More--  !
    class-map match-all voice
    match access-group 100
    !
    !
    policy-map voice
    class voice
    priority 128
    !
    isdn voice-call-failure 0
    call rsvp-sync
    !
    !
    !
    !
    !
    fax interface-type modem
    mta receive maximum-recipients 0
    !
    controller E1 5/0
    framing NO-CRC4
    ds0-group 1 timeslots 1-15,17-31 type r2-digital r2-compelled ani
    cas-custom 1
    country vietnam use-defaults
    metering
    !
    !
    !
    interface Loopback0
    ip address 192.168.2.254 255.255.255.0
    ip nat inside
    !
    interface FastEthernet0/0
    no ip address
    duplex auto
    speed auto
    !
    interface FastEthernet0/0.1
    encapsulation dot1Q 1 native
    ip address 172.17.1.33 255.255.255.224
    ip access-group 9 out
    !
    interface FastEthernet0/0.2
    encapsulation dot1Q 2
    ip address 172.17.2.1 255.255.255.0
    ip access-group 180 in
    --More--   ip helper-address 172.16.60.160
    ip helper-address 172.16.60.11
    ip helper-address 172.16.40.100
    ip helper-address 172.16.34.10
    ip helper-address 172.16.44.10
    ip helper-address 172.16.38.10
    ip helper-address 172.16.62.79
    !
    interface FastEthernet1/0
    no ip address
    shutdown
    duplex auto
    speed auto
    !
    interface Serial1/0
    bandwidth 256
    ip address 172.18.1.2 255.255.255.248
    no ip route-cache
    no ip mroute-cache
    keepalive 1
    no fair-queue
    ip rtp header-compression
    ip rtp compression-connections 100
    --More--  !
    interface BRI1/0
    no ip address
    shutdown
    !
    interface Serial1/1
    no ip address
    shutdown
    clockrate 2000000
    !
    interface FastEthernet5/0
    no ip address
    shutdown
    duplex auto
    speed auto
    !
    interface Group-Async1
    ip unnumbered Loopback0
    ip nat inside
    encapsulation ppp
    ip tcp header-compression
    async mode dedicated
    peer default ip address pool REMOTE
    --More--   ppp authentication chap
    group-range 129 140
    !
    ip local pool REMOTE 192.168.2.1 192.168.2.12
    ip nat inside source list 8 interface FastEthernet0/0 overload
    ip classless
    ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
    ip route 172.16.0.0 255.255.0.0 Serial1/0
    ip http server
    ip pim bidir-enable
    !
    access-list 8 permit 192.168.2.0 0.0.0.255
    access-list 9 permit 172.18.1.1
    access-list 9 permit 172.16.59.0 0.0.0.255
    access-list 9 permit 172.16.68.0 0.0.0.255
    access-list 100 permit udp any any range 16384 32767 precedence critical
    access-list 180 deny tcp 172.17.2.0 0.0.0.255 host 172.17.2.1 eq www
    access-list 180 permit ip any any
    !
    snmp-server engineID local 00000009020000070EEBDA90
    snmp-server community adminvna RW 9
    !
    voice-port 2/0/0
    --More--   no echo-cancel enable
    operation 4-wire
    type 5
    !
    voice-port 2/0/1
    no echo-cancel enable
    operation 4-wire
    type 5
    !
    voice-port 2/1/0
    no echo-cancel enable
    operation 4-wire
    type 5
    !
    voice-port 2/1/1
    no echo-cancel enable
    operation 4-wire
    type 5
    !
    voice-port 3/0/0
    no echo-cancel enable
    operation 4-wire
    type 5
    voice-port 3/0/1
    no echo-cancel enable
    operation 4-wire
    type 5
    !
    voice-port 3/1/0
    no echo-cancel enable
    operation 4-wire
    type 5
    !
    voice-port 3/1/1
    no echo-cancel enable
    operation 4-wire
    type 5
    !
    dial-peer cor custom
    !
    !
    !
    dial-peer voice 81 pots
    destination-pattern +8...
    port 2/0/0
    prefix 8
    !
    dial-peer voice 82 pots
    destination-pattern +8...
    port 2/0/1
    prefix 8
    !
    dial-peer voice 83 pots
    destination-pattern +8...
    port 2/1/0
    prefix 8
    !
    dial-peer voice 84 pots
    destination-pattern +8...
    port 2/1/1
    prefix 8
    !
    dial-peer voice 85 pots
    destination-pattern +8...
    port 3/0/0
    prefix 8
    !
    dial-peer voice 86 pots
    +8...
    port 3/0/1
    prefix 8
    !
    dial-peer voice 87 pots
    destination-pattern +8...
    port 3/1/0
    prefix 8
    !
    dial-peer voice 88 pots
    destination-pattern +8...
    port 3/1/1
    prefix 8
    !
    dial-peer voice 96 pots
    destination-pattern +9
    port 3/0/0
    prefix 9
    !
    dial-peer voice 97 pots
    destination-pattern +9
    port 3/0/1
    prefix 9
    dial-peer voice 98 pots
    destination-pattern +9
    port 3/1/0
    prefix 9
    !
    dial-peer voice 99 pots
    destination-pattern +9
    port 3/1/1
    prefix 9
    !
    dial-peer voice 102 voip
    destination-pattern +2...
    session target ipv4:172.18.1.1
    req-qos controlled-load
    ip precedence 5
    !
    dial-peer voice 103 voip
    destination-pattern +3...
    session target ipv4:172.18.1.1
    req-qos controlled-load
    ip precedence 5
    !
    line con 0
    password 7 111B11061A
    login
    line 129 140
    session-timeout 30
    session-disconnect-warning 1500
    login local
    modem answer-timeout 20
    modem InOut
    modem autoconfigure type mica
    transport input all
    autoselect during-login
    autoselect ppp
    autohangup
    line aux 0
    modem InOut
    modem autoconfigure discovery
    transport input all
    stopbits 1
    speed 2400
    flowcontrol hardware
    line vty 0 4
    access-class 9 in
    password 7 071D294F43
    login
    !
    end

    rhcm#

    Comment


    • #3
      Re: Troubleshooting VoIP

      Khi gặp vấn đề về voip với sản phẩm Cisco, việc đầu tiên (sau khi check qua cấu hình) là copy IOS mới vào. Mình dùng từ copy vì đôi khi IOS có lỗi, copy chính version đang sử dụng từ ngoài vào lại thấy chayk rất ngon.
      Hoàng Đức Phương, CCIE #12613
      info@ipmac.com.vn
      www.ipmac.com.vn

      Comment


      • #4
        ANh Tuyenvna có thể dùng LLQ để ưu tiên voice-traffic nếu các cách trện không hiệu quả.

        Comment


        • #5
          Hi TUYEN, Minh thay trong cau hinh cac voice-port :
          voice-port 3/1/1
          no echo-cancel enable -----> Ban hay enable no nen
          operation 4-wire
          type 5

          Comment


          • #6
            Cảm ơn mọi người đã quan tâm, minh sẽ thử xem sao. Mặt khác, mọi người có ý kiến gì IOS 12.2(5) ENTERPRISE PLUS không? Mình mới Upload IOS này (trước dùng 12.0(7)). Mình nghe nói IOS 12.2T chạy VoIP rất ổn định?

            Comment


            • #7
              Dung la 12.2T chay cho VoIP thi on dinh , Ban nen chay 12.2T5.

              Comment


              • #8
                Cảm ơn bạn.Hiện minh có IOS 12.2-11T không biết có dùng được không?

                Comment


                • #9
                  Minh cung da dung 12.2-11T IOS nay chay tot cho Voice , ban co the dung . Nhung chu y neu chay cho AS 53xx thi co the bi loi oneway audio.

                  Comment

                  Working...
                  X