Discussion:
[Freeswitch-users] Session-expires overwrite in OK Response
Oleg Stolyar
2015-05-21 22:46:23 UTC
Permalink
When I send an INVITE to FS that contains a Session-Expires header, FS
always overwrites it in the 200 OK response with this:

Session-Expires: 120;refresher=uac

How can I stop it? I saw that there is the sip-force-expires variable but I
am not setting it anywhere.

If I can't stop it from overwriting the value sent by the client, can I at
least change 120 to a different value somewhere? Changing
minimum-session-expires and session-timeout did not seem to help.
Oleg Stolyar
2015-05-22 00:11:52 UTC
Permalink
As with most problems, there was a simple solution.

Simply disabling session timers on the FS sip profile did the trick.
Post by Oleg Stolyar
When I send an INVITE to FS that contains a Session-Expires header, FS
Session-Expires: 120;refresher=uac
How can I stop it? I saw that there is the sip-force-expires variable but
I am not setting it anywhere.
If I can't stop it from overwriting the value sent by the client, can I at
least change 120 to a different value somewhere? Changing
minimum-session-expires and session-timeout did not seem to help.
Loading...