cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3042
Views
15
Helpful
11
Replies

Good Luck Figuring This One Out - Cisco CallManager Rejecting Calls from Voice Gateway SIP Trunk

PGE_JosephHiatt
Level 1
Level 1

After the connection is idle for the time, the CallManager rejects the first SIP invite.  This (I think) is leading to significant call delay (~20 seconds).  Subsequent calls process normally.

PSTN -> ISDN PRI-> VG -> SIP Trunk -> CUCM -> Site Phone

 

! - - - - Running Debugs - - - - !

The following ISDN debugs are enabled on all DSLs:

debug isdn error is ON.
debug isdn q921 is ON. (filter is OFF)
debug isdn q931 is ON. (filter is OFF)

CCAPI:
debug voip ccapi inout is ON (filter is OFF)
CCSIP SPI: SIP Call Message tracing is enabled (filter is OFF)
CCSIP SPI: SIP Call Events tracing is enabled (filter is OFF)

Voice Port Module DSP message debugging is on
Voice Port Module signaling debugging is on

 

! - - - - First INVITE from Gateway to CUCM - - - - !

Jul 16 08:34:15: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
INVITE sip:5036308871@10.81.5.81 SIP/2.0
Via: SIP/2.0/TCP 10.67.254.6:5060;x-route-tag="tgrp:standard";x-ds0num="ISDN 0/1/0:23 0/1/0:DS1 1:DS0";branch=z9hG4bKA271C12
From: <sip:+15039772346@10.67.254.6>;tag=79203B6C-1F93
To: <sip:5036308871@10.81.5.81>
Date: Fri, 16 Jul 2021 15:34:15 GMT
Call-ID: 1CF7E557-E58211EB-A433DD62-83B9AC0E@10.67.254.6
Supported: 100rel,timer,resource-priority,replaces,sdp-anat
Min-SE: 1800
Cisco-Guid: 0485928200-3850506731-2230583542-1661937440
User-Agent: Cisco-SIPGateway/IOS-16.6.7
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
CSeq: 101 INVITE
Max-Forwards: 70
Timestamp: 1626449655
Contact: <sip:+15039772346@10.67.254.6:5060;transport=tcp>
Expires: 180
Allow-Events: telephone-event
P-Asserted-Identity: "pending" <sip:+15039772346@10.67.254.6>
Session-ID: fab3528a5966576b9832301a1e5f8b69;remote=00000000000000000000000000000000
Content-Type: application/sdp
Content-Disposition: session;handling=required
Content-Length: 383
v=0
o=CiscoSystemsSIP-GW-UserAgent 7105 76 IN IP4 10.67.254.6
s=SIP Call
c=IN IP4 10.67.254.6
t=0 0
m=audio 11688 RTP/AVP 0 18 9 100 101
c=IN IP4 10.67.254.6
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:9 G722/8000
a=fmtp:9 bitrate=64
a=rtpmap:100 X-NSE/8000
a=fmtp:100 192-194
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20


Timestamp: 3709269255000
UTC Timestamp:3709269255000
Source Filename: shLogg0833

 

! - - - - Response from CallManager - - - - !

Jul 16 08:34:15: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 400 Bad Request - 'Malformed/Missing TO: field'
Via: SIP/2.0/TCP 10.67.254.6:5060;x-route-tag="tgrp:standard";x-ds0num="ISDN 0/1/0:23 0/1/0:DS1 1:DS0";branch=z9hG4bKA26DFA,SIP/2.0/TCP 10.67.254.6:5060;x-route-tag="tgrp:standard";x-ds0num="ISDN 0/1/0:23 0/1/0:DS1 1:DS0";branch=z9hG4bKA271C12
From: <sip:+15039772346@10.67.254.6>;tag=792011F1-17B0,<sip:+15039772346@10.67.254.6>;tag=79203B6C-1F93
To: <sip:5036308871@10.81.5.81>,<sip:5036308871@10.81.5.81>;tag=937398725;tag=937398725
Date: Fri, 16 Jul 2021 15:34:15 GMT
Call-ID: 16A3B91D-E58211EB-A42CDD62-83B9AC0E@10.67.254.6,1CF7E557-E58211EB-A433DD62-83B9AC0E@10.67.254.6
CSeq: 101 INVITE
Allow-Events: presence
Reason: Q.850;cause=100
Content-Length: 0


