The structure is very simple: There is one originating router (as5300 let say A) and
one terminating router (as5300 let say B) with 1 pri line. I want to route some calls whose have specific destination pattern from B to another router (let say C) to be terminated.
I have used "dial-peer voice xx voip" with "session target ipv4:x.x.x.x. on B.
But it failed. When I debug it on B ,it gives " can not gateway with C".
Do you think the idea is wrong for this structure . or how can I do this ( PS :I can administrate only termination routers )
thanks in advance..
Need to see the running config on B which receives the call on one of the bchannel of PRI line and trying to send it to C over Voip. Also include the debug that you are getting with it.
First of all thank you for your assistance
Router B is not making call origination, it is only termination router.
Router A (I do not manage router A), is sending voip calls to B and I want to route some calls which has specific destination pattern from B to C. The configuration for B is like this:
! the dial-peer 101 and 99 below is working properly
dial-peer voice 101 pots
dial-peer voice 99 voip
destination pattern 3054T
session target ipv4:10.2.2.2 (the ip address of router A)
! I want to route it to router C with the lines below
dial-peer voice 102 voip
session target ipv4:10.10.1.124 (this is the ip address of router C)
May be I have to use gatekeeper for this project but i am not sure if it is necessary.
Not sure if this would help you but this config for H323 works well
on my config..
description *** VOIP Loopback ***
ip address 10.12.32.14 255.255.255.255
h323-gateway voip interface
h323-gateway voip bind srcaddr 10.12.32.14
So B will receive Voip call from A and will pass Voip call to C based on destination pattern right? No..its not supprted yet. You are looking for some sort of Tendom VoIP calling or IP-IP gateway in cisco's world. You want to do switching between two Voip call legs.
That IP-IP gateway is in the testing now will be supprted in next releases within 2-3 months.
Thank you tepatel
So I think I should use gatekeeper for routing calls according to dialled numbers to be terminated on the desired gateway.
Just change the network setup accordingly. Again the rule is "Voip call to a gateway needs to be forwarded to POTS dial-peer".
One more question from this scenerio;
if I want to block those numbers on B instead of routing them to C ,
what should be the configuration look like?
thanks in advance...
Those calls will be blocked on B as B will not be able to switch VoIP calls from A to C. So no need to worry about.