cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
740
Views
0
Helpful
11
Replies

Can't make call throught E1interface

alexver1978
Level 1
Level 1

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

11 Replies 11

hsood
Cisco Employee
Cisco Employee

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

Hi,

(cisco IP phone - 2222) - (CUCM) - MGCP - (VG 1) - PRI - (VG 2-10.120.x.x) - SIP-(Acme Packet - 10.124.x.x)- (SIP) - (CUCM -10.161.x.x) - (cisco ip phone - 1111)

1. Config posted above is from VG2

2. Output from commands is in attach.

Regards,

Alexander

Hi,

can anyone help me in my issue?

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

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?

cisco#sh call history voice brief
LostPacketRate:0.00 OutOfOrderRate:0.00
15BD : 290 410967390ms.275 (10:20:31.510 MSK Tue Dec 13 2016) +-1 +0 pid:901 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

15BD : 289 410967380ms.276 (10:20:31.500 MSK Tue Dec 13 2016) +-1 +40 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.124.X.X:30846 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
LostPacketRate:0.00 OutOfOrderRate:0.00

Regards

Alexander

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,

Rajan,

complete config is in attach.

I have upgraded IOS to  c2900-universalk9_npe-mz.SPA.155-3.M4a.bin but it didn't help.

Regards,

Alex

Hi,

can anyone help me in my issue?

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

Evgeny Izetov
Level 1
Level 1

You might just be missing 'no digit-strip' or 'forward-digits all' on the 901 pots dial-peer.

Unfortunately it did not help!