I've run into the following issue:
1) Calls to and from servers in the internet all work flawlessly
2) Calls via a Freeswitch server (which is inside our LAN) to a user which is also in our LAN work.
3) Calls via a Freeswitch server (which is inside our LAN) from a user which is also in our LAN do not work.
My IP address is 10.0.2.46, the server IP address is 10.0.3.1, the netmask is /16, the default gateway is 10.0.1.2, everything is reachable directly, there's no weird routing and such.
I also discovered that when Telephone registers at the SIP server, it sends this: '"Ilya Semenov" <sip:10...@10.211.55.2:52402;ob>' as contact name.
I do have a network interface on my Mac with that IP address 10.211.55.2 (I think it comes with Parallels Desktop) but it's a different network so no surprise that the calls don't reach me.
Obviously, Telephone works incorrectly here, it should have picked the proper interface automatically based on the destination IP address and the system routing rules.
So question: is there a way to tell Telephone which IP address (interface) to use when it registers at a SIP server? Or any other advice?