Thanks, Issue is solved with double rr Arik
> On 16 Apr 2018, at 12:13, Federico Cabiddu <federico.cabi...@gmail.com> wrote: > > Hi, > your INVITE contains a single Record-Route, with Kamailio's Public IP > address. Freewitch in the following in0dialog messages, as the BYE is, will > have nowhere else to send them than the public IP. > If you want FS to send in-dialog messages to the private IP you have to have > two Record-Route headers: > http://www.kamailio.org/docs/modules/devel/modules/rr.html#rr.p.enable_double_rr > > <http://www.kamailio.org/docs/modules/devel/modules/rr.html#rr.p.enable_double_rr> > > Best regards, > > Federico > > On Mon, Apr 16, 2018 at 11:05 AM, arik halperin <arik.halpe...@s3code.com > <mailto:arik.halpe...@s3code.com>> wrote: > Hello, > > > > I have the following setup: > > > > Kamailio: > > Public Interface 70.36.25.65 > > Private Interface 10.168.10.227 > > > > Freeswitch: > > Private Interface 10.168.10.200 > > > > I’m routing calls from kamailio to freeswitch, but when I try to hang up the > call the freeswitch sends the BYE to the public address(70.36.25.65) and not > to the private address 10.168.10.227. 200OK and ACK work correctly. It’s only > the BYE that has an issue. > > > > > > Showing INVITES: > > > > Client Invite: > > > > T 82.80.164.63:53871 <http://82.80.164.63:53871/> -> 70.36.25.65:5099 > <http://70.36.25.65:5099/> [AP] > > INVITE sip:+972549428460@70.36.25.65:5099 > <http://sip:+972549428460@70.36.25.65:5099/> SIP/2.0. > > Via: SIP/2.0/TCP > 10.0.0.42:51619;branch=z9hG4bK-524287-1---52dcc73ec891de14;rport. > > Max-Forwards: 70. > > Contact: <sip:972545234585@82.80.164. > <mailto:sip%3A972545234585@82.80.164.>63:51620;rinstance=1f9d21b54116df89;transport=tcp>. > > To: <sip:+972549428460@70.36.25.65:5099 > <http://sip:+972549428460@70.36.25.65:5099/>>. > > From: "972545234585"<sip:972545234585@70.36.25.65:5099 > <http://sip:972545234585@70.36.25.65:5099/>>;tag=902c5325. > > > > Kamailio to FS: > > > > T 10.168.10.227:46506 <http://10.168.10.227:46506/> -> 10.168.10.200:5080 > <http://10.168.10.200:5080/> [AP] > > INVITE sip:+972549428460@70.36.25.65:5099 > <http://sip:+972549428460@70.36.25.65:5099/> SIP/2.0. > > Record-Route: <sip:70.36.25.65:5099 > <http://70.36.25.65:5099/>;transport=tcp;lr=on;ftag=902c5325;nat=yes>. > > Via: SIP/2.0/TCP > 70.36.25.65:5099;branch=z9hG4bK1117.1b91cfe0632bd6f036b308f85898e862.1;i=1. > > Via: SIP/2.0/TCP > 10.0.0.42:51619;received=82.80.164.63;branch=z9hG4bK-524287-1---9b6758521ff0f528;rport=53871. > > Max-Forwards: 69. > > > > > > > > > > > > > > > > > _______________________________________________ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org> > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users> > > > _______________________________________________ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users