LTE works but local LAN does not
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
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
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
Hello, Try to set apply-nat-acl to rfc1918 in Sofia profile or try to force received via NDLB: https://freeswitch.org/confluence/display/FREESWITCH/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
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
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: https://freeswitch.org/confluence/display/FREESWITCH/NDLB
Regards,
Alex
Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd Floor, Palo Alto, CA 94303 Email: alex@freeswitch.com <mailto:alex@freeswitch.com> Website: https://www.signalwire.com
On Sun, Mar 10, 2019 at 7:08 PM Sergey Safarov <s.safarov@gmail.com <mailto: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 <mailto: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
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com <mailto:sales@freeswitch.com> https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com <mailto:sales@freeswitch.com> https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
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: https://freeswitch.org/confluence/display/FREESWITCH/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
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
_________________________________________________________________________ Professional FreeSWITCH Servicessales@freeswitch.comhttps://freeswitch.com
Official FreeSWITCH Siteshttps://freeswitch.com/osshttps://freeswitch.org/confluencehttps://cluecon.c...
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttps://freeswit...
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Brian West | Co-founder and Developer Need Commercial support? email sales@freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: brian@freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/> [image: https://www.facebook.com/signalwireinc?src=email] <https://www.facebook.com/freeswitch> [image: https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
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] ? [1] http://lists.freeswitch.org/pipermail/freeswitch-users/2019-February/131334.... 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 <mailto: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: https://freeswitch.org/confluence/display/FREESWITCH/NDLB
Regards,
Alex
Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd Floor, Palo Alto, CA 94303 Email: alex@freeswitch.com <mailto:alex@freeswitch.com> Website: https://www.signalwire.com
On Sun, Mar 10, 2019 at 7:08 PM Sergey Safarov <s.safarov@gmail.com <mailto: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 <mailto: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
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com <mailto:sales@freeswitch.com> https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com <mailto:sales@freeswitch.com> https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com <mailto:sales@freeswitch.com> https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com <mailto:sales@freeswitch.com> https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
--
Brian West | Co-founder and Developer
Need Commercial support? email sales@freeswitch.com <mailto:sales@freeswitch.com>
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: brian@freeswitch.com <mailto:brian@freeswitch.com>
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
https://www.facebook.com/signalwireinc?src=email <https://www.facebook.com/freeswitch> https://twitter.com/freeswitch <https://twitter.com/freeswitch>
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
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] ?
[1] http://lists.freeswitch.org/pipermail/freeswitch-users/2019-February/131334.... <http://lists.freeswitch.org/pipermail/freeswitch-users/2019-February/131334.html>
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 <mailto: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: https://freeswitch.org/confluence/display/FREESWITCH/NDLB <https://freeswitch.org/confluence/display/FREESWITCH/NDLB>
Regards,
Alex
Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd Floor, Palo Alto, CA 94303 Email: alex@freeswitch.com <mailto:alex@freeswitch.com> Website: https://www.signalwire.com <https://www.signalwire.com/>
On Sun, Mar 10, 2019 at 7:08 PM Sergey Safarov <s.safarov@gmail.com <mailto: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 <mailto: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
I captured the phone registration using sngrep and posted it at https://pastebin.freeswitch.org/view/78b868da Thanks On 3/11/19 6:04 PM, Mike Jerris wrote:
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 <mailto: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] ?
[1] http://lists.freeswitch.org/pipermail/freeswitch-users/2019-February/131334....
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 <mailto: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: https://freeswitch.org/confluence/display/FREESWITCH/NDLB
Regards,
Alex
Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd Floor, Palo Alto, CA 94303 Email: alex@freeswitch.com <mailto:alex@freeswitch.com> Website: https://www.signalwire.com <https://www.signalwire.com/>
On Sun, Mar 10, 2019 at 7:08 PM Sergey Safarov <s.safarov@gmail.com <mailto: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 <mailto: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
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
Think Mike wants look FreeSwitch console output after this commands is applied sofia loglevel all 9 sofia global siptrace on вт, 12 мар. 2019 г. в 04:47, Rajil Saraswat <rajil.s@gmail.com>:
I captured the phone registration using sngrep and posted it at https://pastebin.freeswitch.org/view/78b868da
Thanks
On 3/11/19 6:04 PM, Mike Jerris wrote:
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] ?
[1] http://lists.freeswitch.org/pipermail/freeswitch-users/2019-February/131334....
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: https://freeswitch.org/confluence/display/FREESWITCH/NDLB
Regards,
Alex
Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd Floor, Palo Alto, CA 94303 <https://maps.google.com/?q=228+Hamilton+Ave+3rd+Floor,+Palo+Alto,+CA+94303&entry=gmail&source=g> 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
_________________________________________________________________________ Professional FreeSWITCH Servicessales@freeswitch.comhttps://freeswitch.com
Official FreeSWITCH Siteshttps://freeswitch.com/osshttps://freeswitch.org/confluencehttps://cluecon.c...
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttps://freeswit...
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
participants (5)
-
Alexey Sibyakin
-
Brian West
-
Mike Jerris
-
Rajil Saraswat
-
Sergey Safarov