cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
719
Views
5
Helpful
1
Replies

Delay in incoming - Outgoing calls on PRI

Vijay Patil
Level 3
Level 3

We are facing issue of delay incoming & outgoing calls..where using cisco router & PABX is third party...

VGW#sh running-config
Building configuration...


Current configuration : 15571 bytes
!
! Last configuration change at 17:31:37 UTC Wed Jul 4 2018 by root
!
version 15.5
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
service internal
service sequence-numbers
!
hostname VGW
!
boot-start-marker
boot system flash:c2900-universalk9-mz.SPA.155-3.M6a.bin
boot system flash:c2900-universalk9-mz.SPA.151-1.T2.bin
boot-end-marker
!
!
card type e1 0 0
logging queue-limit 100000
no logging buffered
no logging rate-limit
no logging console
no logging monitor
enable secret 5 $1$K7Td$G.co/nGZ1TnLZ8U5Rx.nT.
enable password 7 105E080A16001D1908
!
no aaa new-model
ethernet lmi ce
clock timezone UTC 5 30
network-clock-participate wic 0
network-clock-select 1 E1 0/0/0
!
!
!
!
!
!
no ip source-route
!
!
!
!
!
ip dhcp excluded-address 192.31.27.1 192.31.27.10
!
ip dhcp pool VOICE
 network 192.31.27.0 255.255.255.0
 default-router 192.31.27.1
 dns-server 4.2.2.2
!
!
!
no ip bootp server
no ip domain lookup
ip domain name mumbai.com
ip cef
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-net5
!
!
crypto pki trustpoint TP-self-signed-2370535939
 enrollment selfsigned
 subject-name cn=IOS-Self-Signed-Certificate-2370535939
 revocation-check none
!
!
crypto pki certificate chain TP-self-signed-2370535939
 certificate self-signed 01
  3082024F 308201B8 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
  31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
  69666963 6174652D 32333730 35333539 3339301E 170D3132 30343231 32303138
  34335A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
  4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D32 33373035
  33353933 3930819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
  810099F3 014F43D5 AD5CDAB5 CAA34E60 CA3A3AFB E348981A 0D4E9275 892E2203
  ECAC6023 3B150C78 95ADDC4C A7A74453 3AC11B6E 9A2A5725 311C6249 5EBF0EB2
  31882581 2FDAFAD8 60FC1ABD AC7F1C8B A8AE6A3C 74D89C1E 66CFF346 A44904CC
  BB818EEB C9F1BDAD 99984C07 928706F5 A10AFB21 9BF3BBD2 4CE22093 C9A54E99
  87D50203 010001A3 77307530 0F060355 1D130101 FF040530 030101FF 30220603
  551D1104 1B301982 17796F75 726E616D 652E796F 7572646F 6D61696E 2E636F6D
  301F0603 551D2304 18301680 1471555C 64B3B95C 2B9F9817 FDD39D20 AD081A84
  E6301D06 03551D0E 04160414 71555C64 B3B95C2B 9F9817FD D39D20AD 081A84E6
  300D0609 2A864886 F70D0101 04050003 81810094 2645D246 130C8371 926C841F
  75F49A34 AB2B9FC2 ACFBF060 2D4A5256 A8FA0FAE 39FB331B AE739D4F 282F021A
  142A7C73 6C0C0783 DDBEF902 2BF09347 EF52880F D74F6F1C 82494619 53CB8C68
  84F5E73D A538104A C811B62F 2D64D6D1 30121BF5 5BAEDA5B F9FC88EC AEEC7822
  C3813C7B 050CA5BA EA5DC977 DCBD381E DC10C0
      quit
voice-card 0
 dspfarm
 dsp services dspfarm
!
!
!
voice service voip
 ip address trusted list
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
 fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
 h323
 sip
  bind control source-interface GigabitEthernet0/0.10
  bind media source-interface GigabitEthernet0/0.10
!
voice class codec 1
 codec preference 1 g711alaw
 codec preference 2 g711ulaw
!
voice class codec 2
 codec preference 1 g711alaw
 codec preference 2 g711ulaw
 codec preference 3 g729r8
