[reSIProcate] 302 with more then one destination in Contact:
Jorge Bustamante
jorge at exarionetworks.com
Fri Jan 3 14:35:29 CST 2014
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 at sipspectrum.com
To: nathan at robotics.net
CC: resiprocate-devel at resiprocate.org; dan at marketsoup.com
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 at robotics.net> wrote:
On Fri, Aug 9, 2013 at 11:23 AM, Dan Weber <dan at marketsoup.com> 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 at proxy-fail.exarionetworks.com:5060>
DEBUG | 20130809-150756.955 | | RESIP:DUM | 140232332138560 | RedirectManager.cxx:82 | RedirectManager::TargetSet::addTargets:target: <sip:1000 at proxy-works.exarionetworks.com: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 at resiprocate.org
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel at resiprocate.org
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20140103/6113abf2/attachment.htm>
More information about the resiprocate-devel
mailing list