cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4078
Views
11
Helpful
12
Replies

H.323 dial peers

miket
Level 5
Level 5

Do you need both inbound and outbound dial-peers to make a call work

I have an h.323 gateway and from the debugs thhe call gets passed to the gateway and it cannot find a dial peer. It is there

So someone said we need inbound dialpeer. I have never known that tp be the case but I thought I would ask

I am sending all digits from the CUCM and I have dial-peers matching including 9

Any ideas

2 Accepted Solutions

Accepted Solutions

There are two issues..one is toll fruad and the other is dial-peer matching..

First of all your call is disconnected because of toll fruad feature introduced in IOS15.X

Aug 20 20:05:55.453: //1519/80D630612400/CCAPI/cc_process_call_setup_ind:

   >>>>CCAPI handed cid 1519 with tag 2 to app "_ManagedAppProcess_TOLLFRAUD_APP"

*Aug 20 20:05:55.453: //1519/80D630612400/CCAPI/ccCallDisconnect:

   Cause Value=21,

From your config it looks like the ip address of the cucm originating the call is not configured on any of your voip dial-peers. How many CUCM do you have? I suggest you configure dial-peers pointing to all of your cucm..

The second thing is that there is no dial-peer match for the called number..

16478801760

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

View solution in original post

I would strongly suggest you to read this before anything else:

Understanding Inbound and Outbound Dial Peers Matching on IOS Platforms

http://www.cisco.com/en/US/partner/tech/tk652/tk90/technologies_tech_note09186a008010fed1.shtml

Dial Peer Configuration on Voice Gateway Routers, Cisco IOS Release 15M&T

http://www.cisco.com/en/US/partner/docs/ios-xml/ios/voice/dialpeer/configuration/15-mt/vd-15-mt-book.html

Dial Peer Configuration on Voice Gateway Routers, Cisco IOS Release 12.4T

http://www.cisco.com/en/US/partner/docs/ios-xml/ios/voice/dialpeer/configuration/12-4t/vd-12-4t-book.html

THEN, you can tell us whether doing those changes you're suggesting, will make your configuration work or not.

ALSO, make sure you really understand what you're sending from CUCM as your dial-peers are completely based upon that fact.

EDIT: And assuming you want inbounds calls to work, configure the necessary dial-peers and the GW inbound CSS in CUCM, there are guides on CCO for that, you just need to search for them.

HTH

java

if this helps, please rate

www.cisco.com/go/pdihelpdesk

HTH

java

if this helps, please rate

View solution in original post

12 Replies 12

testeven
Cisco Employee
Cisco Employee

Hi,

When talking about this type os scenarios remember there's always an inbound and outbound call leg. Each call leg is associated to a dial-peer, therefore if the call does not find a match it will fail.

I will recommend you to refer to:

http://docwiki.cisco.com/wiki/Cisco_IOS_Voice_Troubleshooting_and_Monitoring_--_Call_Flow_Overview#Call_Legs

and

http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a008010fed1.shtml

Regards, 

Tere. 

If you find this post helpful, please rate!

Regards, Tere. If you find this post helpful, please rate! :)

When I look at trace on gateway the inbound is matched and it fails on then the voice dial-peer.  I have been testing with a 9T dial-peer and a 91[2-9]........   And same for local.

If I do a show numplan 919053166906 it gets the right dial-peer

I have neverr seen this behavior I think I am just missing something

On cucm the patter is 91[2-9]XX[2-9]XXXXXX forward digits all

Gateway is 9[2-9]......... Forward digits 11

Any ideas?

At least from what youre saying, the problem is youre not expecting the right number of digits in your GW, take a close look at how many digits you send, and how many the GW is configured to match...

EDIT: Also, why are you also sending the 9 for the call?????

Sent from Cisco Technical Support iPad App

HTH

java

if this helps, please rate

If you still need help, you can send us the ff logs along with your sh run..

debug VoIP ccapi inout