Timestamp: 3709269255000
UTC Timestamp:3709269255000
Source Filename: shLogg0833

 

! - - - - FULL DEBUG ATTACHED - - - - !

 

1 Accepted Solution

Accepted Solutions

PGE_JosephHiatt
Level 1
Level 1

Well, as luck would have it, Cisco TAC was able to find a specific error on the gateway debug that pointed to an occasional connectivity issue.  It looked as though the gateway couldn't reach the CallManagers over the network.

 

Unbeknownst to me, "we" had placed a misconfigured Palo Alto firewall in the path between the gateway and the callmanagers.  The SIP application running on the Palo was delaying the first call attempt and was in effect modifying the SIP header.  

 

Once we disabled application level gateway (ALG) setting, call setup worked correctly.

 

I should have known it was a firewall because the problem was so weird.  I just didn't know we put a firewall wall on that path.

 

Thanks to everyone for taking time out of your day to lend a hand.

View solution in original post

11 Replies 11

Could  you share your gateway configuration  and ISDN debug outputs too.. 



Response Signature


Shared below:

 

fdy701avg01#sh run
Building configuration...

! - non-voice related sections omitted for security.

isdn switch-type primary-ni
!
trunk group standard
!
voice service pots
!
voice service voip
ip address trusted list
! - - - IP Addresses Omitted
clid network-provided
qsig decode
address-hiding
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
modem passthrough nse codec g711ulaw
sip
bind control source-interface Loopback10
bind media source-interface Loopback10
header-passing
registrar server expires max 600 min 60
asserted-id pai
!
voice class codec 10
codec preference 1 g711ulaw
codec preference 2 g729r8
codec preference 3 g722-64
!
voice class h323 10
h225 timeout tcp establish 2
!
voice class server-group 1111
ipv4 ! PubIP preference 1
ipv4 ! Sub1IP preference 3
ipv4 ! Sub2IP preference 2
!
voice register global
! Section Omitted
!
voice register pool 1
! Section Omitted
!
!
voice translation-rule 2
rule 1 /#\(....$\)/ /503630\1/
!
voice translation-rule 10
rule 2 /\(.*\)/ /5036308\1/
!
voice translation-rule 101
rule 1 /^.......$/ /+1503\0/
rule 2 /^..........$/ /+1\0/
rule 3 // /+\0/
!
!
voice translation-profile 4to10DigitExp
translate called 10
!
voice translation-profile SRST
translate called 2
!
voice translation-profile globalize
translate calling 101
!
voice-card 0/1
dsp services dspfarm
no watchdog
!
voice-card 0/2
no watchdog
!
voice-card 0/3
no watchdog
!
voice-card 0/4
dsp services dspfarm
no watchdog
!
controller T1 0/1/0
threshold sd-ber 6
threshold sf-ber 3
framing esf
clock source line primary
linecode b8zs
cablelength long 0db
pri-group timeslots 1-24
trunk-group standard timeslots 1-23
!
controller T1 0/1/1
threshold sd-ber 6
threshold sf-ber 3
shutdown
framing esf
linecode b8zs
cablelength long 0db
description - - - NOT IN USE - - -
!
controller T1 0/1/2
threshold sd-ber 6
threshold sf-ber 3
shutdown
framing esf
linecode b8zs
cablelength long 0db
description - - - NOT IN USE - - -
!
controller T1 0/1/3
threshold sd-ber 6
threshold sf-ber 3
shutdown
framing esf
linecode b8zs
cablelength long 0db
description - - - NOT IN USE - - -
!
interface Loopback10
ip address !loopBackIP 255.255.255.255
h323-gateway voip interface
h323-gateway voip bind srcaddr !loopBackIP
!
interface GigabitEthernet0/0/0
description fdy701asr01 g1/0/21
ip address !rtdinterfaceIP 255.255.255.252
negotiation auto
!
interface GigabitEthernet0/0/1
no ip address
shutdown
negotiation auto
!
interface GigabitEthernet0/0/2
no ip address
shutdown
negotiation auto
!
interface Service-Engine0/1/0
!
interface Serial0/1/0:23
description Cir ID: Reliance 503 630 8120 72/HCXX/PGE003
no ip address
encapsulation hdlc
no cdp enable
isdn switch-type primary-ni
isdn incoming-voice voice
isdn supp-service name calling
!
voice-port 0/1/0:23
!
voice-port 0/2/0
!
voice-port 0/2/1
!
voice-port 0/2/2
!
voice-port 0/2/3
!
voice-port 0/3/0
!
voice-port 0/3/1
!
voice-port 0/3/2
!
voice-port 0/3/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 Loopback10
sccp ccm Sub1IP identifier 2 priority 2 version 7.0
sccp ccm Sub2IP identifier 1 priority 1 version 7.0
sccp ip precedence 3
sccp
!
sccp ccm group 1
bind interface Loopback10
associate ccm 1 priority 1
associate ccm 2 priority 2
associate profile 10 register FDY-MTP-AVG01
associate profile 30 register FDY-CONF-AVG01
associate profile 20 register FDY-XCODE-AVG01
!
dspfarm profile 20 transcode
codec g729abr8
codec g729ar8
codec g711alaw
codec g711ulaw
codec g722-64
maximum sessions 50
associate application SCCP
!
dspfarm profile 30 conference
codec g729br8
codec g729r8
codec g729abr8
codec g729ar8
codec g711alaw
codec g711ulaw
maximum sessions 50
associate application SCCP
!
dspfarm profile 10 mtp
description MTP Resources FDY
codec g711ulaw
maximum sessions hardware 100
associate application SCCP
!
dial-peer voice 911 pots
trunkgroup standard
description PSTN out to Emergency Services
destination-pattern 911
forward-digits 3
!
dial-peer voice 9911 pots
trunkgroup standard
description PSTN out to Emergency Services
destination-pattern 9911
forward-digits 3
!
dial-peer voice 1000 pots
trunkgroup standard
description PRI outbound 10 digit
preference 1
destination-pattern [2-9]..[2-9]......
forward-digits 10
!
dial-peer voice 1010 pots
trunkgroup standard
description PSTN outbound long distance 10+1
destination-pattern 1[2-9]..[2-9]......
forward-digits 11
!
dial-peer voice 9011 pots
trunkgroup standard
description PRI International outbound
destination-pattern 011T
forward-digits all
!
dial-peer voice 411 pots
trunkgroup standard
description PSTN to Telco Services
destination-pattern [2-8]11
forward-digits 3
!
dial-peer voice 420 pots
trunkgroup standard
description Operatior PSTN
destination-pattern 0
forward-digits 1
!
dial-peer voice 430 pots
trunkgroup standard
description Operatior PSTN
preference 1
destination-pattern 00
forward-digits 2
!
dial-peer voice 464 pots
trunkgroup standard
description FXO trunk Group
preference 1
destination-pattern 503464[278]...
forward-digits all
prefix 1
!
dial-peer voice 10 pots
description incoming POTS dial-peer
incoming called-number .
direct-inward-dial
!
dial-peer voice 11 voip
media flow-around
modem relay nse codec g711ulaw redundancy gw-controlled
incoming called-number .
voice-class codec 10
dtmf-relay rtp-nte
fax protocol t38 nse version 0 ls-redundancy 1 hs-redundancy 0 fallback pass-through g711ulaw
no vad
!
dial-peer voice 12 voip
media flow-around
modem relay nse codec g711ulaw redundancy gw-controlled
session protocol sipv2
incoming called-number .
voice-class codec 10
dtmf-relay rtp-nte
fax protocol t38 nse version 0 ls-redundancy 1 hs-redundancy 0 fallback pass-through g711ulaw
no vad
!
dial-peer voice 20 pots
translation-profile incoming 4to10DigitExp
incoming called-number .
port 0/2/0
!
dial-peer voice 21 pots
translation-profile incoming 4to10DigitExp
incoming called-number .
port 0/2/1
!
dial-peer voice 22 pots
translation-profile incoming 4to10DigitExp
incoming called-number .
port 0/2/2
!
dial-peer voice 23 pots
translation-profile incoming 4to10DigitExp
incoming called-number .
port 0/2/1
!
dial-peer voice 24 pots
translation-profile incoming 4to10DigitExp
incoming called-number .
port 0/3/0
!
dial-peer voice 25 pots
translation-profile incoming 4to10DigitExp
incoming called-number .
port 0/3/1
!
dial-peer voice 26 pots
translation-profile incoming 4to10DigitExp
incoming called-number .
port 0/3/2
!
dial-peer voice 27 pots
translation-profile incoming 4to10DigitExp
incoming called-number .
port 0/3/3
!
dial-peer voice 2000 voip
description Voip To - Biz Cluster
translation-profile outgoing globalize
destination-pattern 503630....
media flow-around
session protocol sipv2
session transport tcp
session server-group 1111
voice-class codec 10
dtmf-relay rtp-nte
no vad
!
dial-peer voice 2001 voip
description Voip To AA - Biz Cluster
translation-profile outgoing globalize
destination-pattern 5034642237
media flow-around
session protocol sipv2
session transport tcp
session server-group 1111
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 3000 voip
shutdown
destination-pattern ..........$
session protocol sipv2
session server-group 2222
!
dial-peer voice 75353 voip
description H.323 to AVG02
destination-pattern 5030305239
media flow-around
modem relay nse codec g711ulaw redundancy gw-controlled
session target ipv4:!faxVoiceGWIP
voice-class codec 10
dtmf-relay rtp-nte
fax protocol t38 nse version 0 ls-redundancy 1 hs-redundancy 0 fallback pass-through g711ulaw
no vad
!
dial-peer voice 75375 voip
description H.323 to AVG02
destination-pattern 5030366405
media flow-around
modem relay nse codec g711ulaw redundancy gw-controlled
session target ipv4:!faxVoiceGWIP
voice-class codec 10
dtmf-relay rtp-nte
fax protocol t38 nse version 0 ls-redundancy 1 hs-redundancy 0 fallback pass-through g711ulaw
no vad
!
dial-peer voice 75293 voip
description H.323 to AVG02
destination-pattern 5036308244
media flow-around
modem relay nse codec g711ulaw redundancy gw-controlled
session target ipv4:!faxVoiceGWIP
voice-class codec 10
dtmf-relay rtp-nte
fax protocol t38 nse version 0 ls-redundancy 1 hs-redundancy 0 fallback pass-through g711ulaw
no vad
!
dial-peer voice 75370 voip
description H.323 to AVG02
destination-pattern 5036308249
media flow-around
modem relay nse codec g711ulaw redundancy gw-controlled
session target ipv4:!faxVoiceGWIP
voice-class codec 10
dtmf-relay rtp-nte
fax protocol t38 nse version 0 ls-redundancy 1 hs-redundancy 0 fallback pass-through g711ulaw
no vad
!
dial-peer voice 75374 voip
description H.323 to AVG02
destination-pattern 5036308367
media flow-around
modem relay nse codec g711ulaw redundancy gw-controlled
session target ipv4:!faxVoiceGWIP
voice-class codec 10
dtmf-relay rtp-nte
fax protocol t38 nse version 0 ls-redundancy 1 hs-redundancy 0 fallback pass-through g711ulaw
no vad
!
dial-peer voice 75372 voip
description H.323 to AVG02
destination-pattern 5036308354
media flow-around
modem relay nse codec g711ulaw redundancy gw-controlled
session target ipv4:!faxVoiceGWIP
voice-class codec 10
dtmf-relay rtp-nte
fax protocol t38 nse version 0 ls-redundancy 1 hs-redundancy 0 fallback pass-through g711ulaw
no vad
!
dial-peer voice 75373 voip
description H.323 to AVG02
destination-pattern 5036308357
media flow-around
modem relay nse codec g711ulaw redundancy gw-controlled
session target ipv4:!faxVoiceGWIP
voice-class codec 10
dtmf-relay rtp-nte
fax protocol t38 nse version 0 ls-redundancy 1 hs-redundancy 0 fallback pass-through g711ulaw
no vad
!
dial-peer voice 75377 voip
description H.323 to AVG02
destination-pattern 5030366553
media flow-around
modem relay nse codec g711ulaw redundancy gw-controlled
session target ipv4:!faxVoiceGWIP
voice-class codec 10
dtmf-relay rtp-nte
fax protocol t38 nse version 0 ls-redundancy 1 hs-redundancy 0 fallback pass-through g711ulaw
no vad
!
dial-peer voice 75376 voip
description H.323 to AVG02
destination-pattern 5030366435
media flow-around
modem relay nse codec g711ulaw redundancy gw-controlled
session target ipv4:!faxVoiceGWIP
voice-class codec 10
dtmf-relay rtp-nte
fax protocol t38 nse version 0 ls-redundancy 1 hs-redundancy 0 fallback pass-through g711ulaw
no vad
!
!
sip-ua
!
!
call-manager-fallback
! Section Omitted
!
network-clock synchronization automatic
ntp server timeSvr1
ntp server timeSvr2
ntp server timeSvr3
ntp server timeSvr4
!
end

 

