Changeset 1105 for pjproject


Ignore:
Timestamp:
Mar 26, 2007 8:05:22 AM (18 years ago)
Author:
bennylp
Message:

Fixed ticket #195: The ---contact option was ignored in pjsua

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/pjproject-0.5-stable/pjsip/src/pjsua-lib/pjsua_acc.c

    r997 r1105  
    944944    acc = &pjsua_var.acc[acc_id]; 
    945945 
     946    /* If force_contact is configured, then use use it */ 
     947    if (acc->cfg.force_contact.slen) { 
     948        *contact = acc->cfg.force_contact; 
     949        return PJ_SUCCESS; 
     950    } 
     951 
    946952    /* If route-set is configured for the account, then URI is the  
    947953     * first entry of the route-set. 
     
    10381044    acc = &pjsua_var.acc[acc_id]; 
    10391045 
     1046    /* If force_contact is configured, then use use it */ 
     1047    if (acc->cfg.force_contact.slen) { 
     1048        *contact = acc->cfg.force_contact; 
     1049        return PJ_SUCCESS; 
     1050    } 
     1051 
    10401052    /* If Record-Route is present, then URI is the top Record-Route. */ 
    10411053    if (rdata->msg_info.record_route) { 
Note: See TracChangeset for help on using the changeset viewer.