debug isdn q931...........assuming you are using isdn

Please rate all useful posts

s sorry for delay. I am getting 10 digits from telco  I. -did a show voice dialplan number. It picked the right dialpeer

All traces show that it cannot find correct dial-peer

It is ISDN

I will try and get traces uploaded

I been doing this along and I am thinking I missed something

I don't know how a show voice dialplan number works but live call fails

I will get traces


Here is the logs....

 

 

User Access Verification

Username: mike
Password:
Kitchener-3925#sh run
Building configuration...


Current configuration : 6507 bytes
!
! Last configuration change at 04:33:42 UTC Tue Aug 20 2013 by mike
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Kitchener-3925
!
boot-start-marker
boot-end-marker
!
!
card type t1 0 0
!
no aaa new-model
network-clock-participate wic 0
network-clock-select 1 T1 0/0/0
network-clock-select 2 T1 0/0/1
!
ip cef
!
!
!
!
!
!
ip domain lookup source-interface GigabitEthernet0/0
ip host usricsp01.maus.group 172.**.***.**
ip host usricsp02.maus.group 172.**.***.**
ip host CUCMK2.agaca.group 172.**.***.**
ip host CUCMK3.agaca.group 172.**.***.**
ip host CUCMB1.agaca.group 172.**.***.**
ip host CUCMB2.agaca.group 172.**.***.**
ip host _sip._udp.cusp.maus.group srv 50 50 5060 usricsp01.maus.group
ip host _sip._udp.cusp.maus.group srv 50 50 5060 usricsp02.maus.group
ip host _sip._tcp.cusp.maus.group srv 50 50 5060 usricsp01.maus.group
ip host _sip._tcp.cusp.maus.group srv 50 50 5060 usricsp02.maus.group
ip host _sip._tcp.cucm.agaca.group srv 50 50 5060 CUCMK2,agaca.group
ip host _sip._tcp.cucm.agaca.group srv 50 50 5060 CUCMK3,agaca.group
ip host _sip._tcp.cucm.agaca.group srv 50 50 5060 CUCMB1,agaca.group
ip host _sip._tcp.cucm.agaca.group srv 50 50 5060 CUCMB2,agaca.group
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-ni
!
!
trunk group Outbound
description Outbound PSTN for PRI's
!
!
!
voice-card 0
dspfarm
dsp services dspfarm
!
!
!
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
supplementary-service h450.12
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
h323
  no h225 timeout keepalive
  session transport udp
sip
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g729r8
!
voice class h323 1
  h225 timeout tcp establish 3
!
!
!
!
!
!
!
application
global
  service alternate Default
