[Freeswitch-users] LTE works but local LAN does not

Mike Jerris mike at freeswitch.org
Mon Mar 11 23:04:01 UTC 2019


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 at 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.html <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 at gmail.com <mailto:rajil.s at 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 at freeswitch.com <mailto:alex at freeswitch.com>
>>> Website: https://www.signalwire.com <https://www.signalwire.com/>
>>> 
>>> 
>>> 
>>> On Sun, Mar 10, 2019 at 7:08 PM Sergey Safarov <s.safarov at gmail.com <mailto:s.safarov at 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 at gmail.com <mailto:rajil.s at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190311/1b3391de/attachment.html>


More information about the FreeSWITCH-users mailing list