cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1460
Views
5
Helpful
9
Replies

Cisco 3825 as a CME Router

i have an issue, i have router 3825 i decided to make it as CME Router, Firmware uploaded and IP Phones are register normal. i have E1 card, dial peer Pots is configured but can't make outbound call. once i dial the first number i got a busy tone, example: my phone number is 99109912 one i dial 999109912 " the first 9 is a prefix" i got the busy tone. here is my configuration. the DID range i have is 229566[00-99] and the user extensions are 66XX

 


!
isdn switch-type primary-net5
!
voice-card 0
dspfarm
dsp services dspfarm
!
voice-card 1
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
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
fax protocol cisco
sip
registrar server expires max 600 min 60
!
!
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g711alaw
codec preference 3 g729r8
codec preference 4 g729br8
!
!
!
!
!
!
!
!
!
!
!
!
!
!
voice translation-rule 1
rule 1 /^229566\(..$\)/ /66\1/
!
voice translation-rule 2
rule 1 /^66\(..$\)/ /229566\1/
!
voice translation-rule 3
rule 1 /^9/ //
!
!
voice translation-profile Incoming-Calls
translate called 1
!
voice translation-profile Outgoing-Calls
translate calling 2
translate called 3
!
!
!
!
!
controller E1 1/0
framing NO-CRC4
!
controller E1 1/1
framing NO-CRC4
pri-group timeslots 1-31
!
ip ssh version 2
!
!
!
!
interface GigabitEthernet0/0
ip address 10.0.11.40 255.255.255.0
duplex auto
speed auto
media-type rj45
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
media-type rj45
!
interface Serial1/1:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn timer T310 120000
isdn incoming-voice voice
no cdp enable
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 10.0.11.1
no ip http server
no ip http secure-server
!
!
ip tacacs source-interface GigabitEthernet0/0
!
logging trap warnings
logging source-interface GigabitEthernet0/0
logging 192.168.1.49
!
!
tftp-server flash:dsp11.8-3-1-22.sbn alias dsp11.8-3-1-22.sbn
tftp-server flash:cvm11sccp.8-3-1-22.sbn alias cvm11sccp.8-3-1-22.sbn
tftp-server flash:cnu11.8-3-1-22.sbn alias cnu11.8-3-1-22.sbn
tftp-server flash:apps11.8-3-1-22.sbn alias apps11.8-3-1-22.sbn
tftp-server flash:SCCP11.8-3-2S.loads alias SCCP11.8-3-2S.loads
tftp-server flash:jar11sccp.8-3-1-22.sbn alias jar11sccp.8-3-1-22.sbn
tftp-server flash:term06.default.loads alias term06.default.loads
tftp-server flash:term11.default.loads alias term11.default.loads
tftp-server flash:CP7912080002SCCP060817A.sbin alias CP7912080002SCCP060817A.sbin
tftp-server flash:apps41.8-3-1-22.sbn alias apps41.8-3-1-22.sbn
tftp-server flash:cnu41.8-3-1-22.sbn alias cnu41.8-3-1-22.sbn
tftp-server flash:cvm41sccp.8-3-1-22.sbn alias cvm41sccp.8-3-1-22.sbn
tftp-server flash:dsp41.8-3-1-22.sbn alias dsp41.8-3-1-22.sbn
tftp-server flash:jar41sccp.8-3-1-22.sbn alias jar41sccp.8-3-1-22.sbn
tftp-server flash:SCCP41.8-3-2S.loads alias SCCP41.8-3-2S.loads
tftp-server flash:term41.default.loads alias term41.default.loads
tftp-server flash:term61.default.loads alias term61.default.loads
tacacs-server host 192.168.1.108 key cisco123
!
control-plane
!
!
!
voice-port 1/1:15
translation-profile incoming Incoming-Calls
echo-cancel coverage 24
cptone KW
!
!
!
!
!
dial-peer voice 1 pots
translation-profile outgoing Outgoing-Calls
destination-pattern 9[9].......
direct-inward-dial
port 1/1:15
forward-digits 8
prefix 9
!
!
!
telephony-service
no auto-reg-ephone
max-ephones 185
max-dn 400
ip source-address 10.0.11.40 port 2000
system message UPS & CRAVEZ
load 7911 SCCP11.8-3-2S
load 7912 CP7912080002SCCP060817A.sbin
load 7941 SCCP41.8-3-2S
time-zone 31
date-format dd-mm-yy
max-conferences 12 gain -6
moh flash:en_bacd_music_on_hold.au
multicast moh 239.10.16.4 port 16384
web admin system name admin password CISCO@123
dn-webedit
time-webedit
transfer-system full-consult
create cnf-files version-stamp Jan 01 2002 00:00:00
!
!
ephone-dn 1
number 6623
label Hassan Ghazal
name Hassan Ghazal
!
!
!
ephone 1
mac-address 001D.4543.D159
type 7941GE
button 1:1
!
!