!
!
license udi pid C3900-SPE100/K9 sn FOC1708680W
hw-module pvdm 0/0
!
hw-module pvdm 0/1
!
!
!
username admin privilege 15 secret 4 XksjRi6fEy83IMa5Tbr/sSTNX07gZRgYTB5JFt81B8Y
username mike privilege 15 secret 4 4BqNDhPHcFK17MuBQoGrWFtfckfEnmXHxQF2oKaITM2
!
redundancy
!
!
controller T1 0/0/0
cablelength short 110
pri-group timeslots 1-24
!
controller T1 0/0/1
cablelength long 0db
pri-group timeslots 1-24
!
controller T1 0/0/2
cablelength long 0db
pri-group timeslots 1-24
!
controller T1 0/0/3
cablelength long 0db
pri-group timeslots 1-24
!
csdb tcp synwait-time 30
csdb tcp idle-time 3600
csdb tcp finwait-time 5
csdb tcp reassembly max-memory 1024
csdb tcp reassembly max-queue-length 16
csdb udp idle-time 30
csdb icmp idle-time 10
csdb session max-session 65535
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
ip address 172.**.***.** 255.255.252.0
duplex auto
speed auto
h323-gateway voip interface
h323-gateway voip bind srcaddr 172.**.***.**
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface GigabitEthernet0/2
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0:23
no ip address
encapsulation hdlc
isdn switch-type primary-ni
isdn incoming-voice voice
isdn outgoing display-ie
no cdp enable
!
interface Serial0/0/1:23
no ip address
encapsulation hdlc
isdn switch-type primary-dms100
isdn incoming-voice voice
no cdp enable
!
interface Serial0/0/2:23
no ip address
encapsulation hdlc
isdn switch-type primary-dms100
isdn incoming-voice voice
no cdp enable
!
interface Serial0/0/3:23
no ip address
encapsulation hdlc
isdn switch-type primary-dms100
isdn incoming-voice voice
no cdp enable
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 172.**.***.**
!
!
nls resp-timeout 1
cpd cr-id 1
!
!
control-plane
!
!
voice-port 0/0/0:23
!
voice-port 0/1/0
!
voice-port 0/1/1
!
voice-port 0/1/2
!
voice-port 0/1/3
!
voice-port 0/0/1:23
!
voice-port 0/2/0
!
voice-port 0/2/1
!
voice-port 0/2/2
!
voice-port 0/2/3
!
voice-port 0/0/2:23
!
voice-port 0/3/0
!
voice-port 0/3/1
!
voice-port 0/3/2
!
voice-port 0/3/3
!
voice-port 0/0/3:23
!
!
!
!
!
!
mgcp profile default
!
sccp local GigabitEthernet0/0
sccp ccm 172.**.***.** identifier 2 version 7.0
sccp ccm 172.**.***.** identifier 1 version 7.0
sccp ip precedence 3
sccp
!
sccp ccm group 1
description Kitchener CCM Group
bind interface GigabitEthernet0/0
associate ccm 1 priority 1
associate ccm 2 priority 2
associate profile 4 register mtp-sw
associate profile 3 register X-Code
associate profile 2 register mtp-hw
associate profile 1 register KitchenerCFB1
keepalive retries 5
switchover method immediate
switchback method immediate
switchback interval 15
!
dspfarm profile 3 transcode
codec g729br8
codec g729r8
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
maximum sessions 15
associate application SCCP
!
dspfarm profile 1 conference
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
codec g729r8
codec g729br8
maximum sessions 15
associate application SCCP
!
dspfarm profile 2 mtp
codec g711ulaw
maximum sessions hardware 15
associate application SCCP
!
dspfarm profile 4 mtp
codec g711ulaw
maximum sessions software 450
associate application SCCP
!
dial-peer voice 5 pots
preference 1
destination-pattern 9T
no digit-strip
direct-inward-dial
port 0/0/0:23
!
dial-peer voice 2 voip
destination-pattern 1298
progress_ind setup enable 3
progress_ind progress enable 8
session target ipv4:172.29.93.33
incoming called-number .
voice-class h323 1
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
dial-peer voice 10 pots
shutdown
destination-pattern 9[2-9]..[2-9]......
progress_ind setup enable 3
direct-inward-dial
port 0/0/0:23
forward-digits 10
!
dial-peer voice 11 pots
shutdown
destination-pattern 91[2-9]..[2-9]......
progress_ind setup enable 3
direct-inward-dial
port 0/0/0:23
forward-digits 11
!
!
sip-ua
retry invite 1
timers trying 400
timers expires 60000
timers buffer-invite 900
reason-header override
!
!
!
gatekeeper
shutdown
!
!
!
line con 0
login local
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
login local
transport input all
line vty 5 15
login local
transport input all
!
scheduler allocate 20000 1000
!
end

Kitchener-3925#
Kitchener-3925#debug voip ccapi inout
voip ccapi inout debugging is on
Kitchener-3925#debug isdn q931
debug isdn q931 is              ON.
Kitchener-3925#term mon
Kitchener-3925#
*Aug 20 20:02:46.517: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Calling Number=pingFrom, Called Number=, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
*Aug 20 20:02:46.517: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Result=NO_MATCH(-1) After All Match Rules Attempt
*Aug 20 20:02:46.517: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=-1
*Aug 20 20:02:46.517: //-1/5109FE2785F3/DPM/dpAssociateIncomingPeerCore:
   Calling Number=pingFrom, Called Number=, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
