07-26-2010 05:35 AM - edited 03-15-2019 11:54 PM
I've got a fairly simple lab setup: CCM 4.3 with two phones. The phones are 5555 and 6666.
I've also got a 2651XM gateway running 12.3(14). All communication between CCM and the gateway is H323.
I'm trying to place a call from phone 5555 to the gateway by dialing 3333, have the gateway change the number to 6666, then send the call back to CCM and ring phone 6666. (My long term goal is to bounce the call to multiple gateways over different interfaces, but I'm trying to do baby-steps here, and this seemed like the simplest first step.)
According to my debug, the call is making it to the gateway and the number gets changed to 6666, but then dies with a "no route to destination" reason.
(When the number gets changed via "num-exp", is that only used to determine the dial-peer? i.e., Is the original phone number of 3333 still being sent back to CCM? If so, that would explain why the call dies.)
Here's the pertinant part of the config for the gateway:
!
voice class h323 1
h225 timeout tcp establish 14
!
dial-peer cor custom
!
!
dial-peer voice 1 voip
preference 5
destination-pattern 6666
voice-class h323 1
session target ipv4:192.168.10.10
dtmf-relay h245-alphanumeric
codec g711ulaw
!
num-exp 3333 6666
gateway
timer receive-rtp 1200
!
I'll be happy to post any debug output if needed.
I feel like I'm just missing something simple here.
Any help is greatly appreciated.
Thanks!
Steve
Solved! Go to Solution.
07-26-2010 05:54 AM
Hi,
Call on the h323 GW can not have 2 Voip call legs unless yo enabled IP2IP GW
try this command for it
voice service voip
allow-connections h323 to h323
Hope it help
Ahmed
07-26-2010 05:54 AM
Hi,
Call on the h323 GW can not have 2 Voip call legs unless yo enabled IP2IP GW
try this command for it
voice service voip
allow-connections h323 to h323
Hope it help
Ahmed
07-26-2010 06:38 AM
Thanks Ahmed!
That worked; the destination phone rings.
But now I have a new problem: When I answer the destination phone (6666) the originating phone (5555) doesn't "see" the connection. i.e. it keeps playing the ringing sound. However, when I hang up the destination phone (6666), the originating phone (5555) does hang up.
Also, on the originating phone, I dial 3333, but when it starts ringing, the display says "To 6666", which I assume it gets from the H323 messages.
Maybe the Gateway is sending back a connect message from 6666, but it's expecting something from 3333?
Do I need something in the config to "convert the number back" or anything like that?
Also, I changed my dial-peer to make sure the gateway could see that 5555 mapped back to the CCM but that didn't change anything.
dial-peer voice 1 voip
preference 5
destination-pattern [5-6]...
voice-class h323 1
session target ipv4:192.168.10.10
dtmf-relay h245-alphanumeric
Again, thanks for all your help!
Steve
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide