Please see the redacted version of the invite. The extension being dialled is 1008 and but FS is sending the invite to the internal IP of the extension --- 192.168.4.10 which obviously mean the call doesn't connect. I need to force FS to use the public iP of the client no the LAN IP.
INVITE sip:1008@192.168.4.10:50260;app-id=xxxx.co.uk.voip.prod;pn-tok=EXXXXXX;pn-type=apple;pn-prid=xxxxxxxx
C3XXA84XXXXXX36CF79:voip;pn-provider=apns;pn-param=XXXX.uk.voip;pn-silent=1;pn-timeout=0;pn-msg-str=IM_MSG;pn-call-str=IC_MSG;pn-groupchat-str=GC_MSG;pn-c
l-snd=notes_of_the_optimistic.caf;pn-msg-snd=msg.caf;transport=tcp SIP/2.0
Via: SIP/2.0/TCP XXXXXX216;rport;branch=XXXX2Qc
Route: <sip:1008@XXXXXXXXX.7:50260>;app-id=XXXXX.uk.voip.XX;pn-tok=XXXXXXXXX5B632C3C636A8XXXXXXX;pn-type=apple;pn-prid=XXXXXXX6Cssss
6XX6A8XXXXX:voip;pn-provider=apns;pn-param=AXXX.XXXXXXo.uk.voip;pn-silent=1;pn-timeout=0;pn-msg-str=IM_MSG;pn-call-str=IC_MSG;pn-groupchat-str=GC_MSG;p
call-snd=notes_of_the_optimistic.caf;pn-msg-snd=msg.caf;transport=tcp
Max-Forwards: 69
From: "1001" <sip:
1001@XXXXXXXXX.net>;tag=j5gXg7ZrZ6Z6H
To: <sip:1008@192.168.4.10:50260;app-id=XXXXXXXco.uk.voip.prod;pn-tok=XXXXXXXXXXXXXXF79;pn-type=apple;pn-prid=XXXXXXX
CXXXXX0XXXXX9:voip;pn-provider=apns;pn-param=AXXXXXX.XXXX.uk.voip;pn-silent=1;pn-timeout=0;pn-msg-str=IM_MSG;pn-call-str=IC_MSG;pn-groupchat-str=GC_MSG;pn-cal
snd=notes_of_the_optimistic.caf;pn-msg-snd=msg.caf;transport=tcp>
Call-ID: XXXXXXX-923aXXXX
CSeq: 5XXXX6 INVITE
Contact: <sip:mod_sofia@XXXXXX:5060;transport=tcp>
User-Agent: FreeSWITCH
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Session-Expires: 120;refresher=uac
Min-SE: 120
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 524
X-FS-Support: update_display,send_info
Remote-Party-ID: "1001" <sip:1001@XXXXXXXXXnet>;party=calling;screen=yes;privacy=off