*Aug 20 20:02:46.517: //-1/5109FE2785F3/DPM/dpAssociateIncomingPeerCore:
   Result=NO_MATCH(-1) After All Match Rules Attempt
*Aug 20 20:02:46.517: //-1/5109FE2785F3/DPM/dpMatchSafModulePlugin:
   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=-1
*Aug 20 20:02:52.201: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Calling Number=pingFrom, Called Number=, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
*Aug 20 20:02:52.201: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Result=NO_MATCH(-1) After All Match Rules Attempt
*Aug 20 20:02:52.201: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=-1
*Aug 20 20:02:52.201: //-1/546D4E4485F4/DPM/dpAssociateIncomingPeerCore:
   Calling Number=pingFrom, Called Number=, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
*Aug 20 20:02:52.201: //-1/546D4E4485F4/DPM/dpAssociateIncomingPeerCore:
   Result=NO_MATCH(-1) After All Match Rules Attempt
*Aug 20 20:02:52.201: //-1/546D4E4485F4/DPM/dpMatchSafModulePlugin:
   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=-1
*Aug 20 20:04:41.541: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Calling Number=pingFrom, Called Number=, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
*Aug 20 20:04:41.541: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Result=NO_MATCH(-1) After All Match Rules Attempt
*Aug 20 20:04:41.541: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=-1
*Aug 20 20:04:41.541: //-1/9599432F85F5/DPM/dpAssociateIncomingPeerCore:
   Calling Number=pingFrom, Called Number=, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
*Aug 20 20:04:41.541: //-1/9599432F85F5/DPM/dpAssociateIncomingPeerCore:
   Result=NO_MATCH(-1) After All Match Rules Attempt
*Aug 20 20:04:41.541: //-1/9599432F85F5/DPM/dpMatchSafModulePlugin:
   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=-1
*Aug 20 20:04:42.225: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Calling Number=pingFrom, Called Number=, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
*Aug 20 20:04:42.225: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Result=NO_MATCH(-1) After All Match Rules Attempt
*Aug 20 20:04:42.225: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=-1
*Aug 20 20:04:42.225: //-1/9601A23485F6/DPM/dpAssociateIncomingPeerCore:
   Calling Number=pingFrom, Called Number=, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
*Aug 20 20:04:42.225: //-1/9601A23485F6/DPM/dpAssociateIncomingPeerCore:
   Result=NO_MATCH(-1) After All Match Rules Attempt
*Aug 20 20:04:42.225: //-1/9601A23485F6/DPM/dpMatchSafModulePlugin:
   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=-1
  Q931 Message IE Decodes
Protocol Discriminator : 0x08
CRV Length             : 2
CRV Value              : 0x0023
Message Type           : 0x05: SETUP
Bearer Capability: Length Of IE=3
Data 8090A2
Calling Party Number: Length Of IE=10
Data 21813833303532353036
Called Party Number: Length Of IE=12
Data A13136343738383031373630
User-User: Length Of IE=192
Data 0520B0060008914A000501401F0054006500730074002000700068006F006E0065002000320000000000000000000000000000000000000000000000000000000000000000000000000000000022C0B50000120F436973636F43616C6C4D616E61676572003100010500497ABB34A93000FAD43CADCC312123002A02AC1D582000D50D80000700AC1D5D1906B8110000FAD43CADCC312123002A02AC1D5820010001000100010010A00100140140B50000120D82040020040001030003000103
*Aug 20 20:04:54.401: //-1/00FAD43C2300/DPM/dpAssociateIncomingPeerCore:
   Calling Number=83052506, Called Number=16478801760, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
