cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1849
Views
0
Helpful
17
Replies

Call not routed from CISCO VoiceGW to CISCO CUCM

yousefbustami
Level 1
Level 1

Hello,

I am facing a problem in routing calls from voicegw to CUCM,

the following configurations was implemented on voicegw:

dial-peer voice 787499872 voip

  preference 1

destination-pattern 0787499872

voice-class codec 99

session protocol sipv2

session target ipv4:192.168.70.21

session transport udp

dtmf-relay rtp-nte h245-signal h245-alphanumeric

no vad

dial-peer voice 78749987 voip

  preference 1

destination-pattern 0787499872

voice-class codec 99

session protocol sipv2

session target ipv4:192.168.70.22

session transport udp

dtmf-relay rtp-nte h245-signal h245-alphanumeric

no vad

on CUCM side, I have added the number 0787499872 as a line in extension.

is there anything wrong or missing in my configurations?

17 Replies 17

Senthil Kumar Sankar
Cisco Employee
Cisco Employee

Hi

Could you please brief, what kind of conectivity is there between CUCM and VOICEGW ? Is that MGCP or H323 ?

If it is MGCP, you dont need a dial-peer, If it is H323 you need a dial-peer pointing to CUCM IP address.

Regards

Senthil

Hello Sankar,

It is H323 not MGCP ..

Hi

Try to add this command in your Voice Gateway and try

dial-peer voice 787499872 voip
destination-pattern 0787499872
  session target ipv4: X.X.X.X (CUCM IP)

But I am not sure why you use "session protocol sipv2" in dial-peer.

Regards

Senthil

Hi,

I tied this command ,,, same thing ,,,.

when I call the number .. I hear like fax (or dial up modem) sound ... I think call is not routed to call manager

Hi

Did you check whether the calls picks the correct Dial-peer.

Please use the below command to check whether is it picking exact dial-peer

show dialplan number 0787499872

If possible attach the Gateway config.

Regards

Senthil

Hi,

I tried the command, the attached file (0787499872.txt) shows the output, also the file (VGW Conf.txt) shows the voicegw config.

Hi

The file you attached for the command show dialplan number 0787499872,  I could see four dial-peers are matching and they are

tag = 78749987, destination-pattern = `0787499872'
tag = 787499872, destination-pattern = `0787499872'
tag = 70, destination-pattern = `07........'
tag = 9100, destination-pattern = `[0-5]...'
tag = 9101, destination-pattern = `[0-5]...'

Then I believe the call you have dialled will pick the dial-peer 9100 or 9101 with taking the digits 0787

For more information about the overlapping dial-peers see the section "Variable-Length Matching" section in the below link

http://www.cisco.com/en/US/docs/ios/12_3/vvf_c/dial_peer/dp_confg.html

Regards

Senthil.

oops, the output of your show dialplan shows two dial-peers 787499872 & 7874998 with the same destination pattern and preference level to the pub and sub (i suppose), change the preference of one of these dial-peers to 1, other than that it should go through....

besides the partitions i mentioned earlier do check the "Directory Number" option under the Call Routing Menu and see if you have multiple entries for the same number 0787499872 with different partitions assigned, it stays on sometimes even though you may have deleted an earlier assignment to a particular partition, looking up the number "0787499872" in the "Route Plan Report" under the Call Routing Menu again would help.....

Hi Yousef,

if you have "session protocol sipv2" configured, you have a SIP dial-peer, not H.323.

Whatever you have here - it must match what you configured on the CUCM (if you have H323 GW in the CUCM, delete the "session protocol sipv2".

Cheers

Martin

nascoentr
Level 1
Level 1

What behaviour do you notice when you make the call, fast busy or a message plays or etc......

What partitions are your ip phones in?

Hello nascoentr,

I think the call does not reach the call manager ... when I call the number ,,, I hear like a fax or modem sound ... no prompt from call manager at all ..

Hi Yousef

As mentioned earlier I believe the call you have dialled will pick the dial-peer 9100 or 9101 with taking the digits 0787


Use the debug command debug isdn q931 and then test the calls you can find the Called Number and Calling Number,

Ther you can identify whether the called number is there completely as you dialled or just 0787.

Regards

Senthil

Hi Senthil,

below is the output of the debugging ...

Mar 13 08:38:22.250: ISDN Se3/0:15 SC Q931: RX <- SETUP pd = 8  callref = 0x4A62

Bearer Capability i = 0x8090A3

Standard = CCITT

Transfer Capability = Speech 

Transfer Mode = Circuit

Transfer Rate = 64 kbit/s

Channel ID i = 0xE9828394

Exclusive, Interface 2, Channel 20

Facility i = 0x9E8100036774640000002E49414D2C0D0A4743492C3633366365663131346531363131653061306333303030336261393

4353836380D0A0D0A

Calling Party Number i = 0x2183, '788002357'

Plan:ISDN, Type:National

Called Party Number i = 0xC1, '787499872'

Plan:ISDN, Type:Subscriber(local)

Low Layer Compat i = 0x8090A3

Mar 13 08:38:22.254: ISDN Se3/0:15 SC Q931: TX -> CALL_PROC pd = 8  callref = 0xCA62

Channel ID i = 0xE9828394

Exclusive, Interface 2, Channel 20

I changed the extension number from the line configuration in the CM ( omitted the 0 ), but the samething

Hi Yousef

Ok as you told you have Omitted the '0' in the CM.

Have you removed the '0' in the dial-peer's destination pattern. If so check how many dial-peers matching and using the command

show dialplan number 787499872

If you dont find any dial-peer matching, Try to add this dial peer in your router.

dial-peer voice 787499872 voip
destination-pattern 787499872
  session target ipv4: X.X.X.X (CUCM IP)


Regards

Senthil

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: