[Freeswitch-dev] FS send re-invite about every minutes, is there a way to disable it?

Brian West brian at freeswitch.org
Sat Feb 28 08:40:15 PST 2009


Seven,
	Do you know how Session timers work?  If for example a session timer  
is setup at 120 seconds you'll get an invite about every 60 seconds.

/b


On Feb 28, 2009, at 1:24 AM, seven du wrote:

> Hi Math,
>
> in 200 OK session-timeout, do you mean this?
>
> Session-Expires: 120;refresher=uas
>
> I added the session-timeout to my sip profile and I can see
>
> SESSION_TO           0
>
> in console when I typed in " sofia status profile default " , however
> the Session-Expires will be always 120 in the 200OK msg.
>
> Oh, I'm behind a NAT, so I think the timeout always equals 20
> (mod_sofia.c around line 519: session_timeout =
> SOFIA_NAT_SESSION_TIMEOUT; )
>
> I tried change
>
> <param name="minimum-session-expires" value="0"/>
>
> and I can get
>
> Session-Expires: 90;refresher=uas
> Min-SE: 90
>
> However, I still get the re-INVITE message after 60 seconds.




More information about the Freeswitch-dev mailing list