version :
version: kamailio 3.2.0 (i386/linux) e19bb8
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: e19bb8
compiled on 18:43:11 Oct 24 2011 with gcc 4.1.2
and with log level 3 :
13(11897) ERROR: <script>: OSPRPL is
408 now disable destination
13(11897) ERROR: *** cfgtrace:
c=[/usr/local/etc/kamailio/kamailio.cfg] l=1266
a=26 n=ds_mark_dst
13(11897) DEBUG: dispatcher [dispatch.c:1994]:
mode [1] grp [47] dst [
sip:10.10.21.28 ]
13(11897) ERROR: *** cfgtrace:
c=[/usr/local/etc/kamailio/kamailio.cfg] l=1267
a=26 n=xlog
13(11897) ERROR: <script>: after
disabling destination
On Mon, Dec 12, 2011 at
11:14 AM, Daniel-Constantin Mierla
<miconda@gmail.com >
wrote:
Hello,
cn you give output of 'kamailio -V' and the
log messages with debug=3 in config file?
Note that from the moment you set the
gateway in some state and you dump the list
via mi, there can be keepalives that change
the state.
Cheers,
Daniel
On 12/11/11 3:42 PM, Uri Shacked wrote:
Hi,
i tried to change the
ds_probing_mode as well. it didn't
do any good.
i need the probing mode to be
set to 1 anyway.
so,
any ideas?
here is the cfg again:
after the failure route i turn
to this route
"route[OSPRPLERR] {
xlog("$C(rg) SCRIPT : in OSPRPLERR
$ru $C(xx)\n");
if($avp(OSPRPL)!=404) {
xlog("$C(rg) OSPRPL is
$avp(OSPRPL) now disable
destination $C(xx)\n");
ds_mark_dst("AP");
xlog("$C(rg) after
disabling destination
$C(xx)\n");
}"
here is the log:
13(5760) ERROR: <script>:
SCRIPT : in OSPRPLERR
sip:36264529@10.10.21.29
13(5760) ERROR: *** cfgtrace:
c=[/usr/local/etc/kamailio/kamailio.cfg]
l=1264 a=17 n=if
13(5760) ERROR: *** cfgtrace:
c=[/usr/local/etc/kamailio/kamailio.cfg]
l=1259 a=26 n=xlog
13(5760) ERROR: <script>:
OSPRPL is 408
now disable
destination
13(5760) ERROR: ***
cfgtrace:
c=[/usr/local/etc/kamailio/kamailio.cfg]
l=1260 a=26 n=ds_mark_dst
13(5760) ERROR: *** cfgtrace:
c=[/usr/local/etc/kamailio/kamailio.cfg]
l=1261 a=26 n=xlog
13(5760) ERROR: <script>:
after
disabling destination
now i check the dispatcher list
status:
kamctl fifo ds_list