Ignore:
Timestamp:
Oct 7, 2016 8:41:55 AM (4 years ago)
Author:
ming
Message:

Fixed #1967: Add function pjsip_tdata_get_dlg

File:
1 edited

Legend:

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

    r5401 r5456  
    11251125        return status; 
    11261126 
     1127    /* Put this dialog in tdata's mod_data */ 
     1128    tdata->mod_data[dlg->ua->id] = dlg; 
     1129 
    11271130    /* Just copy dialog route-set to Route header. 
    11281131     * The transaction will do the processing as specified in Section 12.2.1 
     
    12241227    /* Lock and increment session */ 
    12251228    pjsip_dlg_inc_lock(dlg); 
     1229 
     1230    /* Put this dialog in tdata's mod_data */ 
     1231    tdata->mod_data[dlg->ua->id] = dlg; 
    12261232 
    12271233    /* If via_addr is set, use this address for the Via header. */ 
     
    14061412    /* Lock the dialog. */ 
    14071413    pjsip_dlg_inc_lock(dlg); 
     1414 
     1415    /* Put this dialog in tdata's mod_data */ 
     1416    tdata->mod_data[dlg->ua->id] = dlg; 
    14081417 
    14091418    dlg_beautify_response(dlg, PJ_FALSE, st_code, tdata); 
Note: See TracChangeset for help on using the changeset viewer.