Hi
can you fetch the latest master branch from git and
try with:
Trying with the following version:
# ./kamailio -V
version: kamailio 3.3.0-dev1 (i386/linux) 26364a
flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS,
DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC,
DBG_QM_MALLOC, 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_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 4MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: 26364a
compiled on 13:56:27 Nov 2 2011 with gcc 4.1.2
ds_probing_mode = 2
I have ds_probing_mode = 2 in routing script, then in failure route I
have ds_mark_dst("ip")
This should keep inactive gateways in probing mode, if you set the
probing mode when switching in trying/inactive state, until it gets
back to active state.
This doesn't appear to be doing the above.
When the gateway is switched to inactive-probing using ds_mark_dst("ip")
in failure route, I see state change from active-no-probing to
inactive-probing, then ds_probe_threshold "pings" are sent to
destination (these time out as dst is down), then state changes to
inactive-no-probing. The state does not remain in inactive-probing
state/mode.
Thanks