[OpenSIPS-Users] Disable inactive resource when redirecting

futurewizard rohitgupta74 at techie.com
Thu Aug 26 16:28:51 CEST 2010


Ok that was mess ..let me try again

Hi all

I'm using OpenSips in redirect mode.

How can I find if a resource/destination is inactive and I don't return
inactive resource's info to caller.

Currently I'm using Dispatcher module as 

ds_select_domain("2", "4");
sl_send_reply("302", "Redirect");

I tried using 

modparam("dispatch", "ds_ping_method", "OPTIONS")
modparam("dispatch", "ds_ping_from", ""sip:abc at myip")
modparam("dispatch", "ds_ping interval", 30)
modparam("dispatch", "ds_probing_mode", 1)
modparam("dispatch", "ds_probing_threshhold, 2)
modparam("dispatcher", "options_reply_codes", "481")


When I disable a resource, it still round robin to that resource.

note: I'm very new to OpenSips and any help is appreciated.

Thanks


-- 
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Disable-inactive-resource-when-redirecting-tp5465803p5465811.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.



More information about the Users mailing list