Changeset 4171


Ignore:
Timestamp:
Jun 19, 2012 1:14:21 PM (12 years ago)
Author:
nanang
Message:

Fix #1539: Applied non-strict update of remote capability info after receiving the first 2xx response.

File:
1 edited

Legend:

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

    r3753 r4171  
    18861886 
    18871887        dlg_update_routeset(dlg, rdata); 
     1888 
     1889        /* Update remote capability info after the first 2xx response 
     1890         * (ticket #1539). Note that the remote capability retrieved here 
     1891         * will be assumed to remain unchanged for the duration of the dialog. 
     1892         */ 
     1893        if (dlg->role==PJSIP_ROLE_UAC && !dlg->uac_has_2xx) { 
     1894            pjsip_dlg_update_remote_cap(dlg, rdata->msg_info.msg, PJ_FALSE); 
     1895            dlg->uac_has_2xx = PJ_TRUE; 
     1896        } 
    18881897    } 
    18891898 
Note: See TracChangeset for help on using the changeset viewer.