/[resiprocate]/main/sip/resiprocate/dum/DialogSet.cxx
ViewVC logotype

Diff of /main/sip/resiprocate/dum/DialogSet.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3482 by jason, Tue Nov 2 18:02:55 2004 UTC revision 3483 by jason, Thu Nov 18 19:21:15 2004 UTC
# Line 181  Line 181 
181           }           }
182        }        }
183     }     }
184     else if (msg.exists(h_Contacts) &&     else if (msg.exists(h_Contacts) && !msg.header(h_Contacts).empty()
             msg.header(h_Contacts).size() == 1  
185              && msg.isResponse()              && msg.isResponse()
186              && mDum.getProfile()->looseToTagMatching()              && mDum.getProfile()->looseToTagMatching()
187              && msg.header(h_To).exists(p_tag))                  && msg.header(h_To).exists(p_tag))    
188     {     {
189          const Uri& contact = msg.header(h_Contacts).front().uri();
190          
191        //match by contact        //match by contact
192        for(DialogMap::iterator it = mDialogs.begin(); it != mDialogs.end(); it++)        for(DialogMap::iterator it = mDialogs.begin(); it != mDialogs.end(); it++)
193        {        {
194           if (it->second->mRemoteTarget.uri() == msg.header(h_Contacts).front().uri())           if (it->second->mRemoteTarget.uri() == contact)
195           {           {
196              //!dcm! in the vonage case, the to tag should be updated to match the fake              //!dcm! in the vonage case, the to tag should be updated to match the fake
197              //vonage tag introduced in the 200 which is also used for the BYE.              //vonage tag introduced in the 200 which is also used for the BYE.

Legend:
Removed from v.3482  
changed lines
  Added in v.3483

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27