!
!
!
!
voice iec syslog
!
!
voice translation-rule 1
 rule 1 /^5999/ /3050/
!
voice translation-rule 2
 rule 1 /^490189../ /3050/
!
voice translation-rule 5
 rule 1 reject /9685499837/
!
!
voice translation-profile DID
translate called 1
!
voice translation-profile PRI2
translate called 2
!
voice translation-profile call_block
translate calling 5
!
!
!
license udi pid CISCO2911/K9 sn FGL161613RB
hw-module pvdm 0/0
!
hw-module pvdm 0/1
!
!
!
username root privilege 15 secret 5 $1$1OoC$WDUHdbQvXt95lMGm8HK5M.
username cisco password 7 121A0C041104
!
redundancy
 notification-timer 120000
!
!
controller E1 0/0/0
 framing NO-CRC4
 pri-group timeslots 1-31
!
controller E1 0/0/1
 framing NO-CRC4
 pri-group timeslots 1-31
no cdp run
!
!
!
!
!
interface Loopback0
 description LOOPBACK_FOR_SIPTRUNK
 ip address 172.31.24.0 255.255.255.255
!
interface Embedded-Service-Engine0/0
 no ip address
 shutdown
!
interface GigabitEthernet0/0
 no ip address
 load-interval 30
 duplex full
 speed 100
!
interface GigabitEthernet0/0.10
 description ***XYX Voice LAN IP***
 encapsulation dot1Q 10
 ip address 192.31.27.2 255.255.255.0
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 ip accounting output-packets
 ip virtual-reassembly in
 standby 1 ip 192.31.27.1
 standby 1 priority 150
 standby 1 preempt
!
interface GigabitEthernet0/2
 bandwidth 8192
 no ip address
 load-interval 30
 duplex auto
 speed auto
!
interface Serial0/0/0:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn incoming-voice voice
 no cdp enable
!
interface Serial0/0/1:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn incoming-voice voice
 no cdp enable
!
interface Serial0/1/0
 no ip address
 clock rate 2000000
!
interface Serial0/1/1
 no ip address
 clock rate 2000000
!
 address-family ipv4
  bgp dampening 3
  network 192.31.27.0 mask 255.255.255.0
  neighbor 192.31.27.3 activate
  neighbor 192.31.27.3 next-hop-self
  neighbor 172.36.20.29 activate
  neighbor 172.36.20.29 allowas-in 5
  neighbor 172.36.20.29 soft-reconfiguration inbound
  neighbor 172.36.20.29 prefix-list NEROROUTE in
  neighbor 172.36.20.29 route-map MAIL_IN in
  neighbor 192.168.250.153 activate
  neighbor 192.168.250.153 allowas-in 5
  neighbor 192.168.250.153 soft-reconfiguration inbound
  neighbor 192.168.250.153 prefix-list NEROROUTE in
  neighbor 192.168.250.153 route-map SAP_IN in
 exit-address-family
!
no ip classless
ip forward-protocol nd
!
ip as-path access-list 10 permit ^$
no ip http server
no ip http secure-server
!
ip route 172.31.26.0 255.255.255.0 192.31.27.250
ip route 172.31.26.0 255.255.255.0 192.31.27.251 100
ip route 192.168.98.100 255.255.255.252 172.36.20.29 name AIRTEL
ip route 192.168.165.140 255.255.255.252 192.168.250.153
!
!
ip prefix-list LAN seq 5 permit 192.31.27.0/24
!
ip prefix-list LAN_OUT seq 5 permit 192.31.27.0/24
!
ip prefix-list Mail_Traffic seq 5 permit 172.31.5.0/25
ip prefix-list Mail_Traffic seq 10 permit 172.31.5.128/25
ip prefix-list Mail_Traffic seq 15 permit 172.31.12.0/25
ip prefix-list Mail_Traffic seq 20 permit 172.31.12.128/25
!
ip prefix-list NEROROUTE seq 4 permit 172.31.6.0/24
ip prefix-list NEROROUTE seq 5 permit 172.31.5.0/25
ip prefix-list NEROROUTE seq 10 permit 172.31.5.128/25
ip prefix-list NEROROUTE seq 15 permit 172.31.12.0/25
ip prefix-list NEROROUTE seq 20 permit 172.31.12.128/25
ip prefix-list NEROROUTE seq 45 permit 172.31.11.0/24
!
ip prefix-list SAP_Traffic seq 45 permit 172.31.11.0/24
ip prefix-list SAP_Traffic seq 50 permit 172.31.6.0/24
ip prefix-list SAP_Traffic seq 55 permit 172.31.11.175/32
kron occurrence Mon_backup at 9:00 Mon recurring
 policy-list backup-config
