[OpenSIPS-Users] dialog time out not working

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Jun 16 16:18:37 CEST 2014


Hi Samuel,

I guess you are using 1.11 or trunk, right ?

If so, are you sure you do the create_dialog() before the setting the 
$DLG_timeout ? (I looks to me the script is a kind of summary of your 
real script, if I'm not wrong)

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 16.06.2014 16:08, Samuel Muller wrote:
> 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
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>




More information about the Users mailing list