[Freeswitch-users] SIP Client couldn't receive BYE

Florent Krieg fkrieg at sewan.eu
Tue Apr 22 20:23:35 MSD 2014


Hi Jimmy,

Anthony M. wrote on a (quite old) mailing-list topic the following 
information:

    /also you can set //sip_sticky_contact=true //channel var which will
    make that session turn on nat lock in the b leg //so they can't
    change the contact to a nat addr //
    //add it in {} to your dial string like
    "//{sip_sticky_contact=true}sofia/internal/foo at bar.com
    <mailto:foo at bar.com>" /

(http://comments.gmane.org/gmane.comp.telephony.freeswitch.user/22645)

Could be great if someone with the rights could update 
http://wiki.freeswitch.org/wiki/NAT_Traversal#sip_sticky_contact then :)

Best regards,
Florent

Le 21/04/2014 08:53, Jimmy Chang a écrit :
> Hi Florent,
>
> The parameter sip_sticky_contact solved my problem, too.
> Since there is no docuementation about this parameter, do you know 
> what does the parameter exactly do?
> Is there any side effect that I turn it on?
>
> Thanks,
> Jimmy
>
> ? 2014/4/18 ?? 10:42, Florent Krieg ??:
>> Hello Jimmy,
>>
>> Have you tried "sip_sticky_contact=true"?
>> (there's no documentation but here's the wiki page: 
>> http://wiki.freeswitch.org/wiki/NAT_Traversal#sip_sticky_contact)
>> I had kind of same issue as you and this solved my problem!
>>
>> Florent
>>
>> Le 18/04/2014 13:50, Jimmy Chang a écrit :
>>> Hi,
>>>
>>> I've tried NDLB-connectile-dysfunction, but to no avail.
>>> SIP_Client1 and SIP_Client2 are all in the same 3G network, so I 
>>> couldn't figure out why FS treated them in different ways.
>>>
>>> Thanks.
>>> Jimmy
>>>
>>> ? 2014/4/18 ?? 04:55, Steven Ayre ??:
>>>> BYE is sent to the address in the Contact header of the INVITE.
>>>>
>>>> When a client is behind NAT that can mean the client gives an 
>>>> incorrect address (its internal not external IP which isn't 
>>>> reachable). In this case I assume there's some carrier NAT happening.
>>>>
>>>> If the client has STUN support that can work around it, or you can 
>>>> use one of the NDLB options - try NDLB-connectile-dysfunction
>>>>
>>>>
>>>> On 18 April 2014 04:53, Jimmy Chang <chang33.tw at gmail.com 
>>>> <mailto:chang33.tw at gmail.com>> wrote:
>>>>
>>>>     Hi,
>>>>
>>>>     We have two different SIP Clients and they all use 3G to
>>>>     connect to FS.
>>>>     SIP_Client1 receives BYE without problem but SIP_Client2 couldn't.
>>>>     In the SIP_Client2 case, I don't understand why FS sended BYE to
>>>>     100.77.163.183 rather than 42.71.215.54.
>>>>     Here are the snippet of FS log.
>>>>
>>>>     http://pastebin.freeswitch.org/22430
>>>>
>>>>     Thanks.
>>>>     Jimmy
>>>>
>>>>     ---
>>>>     ?? avast! ?????????,??????????????????????
>>>>     http://www.avast.com
>>>>
>>>>
>>>>     _________________________________________________________________________
>>>>     Professional FreeSWITCH Consulting Services:
>>>>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>>>     http://www.freeswitchsolutions.com
>>>>
>>>>     
>>>>     
>>>>
>>>>     Official FreeSWITCH Sites
>>>>     http://www.freeswitch.org
>>>>     http://wiki.freeswitch.org
>>>>     http://www.cluecon.com
>>>>
>>>>     FreeSWITCH-users mailing list
>>>>     FreeSWITCH-users at lists.freeswitch.org
>>>>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>>>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>     http://www.freeswitch.org
>>>>
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> 
>>>> 
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://wiki.freeswitch.org
>>>> http://www.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
>>>> http://www.freeswitch.org
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>> <http://www.avast.com/> 	
>>>
>>> ?? avast! ???? <http://www.avast.com/> ?????,??????????????????????
>>>
>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> 
>>> 
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.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
>>> http://www.freeswitch.org
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.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
>> http://www.freeswitch.org
>
>
>
> ------------------------------------------------------------------------
> <http://www.avast.com/> 	
>
> ?? avast! ???? <http://www.avast.com/> ?????,??????????????????????
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.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
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140422/fc38346d/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list