cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1071
Views
0
Helpful
1
Replies

CISCO CUCM 8.5 and SIP voice gateway outgoing calls

jefferson_best
Level 1
Level 1

Hi All

My architecture is: (SCCP or SIP) IP Phone -> CUCM8.5 -> SIP Trunk -> Cisco 2901 (E1 Card) -> PSTN.

-> incoming calls are OK

-> outgoing calls do not work:

When I make a call to my mobile phone this one sounds good but I do not listen to any dial tone on the phone but when I pick up the call the IP

station internally behaves as it was still trying to reach me.

Below my configuration.

dial-peer voice 100 pots
description # Appel entrant sur la E1 1#
incoming called-number .
direct-inward-dial
port 0/3/0:15

!

dial-peer voice 103 pots
description # Appel entrant sur la E1 2#
incoming called-number .
direct-inward-dial
port 0/3/1:15

!
dial-peer voice 98 voip
description #incoming call from cucm
session protocol sipv2
incoming called-number .
dtmf-relay rtp-nte
codec g711ulaw
no vad

!

dial-peer voice 101 pots
description appel sortant sur la E1 1
destination-pattern .T
direct-inward-dial
port 0/3/0:15

!
dial-peer voice 102 pots
description appels sortant sur ma E1 2
preference 1
destination-pattern .T
port 0/3/1:15

!
dial-peer voice 99 voip
description #appel vers le CUCM
destination-pattern 3.......
session protocol sipv2
session target ipv4:172.16.5.1
incoming called-number .
dtmf-relay rtp-nte
codec g711ulaw
no vad

I really need help because it's my first time to integrate a SIP gateway with the CUCM.

Regards

1 Reply 1

Anthony Holloway
Cisco Employee
Cisco Employee
Remove incoming called-number . from dial-peer 99, as you don't need it and it's already on dial-peer 98, where it belongs.

The errors do not look like a problem with SIP, instead it looks like a problem with your E1. You might have the wrong switch type on your Serial interface, or the provider is expecting different digits other than 697556262. Either more or less digits. Can you confirm your dialing patterns for your region?

243664: Jul 18 13:23:13.322: ISDN Se0/3/0:15 Q931: RX <- SETUP_ACK pd = 8 callref = 0x8164
Channel ID i = 0xA9838A
Exclusive, Channel 10
243665: Jul 18 13:23:13.322: ISDN Se0/3/0:15 **ERROR**: Ux_BadMsg: Invalid Message for call state 1, call id 0x80E7, call ref 0x164, event 0xD
243666: Jul 18 13:23:13.322: ISDN Se0/3/0:15 Q931: TX -> STATUS pd = 8 callref = 0x0164
Cause i = 0xC0E50D - Message not compatible with call state
Call State i = 0x01