09-24-2013 01:47 PM - edited 03-16-2019 07:31 PM
Hello guys!
I have setup a new E1 circuit (Digital R2) and an FXO for an analog line. Inbound PSTN Calls have been completed successfully, however disconnected after 4 seconds. We can hear a fast busy tone.
Outbound calls started working as soon as I enabled Fast Start, but no success with inbound.
Call flow: IP Phone <------> CUCM <------> H323 GW <-----> PSTN Phones.
Software Version: 9.1.1.20000-5
IOS Version: 15.3(3)M (I have just updated)
Looking at logs I can see a "call disconnect cause = 47" and a "Timeout h245 conn" message:
"//328/00E45EEB0800/CCAPI/ccCallDisconnect:
Cause Value=47, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=47)".
"Sep 24 13:10:42.822: %VOICE_IEC-3-GW: H323: Internal Error (Timeout h245 conn): IEC=1.1.183.5.62.0 on callID 342 GUID=8874AF85245111E382D9A77CF56C0432".
Since we are setting up this scenario, the E1 circuit has been disconnected and I have used the FXO port for the tests. Same issue for FXO and E1 port.
Attached some other debugs I collected during an inbound call.
Any help will be appreciated.
Thanks!
09-24-2013 02:00 PM
You should start by looking at the h225 and h245 negotiations..pls send the output of the ff:
debug h225 asn1
debug h245 asn1
debug ip tcp transaction
Please rate all useful posts
"opportunity is a haughty goddess who waste no time with those who are unprepared"
09-26-2013 09:59 AM
Hi aokanlawon, thank you very much for your answer.
I enabled the following debugs and called the PSTN number (inbound call). The call took same behavior and got disconnected after 5 seconds.
debug h225 asn1
debug h245 asn1
debug vpm signal
debug cch323 h245
debug h245 event
debug voice ccapi inout
debug voip ccapi inout
debug vpm signal
debug ip tcp packet address 10.150.160.14 (CUCM IP)
debug h245 events
debug h323 asn1
debug ip tcp transactions
Please find attached the log file.
Regards
09-24-2013 02:02 PM
Hi.
You are receiving a cause code 47 which means codec mismatch.
Please verify your dialpeer configuration a ensure that you are selecting the right codece that should match the one selected on region assigned to the device pool where the voice gateway is located.
HTH
Regards
Carlo
Sent from Cisco Technical Support iPhone App
Sent from Cisco Technical Support iPhone App
09-26-2013 10:02 AM
Hi Carlo, thank you for your time.
I have tested all sort of codecs in the dial-peer and also checked the Region in CUCM. I don't believe it's a codec issue since I can answer the call, hear the other part and pressing the "?" button I can see the call is being streamed through G711.
Still facing same issue and no luck with researchs yet.
Regards
09-26-2013 11:06 AM
Can you post your running config?
09-26-2013 11:22 AM
Hi Amine. After many changes and tries to solve the issue, bellow is my show run:
boot-start-marker
boot system flash0:c2900-universalk9-mz.SPA.153-3.M.bin
boot-end-marker
!
aqm-register-fnf
!
card type e1 0 0
enable secret 5 $1$u0T8$.0NyjEnLJCbmxtqTC/g0E/
!
no aaa new-model
clock timezone BR -3 0
clock calendar-valid
network-clock-participate wic 0
network-clock-select 1 E1 0/0/0
!
ip cef
no ipv6 cef
multilink bundle-name authenticated
!
!
password encryption aes
!
voice-card 0
dspfarm
dsp services dspfarm
!
voice service voip
ip address trusted list
ipv4 10.150.160.13 255.255.255.255
ipv4 10.150.160.14 255.255.255.255
no ip address trusted authenticate
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
h323
no h225 timeout keepalive
call preserve
h245 timeout olc 30
h245 timeout tcs 30
!
voice class codec 1
codec preference 1 g722-64
codec preference 2 g711ulaw
codec preference 3 g711alaw
codec preference 4 g729r8
codec preference 5 g729br8
!
voice class h323 1
h225 timeout tcp establish 20
call start fast
call preserve
!
voice iec syslog
!
voice statistics type iec
voice statistics time-range since-reset
!
license udi pid CISCO2921/K9 sn FTX1706AJ7Z
license accept end user agreement
hw-module pvdm 0/0
!
hw-module pvdm 0/1
!
hw-module pvdm 0/2
!
username ADMIN privilege 15 secret 5 $1$hDuL$jYxSuQ05JuUINUXkVUYQ0.
!
redundancy
!
controller E1 0/0/0
framing NO-CRC4
ds0-group 0 timeslots 1-15,17-31 type r2-digital r2-compelled ani
cas-custom 0
country brazil
category 2
answer-signal group-b 1
description # Telefonica +55 11 4196-5522 #
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
description ## CONNECTED TO ##
ip address 10.151.160.10 255.255.255.0
no ip redirects
no ip route-cache
duplex full
speed 100
h323-gateway voip interface
h323-gateway voip bind srcaddr 10.151.160.10
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface GigabitEthernet0/2
no ip address
shutdown
duplex auto
speed auto
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 10.151.160.1
!
control-plane
!
voice-port 0/0/0:0
cptone BR
timeouts call-disconnect 1
!
voice-port 0/1/0
no battery-reversal
cptone BR
connection plar opx 5819
!
voice-port 0/1/1
!
voice-port 0/1/2
!
voice-port 0/1/3
!
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
!
sccp local GigabitEthernet0/0
sccp ccm 10.150.160.13 identifier 2 version 7.0
sccp ccm 10.150.160.14 identifier 1 version 7.0
sccp
!
sccp ccm group 1
bind interface GigabitEthernet0/0
associate ccm 1 priority 1
associate ccm 2 priority 2
associate profile 30 register MTP-HO
associate profile 20 register XCD-HO
associate profile 10 register CFB-HO
keepalive retries 5
switchback method graceful
switchback interval 180
!
dspfarm profile 20 transcode
description HO Transcoding
codec g722-64
codec g729abr8
codec g729ar8
codec g711alaw
codec g711ulaw
maximum sessions 8
associate application SCCP
!
dspfarm profile 10 conference
description HO Conference Bridge
codec g722-64
codec g729abr8
codec g729ar8
codec g711alaw
codec g711ulaw
maximum sessions 4
associate application SCCP
!
dspfarm profile 30 mtp
codec g711ulaw
maximum sessions software 30
associate application SCCP
!
dial-peer voice 1 pots
description # PSTN R2 Telefonica #
incoming called-number .
direct-inward-dial
port 0/1/0
!
dial-peer voice 10 pots
description Local Fixo
destination-pattern 0[2-5].......
port 0/1/0
forward-digits 8
!
dial-peer voice 20 pots
description Local Celular
destination-pattern 09........
port 0/1/0
forward-digits 9
!
dial-peer voice 30 pots
description 0800
destination-pattern 00800T
port 0/0/0:0
prefix 0800
!
dial-peer voice 40 pots
description 0300
destination-pattern 00300.......
port 0/0/0:0
prefix 0300
!
dial-peer voice 50 pots
description Emergencia
destination-pattern 019.
port 0/0/0:0
prefix 19
!
dial-peer voice 60 pots
description Servicos
destination-pattern 01T
port 0/0/0:0
prefix 1
!
dial-peer voice 70 pots
description Longa Distancia Nacional
destination-pattern 00T
port 0/0/0:0
prefix 015
!
dial-peer voice 80 pots
description Longa Distancia Internacional
destination-pattern 000T
port 0/0/0:0
prefix 0015
!
dial-peer voice 21 pots
description Local Celular Nextel
destination-pattern 07.......
port 0/0/0:0
forward-digits 8
!
dial-peer voice 11 pots
description Local Fixo
destination-pattern 0011[2-5].......
port 0/0/0:0
!
dial-peer voice 22 pots
description Local Celular
destination-pattern 00119........
port 0/0/0:0
forward-digits 9
!
dial-peer voice 71 pots
description Longa Distancia Nacional Celular DDD 12 a 19
destination-pattern 001[2-9]9........
port 0/0/0:0
forward-digits 14
prefix 015
!
dial-peer voice 72 pots
description Longa Distancia Nacional Areas Conurbadas SP
destination-pattern 00..11[2-5].......
port 0/0/0:0
forward-digits 13
prefix 015
!
dial-peer voice 7 voip
description CUCM Extensions
destination-pattern 4..
session target ipv4:10.150.160.14
voice-class h323 1
dtmf-relay h245-alphanumeric
no vad
!
dial-peer voice 6 voip
description CUCM Extensions
destination-pattern 5...
session target ipv4:10.150.160.14
voice-class codec 1 offer-all
voice-class h323 1
dtmf-relay h245-signal h245-alphanumeric
no vad
!
!
gateway
media-inactivity-criteria all
timer receive-rtcp 6
timer receive-rtp 1200
!
!
!
gatekeeper
shutdown
!
!
call-manager-fallback
secondary-dialtone 0
max-conferences 4 gain -6
transfer-system full-consult
timeouts interdigit 4
ip source-address 10.151.160.10 port 2000
max-ephones 10
max-dn 8
system message primary Contingencia HO
system message secondary Contingencia HO
transfer-pattern .T
keepalive 20
time-format 24
date-format dd-mm-yy
!
end
Thanks
09-26-2013 12:06 PM
Try to make your config to match this:
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g711alaw
codec preference 3 g729r8
voice class h323 1
h225 timeout tcp establish 3
h225 timeout setup 3
! Add this to all dial-peers expect dial-peer 1
progress_ind setup enable 3
progress_ind progress enable 8
progress_ind connect enable 8
Please rate helpful answers!
09-26-2013 12:36 PM
Hi Amine. Thank you for your help.
I did exactly what you suggested. Removed voice class codec/h323 and re-configured them. Also, changed dial-peers that point to CUCM, since all others, except dial-peer 1, are intended for outbound calls.
Now, dial-peer looks like this:
dial-peer voice 6 voip
description CUCM Extensions
destination-pattern 5...
progress_ind setup enable 3
progress_ind progress enable 8
progress_ind connect enable 8
session target ipv4:10.150.160.14
dtmf-relay h245-signal h245-alphanumeric
no vad
Voice class:
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g711alaw
codec preference 3 g729r8
!
voice class h323 1
h225 timeout tcp establish 3
h225 timeout setup 3
And finally, Region Codec Preference List, wich is associated with the device pool used by gateway and internal phones:
No success yet. Any other suggestion? Inbound fast start is enable in both CUCM and Voice Gateway (Already upgraded IOS)
09-26-2013 01:59 PM
Hi folks, good News!
I talked to the guy who manages the firewall (Sonicwall) and we detected a parameter wich was blocking H323 signalization. After uncheck it, the calls started working normally.
ps: All tcp/udp ports were open, even though the fw was blocking signalization.
Thank you very for your time!
Best Regards,
Flavio
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide