[OpenSIPS-Users] Disable inactive resource when redirecting
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Fri Aug 27 09:54:52 CEST 2010
Hi,
How do you disable a destination ?
Regards,
Bogdan
futurewizard wrote:
> 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
>
>
>
--
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
20 - 24 September 2010, Frankfurt, Germany
www.voice-system.ro
More information about the Users
mailing list