[OpenSIPS-Users] Disable inactive resource when redirecting

futurewizard rohitgupta74 at techie.com
Thu Aug 26 16:27:45 CEST 2010


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-tp5465803p5465803.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100826/2423389b/attachment.htm 


More information about the Users mailing list