9 Replies 9

Chris Deren
Hall of Fame
Hall of Fame

Post the following:

"show isdn status"

"debug isdn q931"

"debug voice dialpeer"

"debug voice ccapi inout"

Identify calling and called numbers.

 

Global ISDN Switchtype = primary-net5 %Q.931 is backhauled to CCM MANAGER 0x0003 on DSL 0. Layer 3 output may not apply ISDN Serial1/1:15 interface dsl 0, interface ISDN Switchtype = primary-net5 L2 Protocol = Q.921 0x0000 L3 Protocol(s) = CCM MANAGER 0x0003 Layer 1 Status: ACTIVE Layer 2 Status: TEI = 0, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED Layer 3 Status: 0 Active Layer 3 Call(s) Active dsl 0 CCBs = 0 The Free Channel Mask: 0xFFFF7FFF Number of L2 Discards = 0, L2 Session ID = 144 Total Allocated ISDN CCBs = 0

 

 

.Sep 17 13:05:25.452: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=6623, Called Number=, Voice-Interface=0x685AA600,
Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
.Sep 17 13:05:25.452: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=20001
.Sep 17 13:05:25.960: //-1/2D43235782D8/DPM/dpMatchPeersCore:
Calling Number=, Called Number=9, Peer Info Type=DIALPEER_INFO_SPEECH
.Sep 17 13:05:25.960: //-1/2D43235782D8/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=9
.Sep 17 13:05:25.960: //-1/2D43235782D8/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
.Sep 17 13:05:25.960: //-1/2D43235782D8/DPM/dpMatchPeersMoreArg:
Result=NO_MATCH(-1)
.Sep 17 13:05:28.356: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=6623$, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
.Sep 17 13:05:28.356: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt

 

 

 

.Sep 17 13:06:42.412: //-1/5B22412B82DC/CCAPI/cc_api_display_ie_subfields:
cc_api_call_setup_ind_common:
cisco-username=
----- ccCallInfo IE subfields -----
cisco-ani=6623
cisco-anitype=0
cisco-aniplan=0
cisco-anipi=0
cisco-anisi=0
dest=
cisco-desttype=0
cisco-destplan=0
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-lastrdn=
cisco-rdntype=0
cisco-rdnplan=0
cisco-rdnpi=0
cisco-rdnsi=0
cisco-redirectreason=0 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0

