Module: sip-router Branch: master Commit: cbe2e236846e6527a2fc9e6b40b80befe329825b URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=cbe2e236...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Thu Oct 27 16:00:55 2011 +0200
dispatcher(k): new state trying for destination addresses
- the state trying (t) is a transition between active to inactive, when inactive state is wanted after a certain number of failures specified in probing threshold - when in trying state, the destination is still selected, but additional settings of trying state will increment an internal failure counter which results in setting inactive state when probing threshold is matched - the functionality was before based on probing mode, but since 3.2 probing is not longer related to destination selection. This will provide back the lost functionality - ds_mark_dst(x) can have as parameter a combination between state and probing mode, such as 'ip' - inactive and probing, or ap - active and probing, or 'tp' - trying and probing
---
modules_k/dispatcher/dispatch.c | 417 ++++++++++++++++++------------------- modules_k/dispatcher/dispatch.h | 10 +- modules_k/dispatcher/dispatcher.c | 80 +++++-- 3 files changed, 261 insertions(+), 246 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=cbe2...