I’m a bit surprised you say we are not putting in the received, I’d need to see a full freeswitch sip trace of this to believe that was happening, but even regardless of that, received is ignored when over tcp, so it makes no sense that it not being there would have any affect on behavior.  Need way more info but if someone is depending on received response on TCP that is not correct and doesn’t make much sense.

Mike


On Mar 11, 2019, at 4:26 PM, Rajil Saraswat <rajil.s@gmail.com> wrote:

So if NAT is not the issue, how do i get FS to send out a 'received' parameter which Zoiper guys claim is the problem [1] ?


On 3/11/19 3:27 PM, Brian West wrote:
Its TCP nat won't do much.

On Sun, Mar 10, 2019 at 9:37 AM Rajil Saraswat <rajil.s@gmail.com> wrote:
I set up apply-nat-acl to rfc1918.auto but still the Via string is missing the received parameter,

SIP/2.0 401 Unauthorized
Via: SIP/2.0/TCP 172.16.1.63:38365;branch=z9hG4bK-524287-1---0a4fa72b7b6c93d0;rport=35785

FS acl check
> acl 172.16.1.63 rfc1918.auto
true

The Zoiper phone and FS are on different vlans but same LAN.

Thanks

On 3/10/19 7:57 AM, Alexey Sibyakin wrote:
Hello,

Try to set apply-nat-acl to rfc1918 in Sofia profile or try to force received via NDLB:

Regards,

Alex

Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd Floor, Palo Alto, CA 94303 Email: alex@freeswitch.com Website: https://www.signalwire.com



On Sun, Mar 10, 2019 at 7:08 PM Sergey Safarov <s.safarov@gmail.com> wrote:
Need to disable ALG feature on your router with IP 172.16.1.6

вс, 10 мар. 2019 г. в 00:45, Rajil Saraswat <rajil.s@gmail.com>:
Hello,

I have a Zoiper client (Android phone) which i am using with
Freeswitch-1.8.4. The RPORT option is turned on in Zoiper.

On LTE the registration sequence has the "received" parameter:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/TCP
28.165.111.22:56820;branch=z9hG4bK-524287-1---da4db15a32d6ca14;rport=36503;received=172.58.99.84

However on the LAN it does not:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/TCP
172.16.1.63:57166;branch=z9hG4bK-524287-1---d240dcef351c1a58;rport=59999

Asterisk/Freepbx does have the "received" parameter on local LAN.
SIP/2.0 401 Unauthorized
Via: SIP/2.0/TCP
172.16.1.63:56820;rport=42369;received=172.16.1.6;branch=z9hG4bK-524287-1---ff82112f69c8fa2a


How can i get Freeswitch to set the "received=" parameter even on local LAN?

Thanks