.Sep 17 13:06:42.412: //-1/5B22412B82DC/CCAPI/cc_api_call_setup_ind_common:
Interface=0x685AA600, Call Info(
Calling Number=6623,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=(TON=Unknown, NPI=Unknown),
Calling Translated=FALSE, Subscriber Type Str=RegularLine, FinalDestinationFlag=FALSE,
Incoming Dial-peer=20001, Progress Indication=ORIGINATING SIDE IS NON ISDN(3), Calling IE Present=TRUE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=-1
.Sep 17 13:06:42.412: //-1/5B22412B82DC/CCAPI/ccCheckClipClir:
In: Calling Number=6623(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
.Sep 17 13:06:42.412: //-1/5B22412B82DC/CCAPI/ccCheckClipClir:
Out: Calling Number=6623(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
.Sep 17 13:06:42.412: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

.Sep 17 13:06:42.412: :cc_get_feature_vsa malloc success
.Sep 17 13:06:42.412: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

.Sep 17 13:06:42.412: cc_get_feature_vsa count is 1
.Sep 17 13:06:42.412: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

.Sep 17 13:06:42.412: :FEATURE_VSA attributes are: feature_name:0,feature_time:1820520896,feature_id:233
.Sep 17 13:06:42.412: //218/5B22412B82DC/CCAPI/cc_api_call_setup_ind_common:
Set Up Event Sent;
Call Info(Calling Number=6623(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=(TON=Unknown, NPI=Unknown))
.Sep 17 13:06:42.416: //218/5B22412B82DC/CCAPI/cc_process_call_setup_ind:
Event=0x68750170
.Sep 17 13:06:42.416: //218/5B22412B82DC/CCAPI/ccCallSetContext:
Context=0x6C434684
.Sep 17 13:06:42.416: //218/5B22412B82DC/CCAPI/cc_process_call_setup_ind:
>>>>CCAPI handed cid 218 with tag 20001 to app "_ManagedAppProcess_Default"
.Sep 17 13:06:42.416: //218/5B22412B82DC/CCAPI/ccCallSetupAck:
Call Id=218
.Sep 17 13:06:42.416: //218/5B22412B82DC/CCAPI/cc_api_set_transfer_info:
Transfer Number=, Transfer Reason=0x0
.Sep 17 13:06:42.416: //218/5B22412B82DC/CCAPI/ccGenerateToneInfo:
Stop Tone On Digit=TRUE, Tone=Dial Tone,
Tone Direction=Network, Params=0x0, Call Id=218
.Sep 17 13:06:42.416: //218/5B22412B82DC/CCAPI/ccSetDigitTimeouts:
Initial Digit Timeout=-1000(ms), Inter Digit Timeout=-1000(ms)
.Sep 17 13:06:42.416: //218/5B22412B82DC/CCAPI/ccSetDigitTimeouts:
Call Entry(Inter Digit Timeout=10000(ms), Initial Digit Timeout=10000(ms))
.Sep 17 13:06:42.416: //218/xxxxxxxxxxxx/CCAPI/ccCallReportDigits:
(callID=0xDA, digit_event=0x1, enable=TRUE, consume=FALSE)
.Sep 17 13:06:42.416: //218/5B22412B82DC/CCAPI/ccCallReportDigits:
Enabled=TRUE, Call Id=218
.Sep 17 13:06:42.416: //218/xxxxxxxxxxxx/CCAPI/cc_api_call_report_digits_done:
(vdbPtr=0x685AA600, callID=0xDA, disp=0, digit_event=0x1, enable=TRUE, consume=FALSE)
.Sep 17 13:06:42.416: //218/5B22412B82DC/CCAPI/cc_api_call_report_digits_done:
Enabled=TRUE, Disposition=0x0, Interface=0x685AA600, Call Id=218
.Sep 17 13:06:42.416: //218/5B22412B82DC/CCAPI/cc_api_call_report_digits_done:
Call Entry(Initial Digit Timeout=15000(ms), Inter Digit Timeout=10000(ms))
.Sep 17 13:06:42.948: //218/5B22412B82DC/CCAPI/cc_api_call_digit_begin:
Destination Interface=0x0, Destination Mask=0x3, Destination Call Id=-1,
Source Call Id=218, Digit=9, DigitBeginFlags=0x0,
Rtp Timestamp=0x2365090, Rtp Expiration=0x0
.Sep 17 13:06:42.948: //218/5B22412B82DC/CCAPI/cc_api_call_digit_end:
Destination Interface=0x0, Destination Mask=0x3, Destination Call Id=-1,
Source Call Id=218, Digit=9, Duration=100,
Xrule Calling Tag=0, Xrule Called Tag=0, Digit Tone Mode=DTMF
.Sep 17 13:06:42.948: //218/5B22412B82DC/CCAPI/cc_api_call_digit_end:
Call Entry(Handoff Depth=0)
.Sep 17 13:06:42.948: //218/xxxxxxxxxxxx/CCAPI/ccCallReportDigits:
(callID=0xDA, digit_event=0x0, enable=FALSE, consume=FALSE)
.Sep 17 13:06:42.948: //218/5B22412B82DC/CCAPI/ccCallReportDigits:
Enabled=TRUE, Call Id=218
.Sep 17 13:06:42.948: //218/xxxxxxxxxxxx/CCAPI/cc_api_call_report_digits_done:
(vdbPtr=0x685AA600, callID=0xDA, disp=0, digit_event=0x0, enable=FALSE, consume=FALSE)
.Sep 17 13:06:42.948: //218/5B22412B82DC/CCAPI/cc_api_call_report_digits_done:
Enabled=TRUE, Disposition=0x0, Interface=0x685AA600, Call Id=218
.Sep 17 13:06:42.948: //218/5B22412B82DC/CCAPI/cc_api_call_report_digits_done:
Call Entry(Initial Digit Timeout=15000(ms), Inter Digit Timeout=10000(ms))
.Sep 17 13:06:42.948: //218/5B22412B82DC/CCAPI/ccCallDisconnect:
Cause Value=28, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
.Sep 17 13:06:42.948: //218/5B22412B82DC/CCAPI/ccCallDisconnect:
Cause Value=28, Call Entry(Responsed=TRUE, Cause Value=28)
.Sep 17 13:06:42.948: //218/5B22412B82DC/CCAPI/cc_api_get_transfer_info:
Transfer Number Is Null
.Sep 17 13:06:47.420: //218/5B22412B82DC/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x685AA600, Tag=0x0, Call Id=218,
Call Entry(Disconnect Cause=28, Voice Class Cause Code=0, Retry Count=0)
.Sep 17 13:06:47.420: //218/5B22412B82DC/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
.Sep 17 13:06:47.420: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

.Sep 17 13:06:47.420: :cc_free_feature_vsa freeing 6C82F1B8
.Sep 17 13:06:47.420: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

.Sep 17 13:06:47.420: vsacount in free is 0

Try adding:

 

dial-peer voice 10 voip

incoming called-number .

codec ?

no vad

 

thanks for your reply

 

but why should i add VOIP dial Peer... i have only E1 Line "Isdn"

Because every call has 2 legs, PRI call has pots and voip call leg. If the call is outbound then you have inbound voip leg (from phone to GW) + outbound pots dial-peer

Inbound call has inbound pots (from PSTN) and outbound voip (from GW to CME engine/phone)

 

https://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/14074-in-dial-peer-match.html

 

Thanks for your clarification 

 

i have added the mentioned dial peer but still not working

Collect the debugs again, let us know the called and calling numbers.

Also, are you doing en-bloc dialing, i.e. are you entering all digits and then pressing Dial, or going off-hook and dialing digit by digit?

calling number is my extension = 6623

Called Number is = 999109912  , the first "9" is a prefix 

 

the debug for "debug voice ccapi inout" is showing the called number = 9 , i don't know why its sending only the first Digit only.

 

i tried to dial by Block and digit by digit when the handset is off hock

Looking at your "show isdn status" more closely (pasted formatting is off) I see your D-channel is backhauled to CUCM

"%Q.931 is backhauled to CCM MANAGER 0x0003 on DSL 0." which would imply you have this configred for MGCP, yet I dont see MGCP config on your "show run", is there a CUCM in the picture here?