cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
983
Views
5
Helpful
4
Replies

Outgoing Call through MGCP is not working

Driss BENATTOU
Level 4
Level 4

Hello,

I have a CUCM 9.1.1 and Cisco 3925 VGW. I configured 3 E1 using MGCP. When I did an outgoing call, the call is going through the second E1 port into the route Group. I suspected an issue on Telco side. When I configured H323, the first E1 port into the route group which is IP address of Voice Gateway is reached and the call went through the right TELCO.

 

Below; the Debug isdn q931 when using MGCP :

 

VG2MGCP-NU#
*Sep 23 17:10:38.355: ISDN Se0/0/0:15 Q931: TX -> SETUP pd = 8  callref = 0x000D
    Sending Complete
    Bearer Capability i = 0x8090A2
        Standard = CCITT
        Transfer Capability = Speech  
        Transfer Mode = Circuit
        Transfer Rate = 64 kbit/s
    Channel ID i = 0xA98381
        Exclusive, Channel 1
    Calling Party Number i = 0x0081, '1930'
        Plan:Unknown, Type:Unknown
    Called Party Number i = 0x80, '0664727989'
        Plan:Unknown, Type:Unknown
*Sep 23 17:10:38.411: ISDN Se0/0/0:15 Q931: RX <- RELEASE_COMP pd = 8  callref = 0x800D
    Cause i = 0x829F - Normal, unspecified

Also, You will find the prompt of show run command :

 

Current configuration : 12029 bytes
!
! Last configuration change at 16:58:09 UTC Tue Sep 23 2014
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname VG2MGCP-NU
!
boot-start-marker
boot-end-marker
!
!
card type e1 0 0
! card type command needed for slot/vwic-slot 0/1
card type e1 0 2
logging buffered 51200 warnings
enable secret 4 X4ZqtPJ///KxuEWxHSsJrv3beQVnz2ise/xj8fF6eFU
!
no aaa new-model
no network-clock-participate slot 1
network-clock-participate wic 0
network-clock-participate wic 2
!
ip cef
!
!
!
!
!
!
no ip domain lookup
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-net5
!
!
trunk group GSM_INTL_CALLS
 max-calls voice 40
 hunt-scheme round-robin
!
!
!
voice-card 0
!
voice-card 1
!
!
voice call send-alert
voice call convert-discpi-to-prog
voice rtp send-recv
!
voice service voip
 callmonitor
 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
  call preserve
!
voice class codec 1
 codec preference 1 g711ulaw
 codec preference 2 g711alaw
 codec preference 3 g729r8
!
voice class h323 1
  h225 timeout tcp establish 3
!
!
!
!
voice translation-rule 1
 rule 1 /^3\(...\)/ /3\1/
 rule 2 /^1.../ /\0/
!
voice translation-rule 2
 rule 1 /^890\(....\)/ /\1/
 rule 2 /^8903\(...\)/ /3\1/
!
voice translation-rule 3
 rule 1 /^890\(....\)/ /\1/
!
voice translation-rule 4
 rule 1 /^1.../ /\0/
!
voice translation-rule 5
 rule 1 /0661087907/ /\1/
!
!
voice translation-profile 7to4
 translate called 3
!
voice translation-profile From-PABX
 translate calling 2
!
voice translation-profile FromIAM
 translate called 4
!
voice translation-profile Incoming
 translate called 1
!
voice translation-profile TESTINCOM
 translate called 5
!
!
!
license udi pid C3900-SPE100/K9 sn FOC17442CB6
hw-module pvdm 0/0
!
hw-module pvdm 0/1
!
hw-module sm 1
!
!
!
!
redundancy
!
!
controller E1 0/0/0
 pri-group timeslots 1-31 service mgcp
 description "CONNECTED TO MEDITEL"
!
controller E1 0/0/1
 pri-group timeslots 1-31 service mgcp
 description "CONNECTED TO MEDITEL"
!
controller E1 0/0/2
 pri-group timeslots 1-31
 description "CONNECTED TO IAM"
!
controller E1 0/0/3
 pri-group timeslots 1-31
 description "CONNECTED TO IAM"      
!
controller E1 0/2/0
 framing NO-CRC4
 pri-group timeslots 1-31
 description "CONNECTED TO INTERCO"
!
controller E1 0/2/1
 framing NO-CRC4
 pri-group timeslots 1-31
 description "CONNECTED TO INTERCO"
