I have a customer with on site PBX and all the phones connecting from single subnet. When in Invite is sent to an endpoint the From header contains the wrong IP address:
INVITE sip:107@192.168.0.118:32768;line=lh1e00ue SIP/2.0
Via: SIP/2.0/UDP 192.168.0.100:5060;rport;branch=z9hG4bKPj4a9394cc-d0f5-4408-92cc-2707d7138485
From: "MyName Here" <sip:2564286000@127.0.0.2>;tag=40846648-dd2c-45d0-b9d8-ad0009991d1c
To: <sip:107@192.168.0.118;line=lh1e00ue>
Contact: <sip:asterisk@192.168.0.100:5060>
I have some very old phones that when they receive a missed call, when they redial the missed call number, it trying to call the From Header information exp: 2564286000@127.0.0.2
The PBX server then never receives the Invite back because the phone is trying to send it to 127.0.0.2 and not 192.168.0.100
Where in the Asterisk configuration can I force the From Header to use the correct IP address?