Hi
I still have odd behaviour with the SST module:
modparam("sst", "min_se", 300)
if (sstCheckMin("1")) { xlog("L_ERR", "$cfg(route) Session Timer too small\n"); exit; } setflag(FLT_DLG); # set the dialog flag setflag(FLT_SST); # Set the sst flag if(is_present_hf("Session-Expires")) { $avp(dlgtimeout) = $(hdr(Session-Expires){s.int}); }
On an INVITE containing those header:
Session-Expires: 3600;refresher=uac Min-SE: 600 Supported: 100rel,timer Expires: 330
Now Kamailio replies:
SIP/2.0 422 Session Timer Too Small Min-SE: 300
What am I doing wrong?