[SR-Users] set host as inactive and probing in dispatcher

Uri Shacked ushacked at gmail.com
Sun Dec 11 15:42:58 CET 2011


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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20111211/c7833472/attachment.htm>


More information about the sr-users mailing list