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

Sergey Safarov s.safarov at gmail.com
Tue Mar 12 04:33:14 UTC 2019


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 at 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 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
>
> 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> 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 at freeswitch.com Website: https://www.signalwire.com
>>
>>
>>
>> On Sun, Mar 10, 2019 at 7:08 PM Sergey Safarov <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>:
>>>
>>>> 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 at freeswitch.comhttps://freeswitch.com
>
> Official FreeSWITCH Siteshttps://freeswitch.com/osshttps://freeswitch.org/confluencehttps://cluecon.com
>
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttps://freeswitch.com
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Services
> sales at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190312/911aa97c/attachment.html>


More information about the FreeSWITCH-users mailing list