Changeset 1593


Ignore:
Timestamp:
Nov 23, 2007 3:41:54 AM (12 years ago)
Author:
bennylp
Message:

Fixed ticket #423: Client registration (pjsip_regc) doesn't obey explicit transport selection (thanks Hitesh)

Location:
pjproject/trunk/pjsip/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip-ua/sip_reg.c

    r1569 r1593  
    836836    cseq_hdr->cseq = cseq; 
    837837 
     838    /* Bind to transport selector */ 
     839    pjsip_tx_data_set_transport(tdata, &regc->tp_sel); 
     840 
    838841    /* Increment pending transaction first, since transaction callback 
    839842     * may be called even before send_request() returns! 
  • pjproject/trunk/pjsip/src/pjsip/sip_util_statefull.c

    r1269 r1593  
    103103    } 
    104104 
     105    pjsip_tsx_set_transport(tsx, &tdata->tp_sel); 
     106 
    105107    tsx_data = PJ_POOL_ALLOC_T(tsx->pool, struct tsx_data); 
    106108    tsx_data->token = token; 
Note: See TracChangeset for help on using the changeset viewer.