cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
844
Views
0
Helpful
5
Replies

E1 channel mismatch on MGCP Router with CUCM

prasetiohadi
Level 1
Level 1

Hi,

I have a problem with my MGCP controlled 3945 PSTN Gateway router with IOS 152-4.M5 with card VWIC3-2MFT-T1/E1

CUCM Version 9.1.2

Everything seems working normally, I can make inbound call from PSTN and reach auto attendant, until I found that there is a channel mismatch used by router and telco side.

When I did debug isdn q931 firstly the router will start using channel 1 until 15 and also at the same time I enter command show voice call status everything working normally. Same channel information from debug isdn q931 and from show voice call status

 

Jan 25 09:03:48: ISDN Se0/0/0:15 Q931: RX <- SETUP pd = 8  callref = 0x0DBA
        Sending Complete
        Bearer Capability i = 0x8090A3
                Standard = CCITT
                Transfer Capability = Speech
                Transfer Mode = Circuit
                Transfer Rate = 64 kbit/s
        Channel ID i = 0xA18382
                Preferred, Channel 2
        Calling Party Number i = 0x2183, '081766****'
                Plan:ISDN, Type:National
        Called Party Number i = 0xC1, '2960***'
                Plan:ISDN, Type:Subscriber(local)
Jan 25 09:03:48: ISDN Se0/0/0:15 Q931: TX -> CALL_PROC pd = 8  callref = 0x8DBA
        Channel ID i = 0xA98382
                Exclusive, Channel 2
Jan 25 09:03:48: ISDN Se0/0/0:15 Q931: TX -> ALERTING pd = 8  callref = 0x8DBA
        Progress Ind i = 0x8088 - In-band info or appropriate now available
Jan 25 09:03:48: ISDN Se0/0/0:15 Q931: TX -> CONNECT pd = 8  callref = 0x8DBA
Jan 25 09:03:48: ISDN Se0/0/0:15 Q931: RX <- CONNECT_ACK pd = 8  callref = 0x0DBA
CKRGSRST01#show voice call
CKRGSRST01#show voice call statu
CKRGSRST01#show voice call status
CallID     CID  ccVdb      Port        Slot/DSP:Ch  Called #   Codec    MLPP Dial-peers
0xC3       1245 0x1464F7AC 0/0/0:15.2       0/1:1  *           g711ulaw 0/0
1 active call found

---------------------------------

And after reaching channel 17 the problem start to appear, the channel from debug isdn q931 was not using the same channel as the output of show voice call status and I cannot hear anything just blank. And the problem persist until channel exhausted which is 31. And start from 1 the channel will normal again.

The channel selection itself using top down method in CUCM (attached)

 

CKRGSRST01#
Jan 25 08:45:45: ISDN Se0/0/0:15 Q931: RX <- SETUP pd = 8  callref = 0x0CCF
        Sending Complete
        Bearer Capability i = 0x8090A3
                Standard = CCITT
                Transfer Capability = Speech
                Transfer Mode = Circuit
                Transfer Rate = 64 kbit/s
        Channel ID i = 0xA18393
                Preferred, Channel 19
        Calling Party Number i = 0x2183, '0817663****'
                Plan:ISDN, Type:National
        Called Party Number i = 0xC1, '2960****'
                Plan:ISDN, Type:Subscriber(local)
Jan 25 08:45:45: ISDN Se0/0/0:15 Q931: TX -> CALL_PROC pd = 8  callref = 0x8CCF
        Channel ID i = 0xA98393
                Exclusive, Channel 19
Jan 25 08:45:45: ISDN Se0/0/0:15 Q931: TX -> ALERTING pd = 8  callref = 0x8CCF
        Progress Ind i = 0x8088 - In-band info or appropriate now available
Jan 25 08:45:45: ISDN Se0/0/0:15 Q931: TX -> CONNECT pd = 8  callref = 0x8CCF
Jan 25 08:45:45: ISDN Se0/0/0:15 Q931: RX <- CONNECT_ACK pd = 8  callref = 0x0CCF

 

show voice call status
CallID     CID  ccVdb      Port        Slot/DSP:Ch  Called #   Codec    MLPP Dial-peers
0xBF       1243 0x1464F7AC 0/0/0:15.20      0/1:1  *           g711ulaw 0/0
1 active call found

 

