Changeset 3032 for pjproject/trunk


Ignore:
Timestamp:
Dec 14, 2009 11:13:45 AM (15 years ago)
Author:
bennylp
Message:

Misc (ticket #1003):

  • added missing transport selection information in pjsua_acc_create_request(), when the account has been locked to use a specific transport/listener.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c

    r3001 r3032  
    16121612        r = r->next; 
    16131613    } 
    1614      
     1614 
     1615    /* If account is locked to specific transport, then set that transport to 
     1616     * the transmit data. 
     1617     */ 
     1618    if (pjsua_var.acc[acc_id].cfg.transport_id != PJSUA_INVALID_ID) { 
     1619        pjsip_tpselector tp_sel; 
     1620 
     1621        pjsua_init_tpselector(acc->cfg.transport_id, &tp_sel); 
     1622        pjsip_tx_data_set_transport(tdata, &tp_sel); 
     1623    } 
     1624 
    16151625    /* Done */ 
    16161626    *p_tdata = tdata; 
Note: See TracChangeset for help on using the changeset viewer.