<div dir="ltr"><div dir="ltr"><div dir="ltr">Hello!<div><br></div><div>We are using Presence module with MySQL with parameters below. And looks like module does not update contact DB record in case of re-SUBSCRIBE.</div><div>So we have a case when NAT router periodically changes the outgoing port, but NOTIFY from Kamailio goes to port from initial SUBSCRIBE.</div><div><br></div><div>Is this normal module behavior or we missed something?</div><div><br></div><div>modparam("presence", "db_url", DBURL)<br></div><div><div>modparam("presence", "subs_db_mode", 3)<br></div><div>modparam("presence", "timeout_rm_subs", 0)<br></div><div>modparam("presence", "expires_offset", 0)</div><div>modparam("presence", "max_expires", 1800)</div><div>modparam("presence", "db_update_period", 30)</div><div>modparam("presence", "clean_period", 180)</div><div>modparam("presence", "send_fast_notify", 1)</div><div>modparam("presence", "pres_htable_size", 32)</div><div>modparam("presence", "subs_htable_size", 32)</div><div>modparam("presence", "publ_cache", 0)</div><div>modparam("presence", "notifier_processes", 0)</div></div><div><br></div><div># kamailio -v<br></div><div><div>version: kamailio 4.4.2 (x86_64/linux) 892ad6</div><div>flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, 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</div><div>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB</div><div>poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.</div><div>id: 892ad6</div><div>compiled on 14:45:42 Sep 26 2017 with gcc 4.8.5</div></div><div><br></div><div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><br><div><div>BR,</div><div>Denys Pozniak<br></div><div><br></div><div><br></div></div></div></div></div></div></div></div>