Alex Hermann writes:

> > after you have called t_load_contacts(), you should call
> > t_next_contacts(), which does what i explained earlier.  after that ruri
> > contains a contact with highest q value.
> Of course, but is that happens to be the old ruri, it is used again
> > directly.

ruti is not "old" to load_contacts() function if you call it first time
in failure route.

load_contacts() works on current destination set (ruri + branches).
before calling t_load_contacts(), you need to arrange so that
destination set contains whatever contacts are correct for you.

-- juha

_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to