Hi Ted,
What you have to do is to added in (uri==myself) section, before lookup(location) the GW diversion. Something like:
if (uri=~"uri_GW_like") { t_relay_to_udp("GW_IP","GW_PORT"); break; }
Best regards, Marian Dumitru
Trung Nguyen wrote:
Hi Serusers, I have been playing around this logic for some time now and it's giving me a bit of headache. Any help will be very appreciated. Here's what I got. I use the default setting for rtpproxy and tested all the nat scenarios from PC-PC work great. Now I want to have the PC to call out to PSTN and only allow registered client to be able to make call to pstn gateway and at the same time to go thru rtpproxy. My gateway ip address is 64.200.219.134 port 5060, it's a cisco as5350. Below is my configuration, where should I put the setting and any hint or example will be very appreciated.