Bye is request it will go accordingly based on record route 

On Fri, 6 Apr 2018 at 5:45 PM, Suresh Talasaniya <suresh.talasaniya@gmail.com> wrote:
Hello All,

When I disconnect a call from callee side. FS Send the BYE to Kamailio PUBLIC IP instead of Private IP.
So Caller is not able to receive BYE.

# Call Flow:
Caller User -----> Kamailio(Bind on Private IP) ----> Freeswitch(Bind on Private IP) -------> Kamailio(Bind on Private IP) ----> Callee User

Kamailio Public IP: KAM_PUBLIC_IP:9000
Kamailio Private IP: 172.28.198.123:9000
FS Private IP: 172.28.198.128:5060

How to resolve the issue?

Please find attached SIP Message and Sample kamailio.cfg.

In advance Thank you.

--
Regards,
Suresh Talasaniya. 
Contact : +91-9724264776
Skype : suresh.talsaniya
--
With Regards,
Surendra Tiwari
VoIP Application Developer,
Plivo Comm
+91-9967609476