Ignore:
Timestamp:
Jan 14, 2007 12:39:45 AM (14 years ago)
Author:
bennylp
Message:

Continuing work on ticket #50: make explicit transport selection works for sending response

File:
1 edited

Legend:

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

    r881 r882  
    13261326    pjsip_dlg_inc_lock(dlg); 
    13271327 
     1328    /* If the dialog is locked to transport, make sure that transaction 
     1329     * is locked to the same transport too. 
     1330     */ 
     1331    if (dlg->tp_sel.type != tsx->tp_sel.type || 
     1332        dlg->tp_sel.u.ptr != tsx->tp_sel.u.ptr) 
     1333    { 
     1334        status = pjsip_tsx_set_transport(tsx, &dlg->tp_sel); 
     1335        pj_assert(status == PJ_SUCCESS); 
     1336    } 
     1337 
     1338    /* Ask transaction to send the response */ 
    13281339    status = pjsip_tsx_send_msg(tsx, tdata); 
    13291340 
Note: See TracChangeset for help on using the changeset viewer.