I've never tried it but Linux routing should be able to help you with this.
Create a new profile with the different address. Make sure the aliases on your network interface have a /32 netmask. Create a static route to that peer using the right outbound interface/address. Anything more than this will require iptables/iproute ip policy routing foo. Hopefully you can avoid all of that... -- Kristian Kielhofner http://blog.krisk.org -original message- Subject: [Freeswitch-users] Setting External IP From: "Nik Middleton" <[email protected]> Date: 03/06/2009 6:05 AM Hi Guys, In External.xml in sip profiles I have <param name="ext-rtp-ip" value="$${external_rtp_ip}"/> <param name="ext-sip-ip" value="$${external_sip_ip}"/> Can I override these for a given gateway profile? I have one gateway that's expecting a local routed IP address due to the way that it's routed, but the other one expects the public IP, hence the need to make it gateway specific Regards, _______________________________________________ Freeswitch-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _______________________________________________ Freeswitch-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
