Changeset 4911 for pjproject


Ignore:
Timestamp:
Sep 2, 2014 3:21:38 AM (10 years ago)
Author:
nanang
Message:

Fix #1781: Don't update dialog route set from UPDATE response.

File:
1 edited

Legend:

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

    r4728 r4911  
    16901690    //pj_int32_t msg_cseq; 
    16911691    const pjsip_msg *msg; 
     1692    const pjsip_method update = { PJSIP_OTHER_METHOD, {"UPDATE", 6}}; 
    16921693 
    16931694    msg = rdata->msg_info.msg; 
     
    16961697    /* Ignore if route set has been frozen */ 
    16971698    if (dlg->route_set_frozen) 
     1699        return; 
     1700 
     1701    /* Ignore if the message is an UPDATE response (see ticket #1781) */ 
     1702    if (pjsip_method_cmp(&rdata->msg_info.cseq->method, &update) == 0) 
    16981703        return; 
    16991704 
Note: See TracChangeset for help on using the changeset viewer.