03-01-2011 02:17 AM - edited 03-16-2019 03:41 AM
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?
03-01-2011 03:14 AM
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
03-01-2011 04:33 AM
Hello Sankar,
It is H323 not MGCP ..
03-01-2011 04:43 AM
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
03-01-2011 09:00 AM
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
03-01-2011 11:29 AM
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
03-01-2011 11:51 PM
03-02-2011 01:47 AM
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.
03-02-2011 09:26 AM
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.....
03-08-2011 01:50 AM
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
03-02-2011 09:19 AM
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?
03-04-2011 12:29 PM
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 ..
03-04-2011 01:43 PM
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
03-13-2011 01:07 AM
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
03-14-2011 09:50 AM
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
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: