[OpenSIPS-Users] Detect failed SIP server
Bogdan-Andrei Iancu
bogdan at opensips.org
Mon Mar 25 18:13:00 CET 2013
Hi Chen-Che,
I see you probe the internal servers all the time (probe mode 1). The
detection depends on 2 factors:
- how fast a timeout may be generated (for a probe message) - see
the fr_timer param in TM module
- how many failed probes you need to declare the destination failed
- see the ds_probing_threshhold in dispatcher module.
How do you simulate the failure of the internal server ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 03/22/2013 01:12 PM, microx wrote:
> Hi all,
>
> I have one outbound proxy and two internal SIP servers. The outbound proxy
> uses the dispatcher module to detect that the two SIP servers are alive or
> dead. With OpenSIPS 1.8.2 and the following setting, the outbound proxy can
> detect the status of the two SIP server correctly.
> modparam("dispatcher", "flags", 2) # 2: failover support is enabled
> modparam("dispatcher", "ds_ping_method", "OPTIONS")
> modparam("dispatcher", "ds_ping_interval", 3)
> modparam("dispatcher", "ds_probing_threshhold", 3)
> modparam("dispatcher", "ds_probing_mode", 1)
> modparam("dispatcher", "options_reply_codes", "501, 403"),
>
> However, with OpenSIPS-1.9.0, I find that the outbound proxy knows whether a
> SIP is alive or dead after 30 seconds!
> Is my setting incorrect? Can someone show how to set to make the outbound
> proxy correctly know the status of a SIP server within my predefined
> interval? Any help is much appreciated.
>
> Best regards,
> Chen-Che
>
>
>
> --
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Detect-failed-SIP-server-tp7585427.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list