[OpenSIPS-Users] dialog time out not working

Samuel Muller sml at l33.fr
Mon Jun 16 15:08:17 CEST 2014


Hello,

$DLG_timeout is not taken in account :

-> cfg

    if (is_method("INVITE")) {
        # for test purpose, hard set up (string, as retrieved)
        $var(caller_stimeout) = "120";
        # SST module see dead people ...
        setflag(SST);
        # create the dialog
        create_dialog();
        # set the session timeout
        if (issflagset(CALLER_FOUND) && $(var(caller_stimeout){s.len}) != 0) {
            # pbm : dialog: caller session timeout set to 0 sec (3600)
even if s.int hardly set
            $DLG_timeout = $(var(caller_stimeout){s.int});
            xlog("L_NOTICE","$var(log) invite: caller session timeout
set to $DLG_timeout sec ($var(caller_stimeout))");
        } else {
            $DLG_timeout = 3600;
        }
    }

-> logs :
58edd4d1377e0707 invite: caller session timeout set to 0 sec


If you have any idea to make this works (as a prepaid story) ?

thanks a lot,


Samuel MULLER



More information about the Users mailing list