*Aug 20 20:04:54.401: //-1/00FAD43C2300/DPM/dpAssociateIncomingPeerCore:
   Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=2
*Aug 20 20:04:54.401: //-1/00FAD43C2300/DPM/dpMatchSafModulePlugin:
   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
*Aug 20 20:04:54.401: //-1/00FAD43C2300/DPM/dpAssociateIncomingPeerCore:
   Calling Number=83052506, Called Number=16478801760, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
*Aug 20 20:04:54.401: //-1/00FAD43C2300/DPM/dpAssociateIncomingPeerCore:
   Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=2
*Aug 20 20:04:54.401: //-1/00FAD43C2300/DPM/dpMatchSafModulePlugin:
   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
*Aug 20 20:04:54.401: //-1/00FAD43C2300/CCAPI/cc_api_display_ie_subfields:
   cc_api_call_setup_ind_common:
   cisco-username=Test phone 2
   ----- ccCallInfo IE subfields -----
   cisco-ani=83052506
   cisco-anitype=2
   cisco-aniplan=1
   cisco-anipi=0
   cisco-anisi=1
   dest=16478801760
   cisco-desttype=2
   cisco-destplan=1
   cisco-rdie=FFFFFFFF
   cisco-rdn=
   cisco-rdntype=-1
   cisco-rdnplan=-1
   cisco-rdnpi=-1
   cisco-rdnsi=-1
   cisco-redirectreason=-1   fwd_final_type =0
   final_redirectNumber =
   hunt_group_timeout =0

