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?
--
Mit freundlichen Grüssen
-Benoît Panizzon- @ HomeOffice und normal erreichbar
--
I m p r o W a r e A G - Leiter Commerce Kunden
______________________________________________________
Zurlindenstrasse 29 Tel +41 61 826 93 00
CH-4133 Pratteln Fax +41 61 826 93 01
Schweiz Web
http://www.imp.ch
______________________________________________________