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

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