!
controller E1 0/2/2
 framing NO-CRC4
 pri-group timeslots 1-31
 description "CONNECTED TO INTERCO"
!
controller E1 0/2/3
!
!
!
!
!
interface Embedded-Service-Engine0/0
 no ip address
 shutdown
!
interface GigabitEthernet0/0
 description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$
 ip address 22.74.251.18 255.255.255.240
 duplex auto
 speed auto
 h323-gateway voip interface
!
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:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn incoming-voice voice
 isdn bind-l3 ccm-manager
 no cdp enable
!
interface Serial0/0/1:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn incoming-voice voice
 isdn bind-l3 ccm-manager
 no cdp enable
!
interface Serial0/0/2:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn incoming-voice voice
 no cdp enable
!
interface Serial0/0/3:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn incoming-voice voice
 no cdp enable
!
interface Serial0/2/0:15
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-qsig
 isdn timer T310 120000
 isdn overlap-receiving T302 2000
 isdn protocol-emulate network
 isdn incoming-voice voice
 isdn negotiate-bchan
 isdn sending-complete
 no cdp enable
!
interface Serial0/2/1:15
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-qsig
 isdn timer T310 120000
 isdn overlap-receiving T302 2000
 isdn protocol-emulate network
 isdn incoming-voice voice
 isdn supp-service name calling profile Network-Extension operation-value-tag local
 isdn negotiate-bchan
 isdn sending-complete
 no cdp enable
!
interface Serial0/2/2:15
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-qsig
 isdn timer T310 120000
 isdn overlap-receiving T302 2000
 isdn protocol-emulate network
 isdn incoming-voice voice
 isdn supp-service name calling profile Network-Extension operation-value-tag local
 isdn negotiate-bchan
 isdn sending-complete
 no cdp enable
!
interface BRI1/0/0
 no ip address
 isdn switch-type basic-net3
 isdn point-to-point-setup
!
interface BRI1/0/1
 no ip address
 isdn switch-type basic-net3
 isdn point-to-point-setup
!
interface BRI1/1/0
 no ip address
 isdn switch-type basic-net3
 isdn point-to-point-setup
!
interface BRI1/1/1
 no ip address
 isdn switch-type basic-net3
 isdn point-to-point-setup
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 22.74.251.30
!
!
nls resp-timeout 1
cpd cr-id 1
!
!
control-plane
!
!
voice-port 0/0/0:15
!
voice-port 0/2/0:15
 translation-profile incoming Incoming
 bearer-cap Speech
!
voice-port 0/0/1:15
!
voice-port 0/2/1:15
 translation-profile incoming Incoming
 bearer-cap Speech
!
voice-port 0/0/2:15
 translation-profile incoming Incoming
!
voice-port 0/2/2:15
 translation-profile incoming Incoming
 bearer-cap Speech
!
voice-port 0/3/0
 trunk-group GSM_INTL_CALLS
 supervisory disconnect dualtone mid-call
 cptone FR
 timeouts call-disconnect 5
 timeouts ringing 5
 timeouts wait-release 5
 timing hookflash-out 50
 timing guard-out 1000
 impedance complex2
!
voice-port 0/3/1
 trunk-group GSM_INTL_CALLS
 supervisory disconnect dualtone mid-call
 cptone FR
 timeouts call-disconnect 5
 timeouts ringing 5
 timeouts wait-release 5
 timing hookflash-out 50
 timing guard-out 1000
 impedance complex2
!
voice-port 0/3/2
 trunk-group GSM_INTL_CALLS
 supervisory disconnect dualtone mid-call
 cptone FR
 timeouts call-disconnect 5
 timeouts ringing 5
 timeouts wait-release 5
 timing hookflash-out 50
 timing guard-out 1000
 impedance complex2
!
voice-port 0/3/3
 trunk-group GSM_INTL_CALLS
 supervisory disconnect dualtone mid-call
 cptone FR
 timeouts call-disconnect 5
 timeouts ringing 5
 timeouts wait-release 5
 timing hookflash-out 50
 timing guard-out 1000
 impedance complex2
!
voice-port 0/0/3:15
 translation-profile incoming Incoming
!
voice-port 1/0/0
!
voice-port 1/0/1
!
voice-port 1/1/0
!
voice-port 1/1/1
 !
 !
 !
