Hi all

I'm trying to set a dialog timeout when a call is established:

event_route[dialog:start] {
     if(dlg_set_timeout("10")) {
          xinfo("10 secs");
     }
}

But when the time expired I obtain this error:

Jan 3 11:24:20 test /usr/sbin/kamailio[18436]: CRITICAL: dialog [dlg_timer.c:199]: update_dlg_timer(): Trying to update a bogus dlg tl=0x93947b30 tl->next=(nil) tl->prev=(nil)
Jan 3 11:24:20 test /usr/sbin/kamailio[18436]: ERROR: dialog [dlg_hash.c:1267]: update_dlg_timeout(): failed to update dialog lifetime

# kamailio -v
version: kamailio 5.3.1 (i386/linux)
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown
compiled with gcc 6.3.0

Any idea?

Thanks and Happy New Year