!
kron policy-list backup-config
 cli copy system:/running-config tftp://172.31.5.139/VGW.txt
!
logging history debugging
logging trap debugging
logging host 172.31.5.43
logging host 192.31.27.98
!
route-map SAP_IN permit 10
 match ip address prefix-list SAP_Traffic
 set local-preference 250
!
route-map SAP_IN permit 20
 match ip address prefix-list Mail_Traffic
!
route-map MAIL_IN permit 10
 match ip address prefix-list Mail_Traffic
 set local-preference 250
!
route-map MAIL_IN permit 20
 match ip address prefix-list SAP_Traffic
!
!
snmp-server user public public v3
snmp-server user ABCCorp!@# ABCCorp!@# v3
snmp-server group public v3 noauth
snmp-server group ABCCorp!@# v3 noauth
snmp-server view public bgp included
snmp-server view public mib-2.25 excluded
snmp-server view public sysUpTime excluded
snmp-server view ABCCorp!@# bgp included
snmp-server view ABCCorp!@# mib-2.25 included
snmp-server view ABCCorp!@# sysUpTime excluded
snmp-server community ABCCorp!@# RO
snmp-server community enocgnpl RW 98
snmp-server community public RO
snmp-server ifindex persist
snmp-server enable traps snmp linkdown linkup
snmp-server enable traps bgp
snmp-server enable traps config
snmp-server host 172.31.5.43 version 3 noauth ABCCorp!@#
snmp-server host 172.31.5.43 version 3 noauth public
access-list 1 permit 172.31.11.0 0.0.0.255
access-list 1 permit 172.31.6.0 0.0.0.255
access-list 2 deny   172.31.11.0 0.0.0.255
access-list 2 deny   172.31.6.0 0.0.0.255
access-list 2 permit any
access-list 3 deny   172.31.5.139
access-list 3 deny   172.31.5.21
access-list 3 permit any
access-list 700 permit e0db.55a8.361d   0000.0000.0000
!
control-plane
!
!
voice-port 0/0/0:15
 translation-profile incoming call-block
!
voice-port 0/0/1:15
 translation-profile incoming call-block
 !
 !
 !
 !
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
!
!
dspfarm profile 1 transcode  
 codec g711alaw
 codec g711ulaw
 codec g729abr8
 codec g729ar8
 codec g729r8
 maximum sessions 2
 associate application CUBE
!
dial-peer voice 1 voip
 translation-profile outgoing DID
 destination-pattern 5999
 session protocol sipv2
 session target ipv4:172.31.11.175
 session transport udp
 incoming called-number 9.T
 voice-class codec 1  
 voice-class sip bind control source-interface GigabitEthernet0/0.10
 voice-class sip bind media source-interface GigabitEthernet0/0.10
 dtmf-relay rtp-nte
 no vad
!
dial-peer voice 4 voip
 session protocol sipv2
 session target ipv4:172.31.11.175
 incoming called-number .
 voice-class codec 1  
 voice-class sip bind control source-interface GigabitEthernet0/0.10
 voice-class sip bind media source-interface GigabitEthernet0/0.10
 dtmf-relay rtp-nte
 no vad
!
dial-peer voice 6 voip
 translation-profile outgoing PRI2
 destination-pattern 490189..
 session protocol sipv2
 session target ipv4:172.31.11.175
 session transport udp
 incoming called-number 9.T
 voice-class codec 1  
 voice-class sip bind control source-interface GigabitEthernet0/0.10
 voice-class sip bind media source-interface GigabitEthernet0/0.10
 dtmf-relay rtp-nte
 no vad
