12-12-2016 03:11 AM - edited 03-17-2019 08:55 AM
Hi,
i have
(cisco IP phone - 2222) - (CUCM) - MGCP - (VG 1) - PRI - (VG 2) - SIP - (CUCM) - (cisco ip phone - 1111)
Call from 2222 to 1111 - succesful
Call from 1111 to 2222 - not succesful but dial-peer matching is valid
Can you help me in my issue?
sh run
voice service voip
mode border-element
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
redirect ip2ip
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
h323
emptycapability
h225 id-passthru
no call service stop
h245 passthru tcsnonstd-passthru
sip
bind control source-interface GigabitEthernet0/0.925
bind media source-interface GigabitEthernet0/0.925
history-info
pass-thru content sdp
no call service stop
!
voice class codec 1
codec preference 1 g729r8
codec preference 2 g711alaw
codec preference 3 g711ulaw
controller E1 0/0/0
framing NO-CRC4
clock source internal
pri-group timeslots 1-16
interface Serial0/0/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn protocol-emulate network
isdn incoming-voice voice
no cdp enable
!
dial-peer voice 999 voip
destination-pattern 1111
incoming called-number .T
session protocol sipv2
session target ipv4:10.10.10.10
voice-class codec 1
no vad
!
dial-peer voice 901 pots
destination-pattern 2222
direct-inward-dial
port 0/0/0:15
2222->1111 (success)
sh call history voice brief
11E8 : 164 326944200ms.156 (11:00:08.634 MSK Mon Dec 12 2016) +4040 +14210 pid:999 Originate 1111
dur 00:00:10 tx:506/80960 rx:508/81280 10 (normal call clearing (16)) dscp:0 media:0 audio tos:0xB8 video tos:0x0
IP 10.10.10.10:16480 SRTP: off rtt:0ms pl:5540/0ms lost:0/1/0 delay:55/55/75ms g711ulaw TextRelay: off Transcoded No
media inactive detected:n media contrl rcvd:n/a timestamp:n/a
long duration call detected:n long dur callduration :n/a timestamp:n/a
LostPacketRate:0.00 OutOfOrderRate:0.00
11E8 : 163 326944190ms.157 (11:00:08.624 MSK Mon Dec 12 2016) +4060 +14190 pid:901 Answer 2222
dur 00:00:10 tx:507/85176 rx:506/80960 10 (normal call clearing (16)) dscp:0 media:0 audio tos:0x0 video tos:0x0
Telephony 0/0/0:15 (163) [0/0/0.15] tx:10150/10150/0ms g711ulaw noise:-66dBm acom:3dBm
long duration call detected:n long dur callduration :n/a timestamp:n/a
===================================================================================================
#
Dec 12 11:56:32: ISDN Se0/0/0:15 Q931: RX <- SETUP pd = 8 callref = 0x0003
Sending Complete
Bearer Capability i = 0x8090A3
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA9838F
Exclusive, Channel 15
Display i = 'K'
Calling Party Number i = 0x0083, '2222'
Plan:Unknown, Type:Unknown
Called Party Number i = 0x80, '1111'
Plan:Unknown, Type:Unknown
Dec 12 11:56:32: ISDN Se0/0/0:15 Q931: Received SETUP callref = 0x8003 callID = 0x0003 switch = primary-net5 interface = Network
Dec 12 11:56:32: ISDN Se0/0/0:15 Q931: TX -> CALL_PROC pd = 8 callref = 0x8003
Channel ID i = 0xA9838F
Exclusive, Channel 15
Dec 12 11:56:32: ISDN Se0/0/0:15 Q931: TX -> ALERTING pd = 8 callref = 0x8003
Dec 12 11:56:35: ISDN Se0/0/0:15 Q931: TX -> CONNECT pd = 8 callref = 0x8003
Dec 12 11:56:35: ISDN Se0/0/0:15 Q931: RX <- CONNECT_ACK pd = 8 callref = 0x0003
Dec 12 11:56:48: ISDN Se0/0/0:15 Q931: RX <- DISCONNECT pd = 8 callref = 0x0003
Cause i = 0x8090 - Normal call clearing
Dec 12 11:56:48: ISDN Se0/0/0:15 Q931: TX -> RELEASE pd = 8 callref = 0x8003
Dec 12 11:56:48: ISDN Se0/0/0:15 Q931: RX <- RELEASE_COMP pd = 8 callref = 0x0003
1111->2222 (not success)
1476 : 194 331090310ms.186 (12:09:14.725 MSK Mon Dec 12 2016) +-1 +0 pid:999 Originate 2222
dur 00:00:00 tx:0/0 rx:0/0 10 (normal call clearing (16)) dscp:0 media:0 audio tos:0x0 video tos:0x0
Telephony 0/0/0:15 [0/0/0] tx:0/0/0ms None noise:0dBm acom:0dBm
long duration call detected:n long dur callduration :n/a timestamp:n/a
1476 : 193 331090300ms.187 (12:09:14.715 MSK Mon Dec 12 2016) +-1 +20 pid:11 Answer 1111
dur 00:00:00 tx:0/0 rx:0/0 10 (normal call clearing (16)) dscp:0 media:0 audio tos:0x0 video tos:0x0
IP 10.10.10.10:19190 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms pass-through TextRelay: off Transcoded No
media inactive detected:n media contrl rcvd:n/a timestamp:n/a
long duration call detected:n long dur callduration :n/a timestamp:n/a
debug isdn q931 - empty
12-12-2016 05:51 AM
Hi,
While calling from 1111 --->> 2222, Can you post and attach the output of following:
debug voice ccapi inout
debug ccsip messages
Collect these from VG2. Also, the config posted above is from VG2, correct?
Regards,
Hitesh
12-12-2016 11:43 PM
12-16-2016 01:43 AM
Hi,
can anyone help me in my issue?
12-16-2016 02:40 AM
Hi Alexander,
From the logs could see only incoming dial-peer match but there is no outbound dial-peer being matched as the gateway immediately sends internal server error for the invite. COuld you provide the complete config to see why we are matching this dial-peer 11 and no outbound match.
Incoming Dial-peer=11
HTH
Rajan
12-16-2016 04:51 AM
Hi Rajan, many thanks for your help
Why are you thinking that outbound dilapeer doesn't match for this call?
The outbound dialpeer - number 901.
Am i right or not?
Regards
Alexander
12-16-2016 07:20 AM
I was unable to see outbound dial-peer match happening in the CCAPI debugs like the below one for inbound match:
ec 13 10:20:31: //-1/7716D1CF83D7/CCAPI/cc_api_call_setup_ind_common: Interface=0x228C9490, Call Info( Calling Number=1111,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed), Called Number=2222(TON=Unknown, NPI=Unknown), Calling Translated=FALSE, Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE, Incoming Dial-peer=11, Progress Indication=NULL(0), Calling IE Present=TRUE,
12-27-2016 03:38 AM
12-27-2016 11:24 PM
Hi,
can anyone help me in my issue?
01-30-2017 06:53 PM
please enable the following on both routers and collect debugs separately:
conf t
no logging console
logging queue-limit 1000
logging queue-limit trap 1000
logging buffered 10000000 deb
service sequence
service time deb date msec localtime
service time log date msec localtime
no ip icmp rate-limit unreachable
voice iec syslog
exit
clear log
y
debugs on SIP GW: VG 2
debug ccsip mess
debug voip dialpeer all
deb voice ccapi ino
debug isdn q931
----------------------------------
debug on VG 1 MGCP:
debug isdn q931
debug mgcp pack
debug ccm-manager back pack
the output of logs >> term len 0>> open notepad file in putty to save output>> show logg >> save file >> term len 24. Along with this attach the "sh tech voice” of the gateways in a separate files.
thanks,
Ishan
12-16-2016 09:32 PM
You might just be missing 'no digit-strip' or 'forward-digits all' on the 901 pots dial-peer.
12-19-2016 12:48 AM
Unfortunately it did not help!
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