Changeset 3260


Ignore:
Timestamp:
Aug 9, 2010 2:24:36 PM (14 years ago)
Author:
bennylp
Message:

Misc (re #1068): do not add To tag to the SIP response if the request already has one (thanks Rafael Maia for the suggestion)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_util.c

    r3106 r3260  
    575575     * use it directly). 
    576576     */ 
    577     if (st_code > 100 && top_via) { 
     577    if (to_hdr->tag.slen==0 && st_code > 100 && top_via) { 
    578578        to_hdr->tag = top_via->branch_param; 
    579579    } 
Note: See TracChangeset for help on using the changeset viewer.