!
dial-peer voice 8 voip
 session protocol sipv2
 session target ipv4:172.31.11.175
 incoming called-number .
 voice-class codec 1  
 voice-class sip bind control source-interface GigabitEthernet0/0.10
 voice-class sip bind media source-interface GigabitEthernet0/0.10
 dtmf-relay rtp-nte
 no vad
!
dial-peer voice 9 pots
 call-block translation-profile incoming call_block
 call-block disconnect-cause incoming call-reject
 preference 1
 destination-pattern .T
 no digit-strip
 port 0/0/1:15
!
dial-peer voice 2 pots
 call-block translation-profile incoming call_block
 call-block disconnect-cause incoming unassigned-number
 preference 2
 destination-pattern .T
 incoming called-number 5999
 no digit-strip
 direct-inward-dial
 port 0/0/0:15
!
dial-peer voice 100 pots
 destination-pattern 40T
 port 0/0/0:15
 forward-digits all
 no sip-register
!
dial-peer voice 101 pots
 preference 1
 destination-pattern 40T
 port 0/0/1:15
 forward-digits all
 no sip-register
!
dial-peer voice 300 pots
 description "Outgoing Mobile Calls"
 preference 1
 destination-pattern 40[6-9]..........
 port 0/0/0:15
 forward-digits 10
!
dial-peer voice 301 pots
 description "Outgoing Mobile Calls"
 preference 2
 destination-pattern 40[6-9]..........
 port 0/0/1:15
 forward-digits 10
!
dial-peer voice 401 pots
 description "Outgoing STD Landline"
 preference 1
 destination-pattern 400[1-9][0-9]........
 port 0/0/0:15
 forward-digits 11
!
dial-peer voice 402 pots
 description "Outgoing STD Landline"
 preference 2
 destination-pattern 400[1-9][0-9]........
 port 0/0/1:15
 forward-digits 11
!
dial-peer voice 403 pots
 description "Outgoing local calls"
 preference 2
 destination-pattern 40[2-6].......
 port 0/0/1:15
 forward-digits 8
!
dial-peer voice 404 pots
 description "Outgoing local calls"
 preference 1
 destination-pattern 40[2-6].......
 port 0/0/0:15
 forward-digits 8
!
!
gateway
 timer receive-rtp 1200
!
sip-ua
 retry invite 3
 retry bye 1
 retry refer 3
 retry register 3
 timers notify 400
 timers refer 567
 timers register 150
 registrar 1 ipv4:172.31.11.175 expires 3600
!
!
!
gatekeeper
 shutdown
!
!
 vstack
privilege exec level 1 traceroute
privilege exec level 1 ping ip
privilege exec level 1 ping
privilege exec level 1 show ip bgp
privilege exec level 1 show ip route
privilege exec level 1 show ip
privilege exec level 1 show processes
privilege exec level 15 show configuration
privilege exec level 1 show
privilege exec level 15 clear counters
privilege exec level 1 clear
banner exec ^CCCC

UNAUTHORIZED ACCESS TO THIS NETWORK DEVICE IS PROHIBITED
You must have explicit permission to access or configure
this device.All activities performed on this device may
be logged, and violations of this policy may result in
disciplinary action,and may be reported to law enforcement.
There is no right to privacy on this device.

!
line con 0
 exec-timeout 5 30
 logging synchronous
 stopbits 1
line aux 0
 exec-timeout 0 1
 no exec
line 2
 no activation-character
 no exec
 transport preferred none
 transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
 stopbits 1
line vty 0 4
 session-timeout 25
 privilege level 15
 logging synchronous
 login local
 length 0
 transport input telnet
line vty 5 15
 exec-timeout 5 0
 login
 transport input telnet
!
scheduler allocate 20000 1000
ntp logging
ntp source GigabitEthernet0/0.10
ntp server 172.31.5.64
!
end

1 Reply 1

Dennis Mink
VIP Alumni
VIP Alumni

please start by cleaning up your dial peers. you dont need and incoming called number on all dial peers. only a single one will do when receiving calls. I think that is where your issue is: T302/interdigit timeout.

 

best way to find out is make a call and debug dial peer and see who long it takes for the call to finally resolve a destination.

Please remember to rate useful posts, by clicking on the stars below.