Full debug with q921 and q931 attached.

Sadav Ansari
VIP Alumni
VIP Alumni

Hi,

 

It’s 400 bad request with cause 100.

 

Received:
SIP/2.0 400 Bad Request - 'Malformed/Missing TO: field'
Via: SIP/2.0/TCP 10.67.254.6:5060;x-route-tag="tgrp:standard";x-ds0num="ISDN 0/1/0:23 0/1/0:DS1

 

CUCM not responding to isp, Pls bind Public IP in your loopback Interface.

 

If same issue Pls share your Gateway configuration.

 

Pls rate all useful post !!

Pls rate if its “Helpful”. If this answered your question pls click “Accept as Solution”.

 

 

No.

 

There is no public IP from the VG to bind to, only an ISDN PRI.

AFAICT your To field is this for what you send to CM.

To: <sip:5036308871@10.81.5.81>,<sip:5036308871@10.81.5.81>;tag=937398725;tag=937398725

Looks like you likely have a SIP profile that makes modifications to the To field. Would you mind to please share your configuration of your voice gateway?



Response Signature


Thank you in advance.

 

Redacted VG Show Run:

fdy701avg01#sh run
Building configuration...

! - non-voice related sections omitted for security.

isdn switch-type primary-ni
!
trunk group standard
!
voice service pots
!
voice service voip
ip address trusted list
! - - - IP Addresses Omitted
clid network-provided
qsig decode
address-hiding
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
modem passthrough nse codec g711ulaw
sip
bind control source-interface Loopback10
bind media source-interface Loopback10
header-passing
registrar server expires max 600 min 60
asserted-id pai
!
voice class codec 10
codec preference 1 g711ulaw
codec preference 2 g729r8
codec preference 3 g722-64
!
voice class h323 10
h225 timeout tcp establish 2
!
voice class server-group 1111
ipv4 ! PubIP preference 1
ipv4 ! Sub1IP preference 3
ipv4 ! Sub2IP preference 2
!
voice register global
! Section Omitted
!
voice register pool 1
! Section Omitted
!
!
voice translation-rule 2
rule 1 /#\(....$\)/ /503630\1/
!
voice translation-rule 10
rule 2 /\(.*\)/ /5036308\1/
!
voice translation-rule 101
rule 1 /^.......$/ /+1503\0/
rule 2 /^..........$/ /+1\0/
rule 3 // /+\0/
!
!
voice translation-profile 4to10DigitExp
translate called 10
!
voice translation-profile SRST
translate called 2
!
voice translation-profile globalize
translate calling 101
!
voice-card 0/1
dsp services dspfarm
no watchdog
!
voice-card 0/2
no watchdog
!
voice-card 0/3
no watchdog
!
voice-card 0/4
dsp services dspfarm
no watchdog
!
controller T1 0/1/0
threshold sd-ber 6
threshold sf-ber 3
framing esf
clock source line primary
linecode b8zs
cablelength long 0db
pri-group timeslots 1-24
trunk-group standard timeslots 1-23
!
controller T1 0/1/1
threshold sd-ber 6
threshold sf-ber 3
shutdown
framing esf
linecode b8zs
cablelength long 0db
description - - - NOT IN USE - - -
!
controller T1 0/1/2
threshold sd-ber 6
threshold sf-ber 3
shutdown
framing esf
linecode b8zs
cablelength long 0db
description - - - NOT IN USE - - -
!
controller T1 0/1/3
threshold sd-ber 6
threshold sf-ber 3
shutdown
framing esf
linecode b8zs
cablelength long 0db
description - - - NOT IN USE - - -
!
interface Loopback10
ip address !loopBackIP 255.255.255.255
h323-gateway voip interface
h323-gateway voip bind srcaddr !loopBackIP
!
interface GigabitEthernet0/0/0
description fdy701asr01 g1/0/21
ip address !rtdinterfaceIP 255.255.255.252
negotiation auto
!
interface GigabitEthernet0/0/1
no ip address
shutdown
negotiation auto
!
interface GigabitEthernet0/0/2
no ip address
shutdown
negotiation auto
!
interface Service-Engine0/1/0
!
interface Serial0/1/0:23
description Cir ID: Reliance 503 630 8120 72/HCXX/PGE003
no ip address
encapsulation hdlc
no cdp enable
isdn switch-type primary-ni
isdn incoming-voice voice
isdn supp-service name calling
!
voice-port 0/1/0:23
!
voice-port 0/2/0
!
voice-port 0/2/1
!
voice-port 0/2/2
!
voice-port 0/2/3
!
voice-port 0/3/0
!
voice-port 0/3/1
!
voice-port 0/3/2
!
voice-port 0/3/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 Loopback10
sccp ccm Sub1IP identifier 2 priority 2 version 7.0
sccp ccm Sub2IP identifier 1 priority 1 version 7.0
sccp ip precedence 3
sccp
!
sccp ccm group 1
bind interface Loopback10
associate ccm 1 priority 1
associate ccm 2 priority 2
associate profile 10 register FDY-MTP-AVG01
associate profile 30 register FDY-CONF-AVG01
associate profile 20 register FDY-XCODE-AVG01
!
dspfarm profile 20 transcode
codec g729abr8
codec g729ar8
codec g711alaw
codec g711ulaw
codec g722-64
maximum sessions 50
associate application SCCP
!
dspfarm profile 30 conference
codec g729br8
codec g729r8
codec g729abr8
codec g729ar8
codec g711alaw
codec g711ulaw
maximum sessions 50
associate application SCCP
!
dspfarm profile 10 mtp
description MTP Resources FDY
codec g711ulaw
maximum sessions hardware 100
associate application SCCP
!
dial-peer voice 911 pots
trunkgroup standard
description PSTN out to Emergency Services
destination-pattern 911
forward-digits 3
!
dial-peer voice 9911 pots
trunkgroup standard
description PSTN out to Emergency Services
destination-pattern 9911
forward-digits 3
!
dial-peer voice 1000 pots
trunkgroup standard
description PRI outbound 10 digit
preference 1
destination-pattern [2-9]..[2-9]......
forward-digits 10
!
dial-peer voice 1010 pots
trunkgroup standard
description PSTN outbound long distance 10+1
destination-pattern 1[2-9]..[2-9]......
forward-digits 11
!
dial-peer voice 9011 pots
trunkgroup standard
description PRI International outbound
destination-pattern 011T
forward-digits all
!
dial-peer voice 411 pots
trunkgroup standard
description PSTN to Telco Services
destination-pattern [2-8]11
forward-digits 3
!
dial-peer voice 420 pots
trunkgroup standard
description Operatior PSTN
destination-pattern 0
forward-digits 1
!
dial-peer voice 430 pots
trunkgroup standard
description Operatior PSTN
preference 1
destination-pattern 00
forward-digits 2
!
dial-peer voice 464 pots
trunkgroup standard
description FXO trunk Group
preference 1
destination-pattern 503464[278]...
forward-digits all
prefix 1
!
dial-peer voice 10 pots
description incoming POTS dial-peer
incoming called-number .
direct-inward-dial
!
dial-peer voice 11 voip
media flow-around
modem relay nse codec g711ulaw redundancy gw-controlled
incoming called-number .
voice-class codec 10
dtmf-relay rtp-nte
fax protocol t38 nse version 0 ls-redundancy 1 hs-redundancy 0 fallback pass-through g711ulaw
no vad
!
dial-peer voice 12 voip
media flow-around
modem relay nse codec g711ulaw redundancy gw-controlled
session protocol sipv2
incoming called-number .
voice-class codec 10
dtmf-relay rtp-nte
fax protocol t38 nse version 0 ls-redundancy 1 hs-redundancy 0 fallback pass-through g711ulaw
no vad
!
dial-peer voice 20 pots
translation-profile incoming 4to10DigitExp
incoming called-number .
port 0/2/0
!
dial-peer voice 21 pots
translation-profile incoming 4to10DigitExp
incoming called-number .
port 0/2/1
!
dial-peer voice 22 pots
translation-profile incoming 4to10DigitExp
incoming called-number .
port 0/2/2
!
dial-peer voice 23 pots
translation-profile incoming 4to10DigitExp
incoming called-number .
port 0/2/1
!
dial-peer voice 24 pots
translation-profile incoming 4to10DigitExp
incoming called-number .
port 0/3/0
!
dial-peer voice 25 pots
translation-profile incoming 4to10DigitExp
incoming called-number .
port 0/3/1
!
dial-peer voice 26 pots
translation-profile incoming 4to10DigitExp
incoming called-number .
port 0/3/2
!
dial-peer voice 27 pots
translation-profile incoming 4to10DigitExp
incoming called-number .
port 0/3/3
!
dial-peer voice 2000 voip
description Voip To - Biz Cluster
translation-profile outgoing globalize
destination-pattern 503630....
media flow-around
session protocol sipv2
session transport tcp
session server-group 1111
voice-class codec 10
dtmf-relay rtp-nte
no vad
!
dial-peer voice 2001 voip
description Voip To AA - Biz Cluster
translation-profile outgoing globalize
destination-pattern 5034642237
media flow-around
session protocol sipv2
session transport tcp
session server-group 1111
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 3000 voip
shutdown
destination-pattern ..........$
session protocol sipv2
session server-group 2222
!
dial-peer voice 75353 voip
description H.323 to AVG02
destination-pattern 5030305239
media flow-around
modem relay nse codec g711ulaw redundancy gw-controlled
session target ipv4:!faxVoiceGWIP
voice-class codec 10
dtmf-relay rtp-nte
fax protocol t38 nse version 0 ls-redundancy 1 hs-redundancy 0 fallback pass-through g711ulaw
no vad
!
dial-peer voice 75375 voip
description H.323 to AVG02
destination-pattern 5030366405
media flow-around
modem relay nse codec g711ulaw redundancy gw-controlled
session target ipv4:!faxVoiceGWIP
voice-class codec 10
dtmf-relay rtp-nte
fax protocol t38 nse version 0 ls-redundancy 1 hs-redundancy 0 fallback pass-through g711ulaw
no vad
!
dial-peer voice 75293 voip
description H.323 to AVG02
destination-pattern 5036308244
media flow-around
modem relay nse codec g711ulaw redundancy gw-controlled
session target ipv4:!faxVoiceGWIP
voice-class codec 10
dtmf-relay rtp-nte
fax protocol t38 nse version 0 ls-redundancy 1 hs-redundancy 0 fallback pass-through g711ulaw
no vad
!
dial-peer voice 75370 voip
description H.323 to AVG02
destination-pattern 5036308249
media flow-around
modem relay nse codec g711ulaw redundancy gw-controlled
session target ipv4:!faxVoiceGWIP
voice-class codec 10
dtmf-relay rtp-nte
fax protocol t38 nse version 0 ls-redundancy 1 hs-redundancy 0 fallback pass-through g711ulaw
no vad
!
dial-peer voice 75374 voip
description H.323 to AVG02
destination-pattern 5036308367
media flow-around
modem relay nse codec g711ulaw redundancy gw-controlled
session target ipv4:!faxVoiceGWIP
voice-class codec 10
dtmf-relay rtp-nte
fax protocol t38 nse version 0 ls-redundancy 1 hs-redundancy 0 fallback pass-through g711ulaw
no vad
!
dial-peer voice 75372 voip
description H.323 to AVG02
destination-pattern 5036308354
media flow-around
modem relay nse codec g711ulaw redundancy gw-controlled
session target ipv4:!faxVoiceGWIP
voice-class codec 10
dtmf-relay rtp-nte
fax protocol t38 nse version 0 ls-redundancy 1 hs-redundancy 0 fallback pass-through g711ulaw
no vad
!
dial-peer voice 75373 voip
description H.323 to AVG02
destination-pattern 5036308357
media flow-around
modem relay nse codec g711ulaw redundancy gw-controlled
session target ipv4:!faxVoiceGWIP
voice-class codec 10
dtmf-relay rtp-nte
fax protocol t38 nse version 0 ls-redundancy 1 hs-redundancy 0 fallback pass-through g711ulaw
no vad
!
dial-peer voice 75377 voip
description H.323 to AVG02
destination-pattern 5030366553
media flow-around
modem relay nse codec g711ulaw redundancy gw-controlled
session target ipv4:!faxVoiceGWIP
voice-class codec 10
dtmf-relay rtp-nte
fax protocol t38 nse version 0 ls-redundancy 1 hs-redundancy 0 fallback pass-through g711ulaw
no vad
!
dial-peer voice 75376 voip
description H.323 to AVG02
destination-pattern 5030366435
media flow-around
modem relay nse codec g711ulaw redundancy gw-controlled
session target ipv4:!faxVoiceGWIP
voice-class codec 10
dtmf-relay rtp-nte
fax protocol t38 nse version 0 ls-redundancy 1 hs-redundancy 0 fallback pass-through g711ulaw
no vad
!
!
sip-ua
!
!
call-manager-fallback
! Section Omitted
!
network-clock synchronization automatic
ntp server timeSvr1
ntp server timeSvr2
ntp server timeSvr3
ntp server timeSvr4
!
end

 

AFAICT there is nothing in your posted configuration that explains the strange To field content.



Response Signature


Have a look on BUG ID:- CSCtr20709

 

Looks like you are effected with the above BUG.

 

Second thing, why do you configure media flow-around on your dial-peers ?

 

 



Response Signature


I did see that bug but we're not running the known affected release; we're running 16.6.7.

 

I don't know why our professional services team configured the dial-peers like that but assumed they knew what they were doing.  It is weird these gateways connect calls from PSTN to the enterprise.

PGE_JosephHiatt
Level 1
Level 1

Well, as luck would have it, Cisco TAC was able to find a specific error on the gateway debug that pointed to an occasional connectivity issue.  It looked as though the gateway couldn't reach the CallManagers over the network.

 

Unbeknownst to me, "we" had placed a misconfigured Palo Alto firewall in the path between the gateway and the callmanagers.  The SIP application running on the Palo was delaying the first call attempt and was in effect modifying the SIP header.  

 

Once we disabled application level gateway (ALG) setting, call setup worked correctly.

 

I should have known it was a firewall because the problem was so weird.  I just didn't know we put a firewall wall on that path.

 

Thanks to everyone for taking time out of your day to lend a hand.