2009/8/27 Iñaki Baz Castillo ibc@aliax.net:
2009/8/27 Ricardo Martinez rmartinez@redvoiss.net:
Hello Iñaki. Thanks for your answer. There are many new parameters of which was not aware!!!... positives_codes?, negative_codes?... Where can I find information about this?.
No idea, for sure I got those parameters from the doc! Hope Juha could explain what happened to the doc ¿?¿?
modparam("lcr", "ping_interval", 10)
Obvious :)
modparam("lcr", "ping_from", "sip:pinger@xtratelecom.es")
Obvious.
modparam("lcr", "ping_method", "PING")
The SIP request method (yeah, I use "PING" XD).
modparam("lcr", "positive_codes", "501;200;404;401;407;403")
If a server is marked as "down", it will be set marked as "up" when a ping request receives a "positive code".
modparam("lcr", "negative_codes", "408;503")
If a server is marked as "up", it will be set marked as "down" when a ping request receives a "negative code". Note that a server is never marked as "down" if it receives a "negative code" for a INVITE request or any other kind of request *received* ny the proxy. Marking as "down"/"up" just depends on LCR pinging.
Hope it helps.