[reSIProcate] How to selectTransactionUser?

Scott Godin slgodin at icescape.com
Tue Jul 17 08:05:04 CDT 2007


Resip is not designed to work this way.  There should be one stack
instance per DUM instance.  

 

Although if I remember correctly I think someone out there has
successfully modified the TU selector so that requests/responses for a
particular dialog set end up on the right instance of dum - try a google
search through the resip-devel mailing list.

 

Scott

 

From: resiprocate-devel-bounces at list.resiprocate.org
[mailto:resiprocate-devel-bounces at list.resiprocate.org] On Behalf Of shf
Sent: Monday, July 16, 2007 9:48 PM
To: resiprocate-devel at list.resiprocate.org
Subject: [reSIProcate] How to selectTransactionUser?

 

Hi,all

  i'm using resip stack and DUM to develop a UA program. I create 2
DialogUsageManager instances and they share a SipStack object. And each
Dum instance register,invite is ok. The question is that:

   when UA program is connected to Callee UA, when Callee UA hang up, my
UA program received bye command from Callee, and 

the Stack object process the bye command, the TransactionState's
process() function call 

   tu = controller.mTuSelector.selectTransactionUser(*sip);

And TuSelector's selectTransactionUser() call 

   if (it->tu->isForMe(msg))

   {

       return it->tu;

   }

here , the TuSelector object always return the 1st DUM object. So the
dum will result in a 481 response code. This is Wrong.

How to resolve it ??

 

Thank you.

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070717/c09b83c7/attachment.htm>


More information about the resiprocate-devel mailing list