[Freeswitch-users] Aastra phone registration lost

Philippe Sultan philippe.sultan at gmail.com
Thu Feb 10 13:39:03 MSK 2011


Tim,

That helped a lot, thanks! More comments inline.

On Thu, Feb 10, 2011 at 3:18 AM, Tim St. Pierre
<fs-list at communicatefreely.net> wrote:
> I'm wondering about these values:
>
>> sip registration retry timer: 10
>> sip registration renewal timer: 15
>> sip registration timeout retry timer: 10
>> sip registration period: 60
>> sip rport: 1
>>
> They seem a bit short, especially on a LAN.  Do you really need your
> phones to re-register every 45 seconds?

Indeed, I don't. But need a mechanism to keep NAT sessions alive in
case phones are being deployed behind NAT boxes. It seems like
transporting SIP over TCP from the phone, plus using TCP keepalives
will solve that issue though. I also have Thomson ST2030 phones, and
they send SIP OPTIONS packets every 50 seconds for that purpose (all
handled by the SER proxy).

> Try setting sip registration period to 600  That's 10 minutes.
> sip registration renewal timer can be a bit longer - 30 seconds maybe,
> or 60 if you are at all worried about reliability.

Here is what I put in the aastra.cfg file from your suggestions :

sip registration period: 3600
sip registration renewal timer: 3565

And that does the trick, that is, the phone registers every 45
seconds. I'll try to update those values to have a larger registration
period, rely on TCP keepalives in order to maintain NAT sessions, and
have all that NAT handling in SER. Here is the topology :

Aastra ---(sip/tcp)--- SER ---(sip/udp)--- FS

ST2030 ---(sip/udp)--- SER ---(sip/udp)--- FS

Thanks again!

Philippe



More information about the FreeSWITCH-users mailing list