*Aug 20 20:04:54.401: //-1/00FAD43C2300/CCAPI/cc_api_call_setup_ind_common:
   Interface=0x1C4D9E4, Call Info(
   Calling Number=83052506,(Calling Name=)(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
   Called Number=16478801760(TON=National, NPI=ISDN),
   Calling Translated=FALSE, Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE,
   Incoming Dial-peer=2, Progress Indication=NULL(0), Calling IE Present=TRUE,
   Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=1518
*Aug 20 20:04:54.401: //-1/00FAD43C2300/CCAPI/ccCheckClipClir:
   In: Calling Number=83052506(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)
*Aug 20 20:04:54.401: //-1/00FAD43C2300/CCAPI/ccCheckClipClir:
   Out: Calling Number=83052506(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)
*Aug 20 20:04:54.401: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Aug 20 20:04:54.401: :cc_get_feature_vsa malloc success
*Aug 20 20:04:54.401: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Aug 20 20:04:54.401:  cc_get_feature_vsa count is 1
*Aug 20 20:04:54.401: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Aug 20 20:04:54.401: :FEATURE_VSA attributes are: feature_name:0,feature_time:280598328,feature_id:29
*Aug 20 20:04:54.401: //1518/00FAD43C2300/CCAPI/cc_api_call_setup_ind_common:
   Set Up Event Sent;
   Call Info(Calling Number=83052506(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
   Called Number=16478801760(TON=National, NPI=ISDN))
*Aug 20 20:04:54.401: //1518/00FAD43C2300/CCAPI/cc_process_call_setup_ind:
   Event=0x1DFE050
*Aug 20 20:04:54.401: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
   Try with the demoted called number 16478801760
*Aug 20 20:04:54.401: //1518/00FAD43C2300/CCAPI/ccCallSetContext:
   Context=0x40006A2C
*Aug 20 20:04:54.401: //1518/00FAD43C2300/CCAPI/cc_process_call_setup_ind:
   >>>>CCAPI handed cid 1518 with tag 2 to app "_ManagedAppProcess_TOLLFRAUD_APP"
*Aug 20 20:04:54.401: //1518/00FAD43C2300/CCAPI/ccCallDisconnect:
   Cause Value=21, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
*Aug 20 20:04:54.401: //1518/00FAD43C2300/CCAPI/ccCallDisconnect:
   Cause Value=21, Call Entry(Responsed=TRUE, Cause Value=21)
*Aug 20 20:04:54.401: //1518/00FAD43C2300/CCAPI/cc_api_get_transfer_info:
   Transfer Number=NULL
  Q931 Message IE Decodes
Protocol Discriminator : 0x08
CRV Length             : 2
CRV Value              : 0x8023
Message Type           : 0x5A: RELEASE_COMP
Cause: Length Of IE=2
Data 8095
User-User: Length Of IE=34
Data 052580060008914A00041100110000FAD43CADCC312123002A02AC1D582010800100
*Aug 20 20:04:54.401: //1518/00FAD43C2300/CCAPI/cc_api_call_disconnect_done:
   Disposition=0, Interface=0x1C4D9E4, Tag=0x0, Call Id=1518,
   Call Entry(Disconnect Cause=21, Voice Class Cause Code=0, Retry Count=0)
*Aug 20 20:04:54.401: //1518/00FAD43C2300/CCAPI/cc_api_call_disconnect_done:
   Call Disconnect Event Sent
*Aug 20 20:04:54.401: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

*Aug 20 20:04:54.401: :cc_free_feature_vsa freeing 10B99730
*Aug 20 20:04:54.401: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

*Aug 20 20:04:54.401:  vsacount in free is 0
  Q931 Message IE Decodes
Protocol Discriminator : 0x08
CRV Length             : 2
CRV Value              : 0x0024
Message Type           : 0x05: SETUP
Bearer Capability: Length Of IE=3
Data 8090A2
Calling Party Number: Length Of IE=10
Data 21813833303532353037
Called Party Number: Length Of IE=12
Data A13134313634373832363734
User-User: Length Of IE=192
Data 0520B0060008914A000501401F0054006500730074002000500068006F006E0065002000330000000000000000000000000000000000000000000000000000000000000000000000000000000022C0B50000120F436973636F43616C6C4D616E6167657200310001050047497AB59A7080D63061EACC312124002B02AC1D582100D50D80000700AC1D5D1906B8110080D63061EACC312124002B02AC1D5821010001000100010010A00100140140B50000120D82040020040001030003000103
*Aug 20 20:05:55.453: //-1/80D630612400/DPM/dpAssociateIncomingPeerCore:
   Calling Number=83052507, Called Number=14164782674, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
*Aug 20 20:05:55.453: //-1/80D630612400/DPM/dpAssociateIncomingPeerCore:
   Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=2
*Aug 20 20:05:55.453: //-1/80D630612400/DPM/dpMatchSafModulePlugin:
   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
*Aug 20 20:05:55.453: //-1/80D630612400/DPM/dpAssociateIncomingPeerCore:
   Calling Number=83052507, Called Number=14164782674, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
*Aug 20 20:05:55.453: //-1/80D630612400/DPM/dpAssociateIncomingPeerCore:
   Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=2
*Aug 20 20:05:55.453: //-1/80D630612400/DPM/dpMatchSafModulePlugin:
   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
*Aug 20 20:05:55.453: //-1/80D630612400/CCAPI/cc_api_display_ie_subfields:
   cc_api_call_setup_ind_common:
   cisco-username=Test Phone 3
   ----- ccCallInfo IE subfields -----
   cisco-ani=83052507
   cisco-anitype=2
   cisco-aniplan=1
   cisco-anipi=0
   cisco-anisi=1
   dest=14164782674
   cisco-desttype=2
   cisco-destplan=1
   cisco-rdie=FFFFFFFF
   cisco-rdn=
   cisco-rdntype=-1
   cisco-rdnplan=-1
   cisco-rdnpi=-1
   cisco-rdnsi=-1
   cisco-redirectreason=-1   fwd_final_type =0
   final_redirectNumber =
   hunt_group_timeout =0

*Aug 20 20:05:55.453: //-1/80D630612400/CCAPI/cc_api_call_setup_ind_common:
   Interface=0x1C4D9E4, Call Info(
   Calling Number=83052507,(Calling Name=)(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
   Called Number=14164782674(TON=National, NPI=ISDN),
   Calling Translated=FALSE, Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE,
   Incoming Dial-peer=2, Progress Indication=NULL(0), Calling IE Present=TRUE,
   Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=1519
*Aug 20 20:05:55.453: //-1/80D630612400/CCAPI/ccCheckClipClir:
   In: Calling Number=83052507(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)
*Aug 20 20:05:55.453: //-1/80D630612400/CCAPI/ccCheckClipClir:
   Out: Calling Number=83052507(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)
*Aug 20 20:05:55.453: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Aug 20 20:05:55.453: :cc_get_feature_vsa malloc success
*Aug 20 20:05:55.453: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Aug 20 20:05:55.453:  cc_get_feature_vsa count is 1
*Aug 20 20:05:55.453: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Aug 20 20:05:55.453: :FEATURE_VSA attributes are: feature_name:0,feature_time:280598328,feature_id:30
*Aug 20 20:05:55.453: //1519/80D630612400/CCAPI/cc_api_call_setup_ind_common:
   Set Up Event Sent;
   Call Info(Calling Number=83052507(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
   Called Number=14164782674(TON=National, NPI=ISDN))
*Aug 20 20:05:55.453: //1519/80D630612400/CCAPI/cc_process_call_setup_ind:
   Event=0x1DFE050
*Aug 20 20:05:55.453: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
   Try with the demoted called number 14164782674
*Aug 20 20:05:55.453: //1519/80D630612400/CCAPI/ccCallSetContext:
   Context=0x40007E9C
*Aug 20 20:05:55.453: //1519/80D630612400/CCAPI/cc_process_call_setup_ind:
   >>>>CCAPI handed cid 1519 with tag 2 to app "_ManagedAppProcess_TOLLFRAUD_APP"
*Aug 20 20:05:55.453: //1519/80D630612400/CCAPI/ccCallDisconnect:
   Cause Value=21, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
*Aug 20 20:05:55.453: //1519/80D630612400/CCAPI/ccCallDisconnect:
   Cause Value=21, Call Entry(Responsed=TRUE, Cause Value=21)
*Aug 20 20:05:55.453: //1519/80D630612400/CCAPI/cc_api_get_transfer_info:
   Transfer Number=NULL
  Q931 Message IE Decodes
Protocol Discriminator : 0x08
CRV Length             : 2
CRV Value              : 0x8024
Message Type           : 0x5A: RELEASE_COMP
Cause: Length Of IE=2
Data 8095
User-User: Length Of IE=34
Data 052580060008914A00041100110080D63061EACC312124002B02AC1D582110800100
*Aug 20 20:05:55.453: //1519/80D630612400/CCAPI/cc_api_call_disconnect_done:
   Disposition=0, Interface=0x1C4D9E4, Tag=0x0, Call Id=1519,
   Call Entry(Disconnect Cause=21, Voice Class Cause Code=0, Retry Count=0)
*Aug 20 20:05:55.453: //1519/80D630612400/CCAPI/cc_api_call_disconnect_done:
   Call Disconnect Event Sent
*Aug 20 20:05:55.453: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

*Aug 20 20:05:55.453: :cc_free_feature_vsa freeing 10B99730
*Aug 20 20:05:55.457: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

*Aug 20 20:05:55.457:  vsacount in free is 0
*Aug 20 20:06:36.565: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Calling Number=pingFrom, Called Number=, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
*Aug 20 20:06:36.565: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Result=NO_MATCH(-1) After All Match Rules Attempt
*Aug 20 20:06:36.565: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=-1
*Aug 20 20:06:36.565: //-1/DA28879F85F9/DPM/dpAssociateIncomingPeerCore:

There's no dial-peer to match the call, how do you expect it to work?????

Calling Number=83052506, Called Number=16478801760

If this is an outbound call, you're expecting a 9, which, you said you were sending from CUCM, and you're not.

If this is an inbound call, there's no DP to CUCM to route the call.

dial-peer voice 5 pots

preference 1

destination-pattern 9T

no digit-strip

direct-inward-dial

port 0/0/0:23

!

dial-peer voice 2 voip

destination-pattern 1298

progress_ind setup enable 3

progress_ind progress enable 8

session target ipv4:172.29.93.33

incoming called-number .

voice-class h323 1

dtmf-relay h245-alphanumeric

codec g711ulaw

no vad

!

dial-peer voice 10 pots

shutdown

destination-pattern 9[2-9]..[2-9]......

progress_ind setup enable 3

direct-inward-dial

port 0/0/0:23

forward-digits 10

!

dial-peer voice 11 pots

shutdown

destination-pattern 91[2-9]..[2-9]......

progress_ind setup enable 3

direct-inward-dial

port 0/0/0:23

forward-digits 11

HTH

java

if this helps, please rate

www.cisco.com/go/pdihelpdesk

HTH

java

if this helps, please rate

There are two issues..one is toll fruad and the other is dial-peer matching..

First of all your call is disconnected because of toll fruad feature introduced in IOS15.X

Aug 20 20:05:55.453: //1519/80D630612400/CCAPI/cc_process_call_setup_ind:

   >>>>CCAPI handed cid 1519 with tag 2 to app "_ManagedAppProcess_TOLLFRAUD_APP"

*Aug 20 20:05:55.453: //1519/80D630612400/CCAPI/ccCallDisconnect:

   Cause Value=21,

From your config it looks like the ip address of the cucm originating the call is not configured on any of your voip dial-peers. How many CUCM do you have? I suggest you configure dial-peers pointing to all of your cucm..

The second thing is that there is no dial-peer match for the called number..

16478801760

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

Thanks for the support I am at cottage and it is a little rough.

So if idisable dial-peer 5 and enable 10 and 11. Then modify dialpeer 2 sothat destination patter is a . 

And remove called number statement will it work. That is a valid cucm address but I will change to .25

I will read about the new fraud

I thought calls were being made by 1298.

After these changes will I be ok?

I would strongly suggest you to read this before anything else:

Understanding Inbound and Outbound Dial Peers Matching on IOS Platforms

http://www.cisco.com/en/US/partner/tech/tk652/tk90/technologies_tech_note09186a008010fed1.shtml

Dial Peer Configuration on Voice Gateway Routers, Cisco IOS Release 15M&T

http://www.cisco.com/en/US/partner/docs/ios-xml/ios/voice/dialpeer/configuration/15-mt/vd-15-mt-book.html

Dial Peer Configuration on Voice Gateway Routers, Cisco IOS Release 12.4T

http://www.cisco.com/en/US/partner/docs/ios-xml/ios/voice/dialpeer/configuration/12-4t/vd-12-4t-book.html

THEN, you can tell us whether doing those changes you're suggesting, will make your configuration work or not.

ALSO, make sure you really understand what you're sending from CUCM as your dial-peers are completely based upon that fact.

EDIT: And assuming you want inbounds calls to work, configure the necessary dial-peers and the GW inbound CSS in CUCM, there are guides on CCO for that, you just need to search for them.

HTH

java

if this helps, please rate

www.cisco.com/go/pdihelpdesk

HTH

java

if this helps, please rate

I under the dial-peers. I have been doing this since 2000 I got sloppy because I was blind to the config and careless reaading log. Answers were in front of me

I looked at the traces and keept thinking cucm was sending a 9

I put a . On dialpeer 2 and removed incoming called number. I shutdown 5 and enabled 10 and 11 and dropped the 9 on both. I am sending outboud and hitting t1 but phones are not ringing.

I

will get logs and try and get into router myself.

This is also a vxnl gateway so there will be a few dial-peers.

Thanks for help and if there is anything I said wrong please correct me

what is the problem?
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: