A profile has to listen on a specific IP address. If you want to listen on both IPs you'll need a profile on each one. It's probably easiest in your setup to put the IP addresses into the profile directly rather than setting them in vars.conf.xml or using $${local_ip4}. The profile will use the IP it is listening on for Via Contact etc. Set the sip-ip and rtp-ip parameters of the relevant sofia profile (in sip_profiles/) to the 107.1.nnn.n address. Since the server has the IP assigned directly (not unusual) you do -not- need to set ext-sip-ip and ext-rtp-ip since you're not behind NAT. On 17 April 2015 at 15:54, T Fred Farmington <tfred31@yahoo.com> wrote:
My FreeSWITCH server has 2 IP addresses An Internal 192.168,nnn.nn & an External 107,1.nnn.nn This is accomplished via network 'magic' (I'm not the network guy) using a single network card
And, in general, it works. I can Receive Outside calls from our SIP Trunk vendor But I can Not Send calls Out through the SIP Trunk vendor.
The calls are being blocked (403 'Forbidden") by the vendor due to the contents of our SIP Header packet.
Within the Via: part of the packet it shows: Via: SIP/2.0/UDP 192.168.nnn.nn;rport;branch=z9hG4bKQKa7126jtX4mm They need it to show the External IP here.
I have even tried setting sip_via_host = 107.1.nnn.nn but that did not change what it being sent.
How/Where can I get this to change?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org