!
ccm-manager redundant-host 22.74.251.1
ccm-manager mgcp
ccm-manager config server 22.74.251.2 22.74.252.1
!
mgcp
mgcp call-agent 22.74.251.2 service-type mgcp version 0.1
mgcp dtmf-relay voip codec all mode out-of-band
mgcp bind control source-interface GigabitEthernet0/0
mgcp bind media source-interface GigabitEthernet0/0
!
mgcp profile default
!
!
dial-peer voice 999010 pots
 service mgcpapp
 port 0/3/0
!
dial-peer voice 999011 pots
 service mgcpapp
 port 0/3/1
!
dial-peer voice 999012 pots
 service mgcpapp
 port 0/3/2
!
dial-peer voice 999013 pots
 service mgcpapp
 port 0/3/3
!
dial-peer voice 3 voip
 tone ringback alert-no-PI
 destination-pattern 3...$
 session target ipv4:22.74.252.1
 voice-class codec 1  
 no vad
!
dial-peer voice 5 voip
 tone ringback alert-no-PI
 translation-profile outgoing 7to4
 destination-pattern 1...$
 session target ipv4:22.74.251.2
 incoming called-number .
 voice-class codec 1  
 no vad
!
dial-peer voice 6 voip
 tone ringback alert-no-PI
 translation-profile outgoing 7to4
 preference 1
 destination-pattern 1...$
 session target ipv4:22.74.252.1
 incoming called-number .
 voice-class codec 1  
 no vad
!
dial-peer voice 4 voip
 tone ringback alert-no-PI
 preference 1
 destination-pattern 3...$
 session target ipv4:22.74.251.2
!
dial-peer voice 1 voip
 tone ringback alert-no-PI
 shutdown
 destination-pattern .T
 session target ipv4:22.74.251.2
 voice-class codec 1  
 dtmf-relay h245-alphanumeric
 no vad
!
dial-peer voice 2 voip
 tone ringback alert-no-PI
 preference 1
 shutdown
 destination-pattern .T
 session target ipv4:22.74.252.1
 dtmf-relay h245-alphanumeric
 no vad
!
dial-peer voice 7 voip
 tone ringback alert-no-PI
 shutdown
 incoming called-number .
 voice-class codec 1  
!
dial-peer voice 8 pots
 shutdown
 destination-pattern 1...$
 port 0/2/0:15
 forward-digits all
!
dial-peer voice 9 pots
 preference 1
 shutdown
 destination-pattern 1...$
 port 0/2/1:15
 forward-digits all
!
dial-peer voice 10 pots
 preference 2
 shutdown
 destination-pattern 1...$
 port 0/2/2:15
 forward-digits all
!
dial-peer voice 11 pots
 destination-pattern 7T
 port 0/2/0:15
 forward-digits all
!
dial-peer voice 12 pots
 preference 1
 destination-pattern 7T
 port 0/2/1:15
 forward-digits all
!
dial-peer voice 13 pots
 preference 2
 destination-pattern 7T
 port 0/2/2:15
 forward-digits all
!
dial-peer voice 14 voip
 shutdown
 destination-pattern 1616
 session target ipv4:22.74.251.2
 voice-class codec 1  
 no vad
!
dial-peer voice 15 voip
 shutdown
!
dial-peer voice 100 pots
 destination-pattern 0T
 direct-inward-dial
 port 0/0/2:15
 forward-digits all
!
dial-peer voice 101 pots
 preference 1
 destination-pattern 0T
 direct-inward-dial
 port 0/0/3:15
 forward-digits all
!
dial-peer voice 1643 pots
 destination-pattern 1643$
 port 0/2/0:15
 forward-digits all
!
dial-peer voice 9999 voip
 tone ringback alert-no-PI
 incoming called-number .
 voice-class codec 1  
!
dial-peer voice 555 pots
 destination-pattern 5T
 direct-inward-dial
 port 0/2/2:15
!
!
gateway
 timer receive-rtp 1200
!
!
!
gatekeeper
 shutdown

 

 

 

Any Ideas Please ?

4 Replies 4

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

From the logs, it shows that the telco is sending the disconnect. Have you spoken to them?

Please rate all useful posts

The same port works when the protocol is H.323 instead of MGCP.
 

I  understand that but the Telco is still disconnecting the call. You will need to compare the logs between the h323 and mgcp to see the difference in what you are sending to your telco

Please rate all useful posts

Good info Ayodeji (+5)

I would also ask the carrier what TON, they expect.

Regards,

Yosh

HTH Regards, Yosh