< 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:


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