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

SET:: 47
        URI:: sip:10.10.21.20 flags=AX priority=25 attrs=OSP_B4
        URI:: sip:10.10.21.22 flags=AX priority=25 attrs=OSP_B3
        URI:: sip:10.10.21.23 flags=AX priority=25 attrs=OSP_B2
        URI:: sip:10.10.21.21 flags=AX priority=25 attrs=OSP_B1
SET:: 41
        URI:: sip:10.10.21.29 flags=AX priority=25 attrs=OSP_A4
        URI:: sip:10.10.21.27 flags=AX priority=25 attrs=OSP_A3
        URI:: sip:10.10.21.25 flags=AX priority=25 attrs=OSP_A1
        URI:: sip:10.10.21.24 flags=AX priority=25 attrs=OSP_A2


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda