< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate] 302 with more then one destination in Contact:


Here is info on the stacks DNS behaviour:  https://www.resiprocate.org/DNS

Regards,
Scott

On Fri, Aug 9, 2013 at 4:40 PM, Nathan Stratton <nathan@xxxxxxxxxxxx> wrote:
On Fri, Aug 9, 2013 at 3:18 PM, Scott Godin <sgodin@xxxxxxxxxxxxxxx> wrote:
Looks like the redirect manager will only send to one contact right now.  However DUM will let your application decide which one if you have a RedirectHandler installed.  It will end up calling onTryingNextTarget for each target if you return a false from the handler.  As soon as you return true, it will invite that contact.

Great, I think that is fine, is this the same with a SRV record with more then one response? Great, so that could also let us deal with failed hosts for some period of time.
 
Would you expect DUM to call all targets in parallel or sequentially (after one fails)? My assumption would be that we should try all targets sequentially (ie: only try next target if previous one failed).

I would expect them to be called sequentially and a failed destination would be greylisted for some period of time. 
 
--
><>
Nathan Stratton                                               Founder, CTO Exario Networks, Inc.
nathan at robotics.net                                     nathan at exarionetworks.com
http://www.robotics.net                                   http://www.exarionetworks.com/