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

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


I just checked the code, it doesn't look like anyone has worked on this since this previous discussion.  If someone has an implementation they want to contribute to opensource, then please let me know.

Regards,
Scott


On Fri, Jan 3, 2014 at 3:31 PM, Jorge Bustamante <jabh_84@xxxxxxxxxxx> wrote:
Is there any update on this? I mean, about Redirect Manager supporting destination fail-over (e.g. if first contact timeouts, try second one and so on)?

Regards,
Jorge Bustamante


Date: Fri, 9 Aug 2013 16:18:47 -0400
From: sgodin@xxxxxxxxxxxxxxx
To: nathan@xxxxxxxxxxxx
CC: resiprocate-devel@xxxxxxxxxxxxxxx; dan@xxxxxxxxxxxxxx
Subject: Re: [reSIProcate] 302 with more then one destination in Contact:


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.

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).

Scott

On Fri, Aug 9, 2013 at 3:33 PM, Nathan Stratton <nathan@xxxxxxxxxxxx> wrote:
On Fri, Aug 9, 2013 at 11:23 AM, Dan Weber <dan@xxxxxxxxxxxxxx> wrote:
I'm pretty sure I fixed any issues with that a while back.  

Can you please submit some sample code that reproduces the behavior?

You can find a stack log at http://share.robotics.net/stack.log

I see DUM adding the two targets:

DEBUG | 20130809-150756.955 |  | RESIP:DUM | 140232332138560 | RedirectManager.cxx:34 | RedirectManager::handle: new TargetSet: VD8f2aqT6JXRLKOOL8bokQ..-dc567f06
DEBUG | 20130809-150756.955 |  | RESIP:DUM | 140232332138560 | RedirectManager.cxx:82 | RedirectManager::TargetSet::addTargets:target: <sip:1000@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx:5060>
DEBUG | 20130809-150756.955 |  | RESIP:DUM | 140232332138560 | RedirectManager.cxx:82 | RedirectManager::TargetSet::addTargets:target: <sip:1000@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:5060>
Is there anything you need to do when you setup DUM to have it take care of more then one contact, or is this not done in DUM. 
 
--
><>
Nathan Stratton                                               Founder, CTO Exario Networks, Inc.
nathan at robotics.net                                     nathan at exarionetworks.com
http://www.robotics.net                                   http://www.exarionetworks.com/

_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel


_______________________________________________ resiprocate-devel mailing list resiprocate-devel@xxxxxxxxxxxxxxx https://list.resiprocate.org/mailman/listinfo/resiprocate-devel