I'm trying to put to work a small voip setup compossed of CCM 5.0 server and a 2821 with a VIC2-2BRI card as TE (user side) and IOS 12.4(10) but its's not working when it comes to call or receive calls from the PSTN/PBX. It seems that the Route Pattern configured in Call Manager doesn't find the gateway and
viceversa. Furthermore I'm not sure whether dial peers are working. Im' using H.323 although previously I tried MGCP also.
When I call from the IP phone no call arrives to the gateway and when I call from the pbx the call does reach the gateway but not the ip phone. The gateway looks unregister in Call manager but i think this is normal in H.323, not sure.
I attach the diagram of my setup. This is the relevan part of my configuration.
Dial-peer voice 1 pots
incoming called-number 6....
dial-peer voice 2 voip
session target ipv4:10.10.5.1
dial-peer voice 3 pots
ip address 10.10.5.2 255.255.255.0
h323-gateway voip interface
h323-gateway voip bind srcaddr 10.10.5.2
no ip address
isdn switch-type basic-net3
isdn protocol-emulate user
isdn layer1-emulate user
isdn incoming-voice voice