Anyone could help ? Thanks in advance.

 

below is the router configuration :

-------------------------------------------------

 

 

Cisco Configuration Professional (Cisco CP) is installed on this device.
This feature requires the one-time use of the username "cisco" with the
password "cisco". These default credentials have a privilege level of 15.

YOU MUST USE CISCO CP or the CISCO IOS CLI TO CHANGE THESE  PUBLICLY-KNOWN
CREDENTIALS

Here are the Cisco IOS commands.

username <myuser>  privilege 15 secret 0 <mypassword>
no username cisco

Replace <myuser> and <mypassword> with the username and password you want
to use.

IF YOU DO NOT CHANGE THE PUBLICLY-KNOWN CREDENTIALS, YOU WILL NOT BE ABLE
TO LOG INTO THE DEVICE AGAIN AFTER YOU HAVE LOGGED OFF.

For more information about Cisco CP please follow the instructions in the
QUICK START GUIDE for your router or go to http://www.cisco.com/go/ciscocp
-----------------------------------------------------------------------


User Access Verification

Username: administrator
Password:
% Password expiration warning.
-----------------------------------------------------------------------

Cisco Configuration Professional (Cisco CP) is installed on this device
and it provides the default username "cisco" for  one-time use. If you have
already used the username "cisco" to login to the router and your IOS image
supports the "one-time" user option, then this username has already expired.
You will not be able to login to the router with this username after you exit
this session.

It is strongly suggested that you create a new username with a privilege level
of 15 using the following command.

username <myuser> privilege 15 secret 0 <mypassword>

Replace <myuser> and <mypassword> with the username and password you want to
use.

-----------------------------------------------------------------------

CKRGSRST01#sh run
Building configuration...


Current configuration : 7577 bytes
!
! Last configuration change at 08:47:57 JKT Sun Jan 25 2015 by administrator
! NVRAM config last updated at 08:48:57 JKT Sun Jan 25 2015 by administrator
! NVRAM config last updated at 08:48:57 JKT Sun Jan 25 2015 by administrator
version 15.2
service timestamps debug datetime localtime
service timestamps log datetime localtime
service password-encryption
!
hostname CKRGSRST01
!
boot-start-marker
boot-end-marker
!
!
card type e1 0 0
logging buffered 2000000
!
no aaa new-model
clock timezone JKT 7 0
network-clock-participate wic 0
network-clock-select 1 E1 0/0/0
!
ip cef
!
!
!
!
!
!
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-net5
!
!
crypto pki trustpoint TP-self-signed-3685599971
 enrollment selfsigned
 subject-name cn=IOS-Self-Signed-Certificate-3685599971
 revocation-check none
 rsakeypair TP-self-signed-3685599971
!
!
crypto pki certificate chain TP-self-signed-3685599971
 certificate self-signed 01
  3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
  31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
  69666963 6174652D 33363835 35393939 3731301E 170D3133 31323237 32323039
  35365A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
  4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 36383535
  39393937 3130819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
  8100EA43 54D97C19 EF7172E2 54AC15BD E027CDB5 FFBA58C9 0EF69EAC 5DF69471
  1224496F EAF88615 19DD1F1C 90B7585D 68F5DC7A 0C4DC4C4 CB746659 1B86A804
  C6268CC4 37172E1B 418EA4F8 25C6E82D 16919293 3FA1439F FD3EA69F DA5CD98C
  3117DAF4 3A431AC0 BE979B61 4619D73A F031C2C1 0C19F03C 3856805A AA323CDA
  8FB30203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
  551D2304 18301680 1495E744 C0D85D80 05AF5CD4 AB31273E 9589986B B8301D06
  03551D0E 04160414 95E744C0 D85D8005 AF5CD4AB 31273E95 89986BB8 300D0609
  2A864886 F70D0101 05050003 81810063 5E704934 83EA9810 C285C52E 1073DB0E
  9034ABCC B28E86C9 18F36D0A CF9AAC5A AA2DDEAB 2951586D 5917C68A 9DEFE0B2
  96955520 CE1AB9BF CC321CB5 5F447160 F3CB8FB9 772DE0C1 782B4139 C7B4A945
  D31E93B0 60993D4F 1D0E598A F405A18E 2D9038C5 515EC8BF 64B047C8 A32A5881
  0A45C326 B5222871 1AD8C2F8 E36802
        quit
voice-card 0
!
!
!
voice service voip
 no ip address trusted authenticate
 fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
!
!
!
!
!
!
license udi pid C3900-SPE150/K9 sn FOC17495L6Y
hw-module ism 0
!
hw-module pvdm 0/0
!
!
!
username operator privilege 7 password 7 151D1B09162B3F2B3A
username administrator privilege 15 secret 4 UliBV3d5Ht3g26bBrYAzsvtxaDPZksVx3o1hmAJvjFU
!
redundancy
!
!
controller E1 0/0/0
 framing NO-CRC4
 pri-group timeslots 1-31 service mgcp
!
controller E1 0/0/1
!
!
!
!
!
interface Embedded-Service-Engine0/0
 no ip address
 shutdown
!
interface GigabitEthernet0/0
 description TRUNK to CORE
 no ip address
 duplex auto
 speed auto
!
interface GigabitEthernet0/0.145
 encapsulation dot1Q 145
 ip address 172.16.160.2 255.255.254.0
!
interface GigabitEthernet0/0.146
 encapsulation dot1Q 146
 ip address 172.16.162.2 255.255.254.0
!
interface ISM0/0
 ip unnumbered GigabitEthernet0/0.146
 service-module ip address 172.16.162.3 255.255.254.0
 !Application: CUE Running on ISM
 service-module ip default-gateway 172.16.162.2
!
interface GigabitEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface GigabitEthernet0/2
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface ISM0/1
 description Internal switch interface connected to Internal Service Module
 no ip address
!
interface Serial0/0/0:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn incoming-voice voice
 isdn bind-l3 ccm-manager
 no cdp enable
!
interface Vlan1
 no ip address
!
ip forward-protocol nd
!
no ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
ip route 0.0.0.0 0.0.0.0 172.16.160.1
ip route 172.16.162.3 255.255.255.255 ISM0/0
!
!
nls resp-timeout 1
cpd cr-id 1
!
!
control-plane
!
!
voice-port 0/0/0:15
 !
 !
 !
!
ccm-manager fallback-mgcp
ccm-manager redundant-host 172.16.70.4
ccm-manager mgcp
no ccm-manager fax protocol cisco
ccm-manager config
!
mgcp
mgcp call-agent 172.16.70.3 service-type mgcp version 0.1
mgcp rtp unreachable timeout 1000 action notify
mgcp modem passthrough voip mode nse
mgcp package-capability rtp-package
mgcp package-capability sst-package
mgcp package-capability pre-package
mgcp default-package fxr-package
no mgcp package-capability res-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp fax t38 nsf 000000
!
mgcp profile default
!
!
dial-peer voice 5501 voip
 destination-pattern ^5101$
 session protocol sipv2
 session target ipv4:172.16.162.3
 dtmf-relay sip-notify
 codec g711ulaw
 no vad
!
!
!
!
gatekeeper
 shutdown
!
!
call-manager-fallback
 secondary-dialtone 0
 max-conferences 8 gain -6
 transfer-system full-consult
 ip source-address 172.16.160.2 port 2000
 max-ephones 200
!
!
banner exec ^C
% Password expiration warning.
-----------------------------------------------------------------------

-----------------------------------------------------------------------

^C
banner login ^C
-----------------------------------------------------------------------
!
line con 0
 login local
line aux 0
line 2
 no activation-character
 no exec
 transport preferred none
 transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
 stopbits 1
line 323
 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
 privilege level 15
 password 7 1336121B1925
 login local
 transport input telnet ssh
line vty 5 15
 privilege level 15
 password 7 1336121B1925
 login local
 transport input telnet ssh
!
scheduler allocate 20000 1000
ntp server 172.16.8.108
ntp server 172.16.8.101
!
end

CKRGSRST01#

5 Replies 5

Chris Deren
Hall of Fame
Hall of Fame

Perhaps this is a partial PRI circuit and not full PRI?

Hi Chris, Thanks for reply The telco confirmed the E1 is full PRI. When I input command show isdn service : all ISDN channel is in service. I just curious what could make the router response with different as negotiated with telco. Is there something I need to double check in the router / CUCM ? Thanks.

This command has never been very reliable, so I would not look at it.

Since this is MGCP GW are all ports configured in CUCM and showing registered? 

I Checked from IOS since I cannot found an endpoint registration for digital/ E1.

Following is output from IOS, showing all endpoint ports are registered, and from CUCM shows registered as well (attached)

CKRGSRST01#show mgcp endpoint

Interface E1 0/0/0

             ENDPOINT-NAME    V-PORT     SIG-TYPE   ADMIN
  S0/SU0/ds1-0/1@CKRGSRST01  0/0/0:15        none   up
  S0/SU0/ds1-0/2@CKRGSRST01  0/0/0:15        none   up
  S0/SU0/ds1-0/3@CKRGSRST01  0/0/0:15        none   up
  S0/SU0/ds1-0/4@CKRGSRST01  0/0/0:15        none   up
  S0/SU0/ds1-0/5@CKRGSRST01  0/0/0:15        none   up
  S0/SU0/ds1-0/6@CKRGSRST01  0/0/0:15        none   up
  S0/SU0/ds1-0/7@CKRGSRST01  0/0/0:15        none   up
  S0/SU0/ds1-0/8@CKRGSRST01  0/0/0:15        none   up
  S0/SU0/ds1-0/9@CKRGSRST01  0/0/0:15        none   up
  S0/SU0/ds1-0/10@CKRGSRST0  0/0/0:15        none   up
  S0/SU0/ds1-0/11@CKRGSRST0  0/0/0:15        none   up
  S0/SU0/ds1-0/12@CKRGSRST0  0/0/0:15        none   up
  S0/SU0/ds1-0/13@CKRGSRST0  0/0/0:15        none   up
  S0/SU0/ds1-0/14@CKRGSRST0  0/0/0:15        none   up
  S0/SU0/ds1-0/15@CKRGSRST0  0/0/0:15        none   up
  S0/SU0/ds1-0/17@CKRGSRST0  0/0/0:15        none   up
  S0/SU0/ds1-0/18@CKRGSRST0  0/0/0:15        none   up
  S0/SU0/ds1-0/19@CKRGSRST0  0/0/0:15        none   up
  S0/SU0/ds1-0/20@CKRGSRST0  0/0/0:15        none   up
  S0/SU0/ds1-0/21@CKRGSRST0  0/0/0:15        none   up
  S0/SU0/ds1-0/22@CKRGSRST0  0/0/0:15        none   up
  S0/SU0/ds1-0/23@CKRGSRST0  0/0/0:15        none   up
  S0/SU0/ds1-0/24@CKRGSRST0  0/0/0:15        none   up
  S0/SU0/ds1-0/25@CKRGSRST0  0/0/0:15        none   up
  S0/SU0/ds1-0/26@CKRGSRST0  0/0/0:15        none   up
  S0/SU0/ds1-0/27@CKRGSRST0  0/0/0:15        none   up
  S0/SU0/ds1-0/28@CKRGSRST0  0/0/0:15        none   up
  S0/SU0/ds1-0/29@CKRGSRST0  0/0/0:15        none   up
  S0/SU0/ds1-0/30@CKRGSRST0  0/0/0:15        none   up
  S0/SU0/ds1-0/31@CKRGSRST0  0/0/0:15        none   up


Interface E1 0/0/1

             ENDPOINT-NAME    V-PORT     SIG-TYPE   ADMIN


CKRGSRST01#show isdn ser
CKRGSRST01#show isdn service
PRI Channel Statistics:

%Q.931 is backhauled to CCM MANAGER 0x0003 on DSL 0. Layer 3 output may not appl
y

ISDN Se0/0/0:15, Channel [1-31]
  Configured Isdn Interface (dsl) 0
   Channel State (0=Idle 1=Proposed 2=Busy 3=Reserved 4=Restart 5=Maint_Pend)
    Channel :  1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
    State   :  0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
   Service State (0=Inservice 1=Maint 2=Outofservice 8=MaintPend 9=OOSPend)
    Channel :  1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
    State   :  0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
CKRGSRST01#

to verify the connection between you cucm and your gatway MGCP you but :

>show mgcp connection 

>can you try to delect the configuration of MGCP from the gatway .

and re but them .

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: