Ignore:
Timestamp:
Aug 18, 2014 8:54:43 AM (6 years ago)
Author:
bennylp
Message:

Closed #1677: Contact uses source port in initial registration.

File:
1 edited

Legend:

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

    r4770 r4888  
    802802 
    803803/* Fill-up destination information from a target URI */ 
    804 static pj_status_t get_dest_info(const pjsip_uri *target_uri,  
    805                                  const pjsip_uri *request_uri,  
    806                                  pj_pool_t *pool, 
    807                                  pjsip_host_info *dest_info) 
     804PJ_DEF(pj_status_t) pjsip_get_dest_info(const pjsip_uri *target_uri, 
     805                                        const pjsip_uri *request_uri, 
     806                                        pj_pool_t *pool, 
     807                                        pjsip_host_info *dest_info) 
    808808{ 
    809809    /* The target URI must be a SIP/SIPS URL so we can resolve it's address. 
     
    908908    } 
    909909 
    910     return get_dest_info(target_uri, tdata->msg->line.req.uri, 
    911                          (pj_pool_t*)tdata->pool, dest_info); 
     910    return pjsip_get_dest_info(target_uri, tdata->msg->line.req.uri, 
     911                               (pj_pool_t*)tdata->pool, dest_info); 
    912912} 
    913913 
     
    10121012 
    10131013    /* Fill up the destination host/port from the URI. */ 
    1014     status = get_dest_info(target_uri, new_request_uri, tdata->pool, 
    1015                            dest_info); 
     1014    status = pjsip_get_dest_info(target_uri, new_request_uri, tdata->pool, 
     1015                                 dest_info); 
    10161016    if (status != PJ_SUCCESS) 
    10171017        return status; 
     
    15101510 
    15111511    /* Build destination info. */ 
    1512     status = get_dest_info(uri, NULL, tdata->pool, &dest_info); 
     1512    status = pjsip_get_dest_info(uri, NULL, tdata->pool, &dest_info); 
    15131513    if (status != PJ_SUCCESS) { 
    15141514        pjsip_tx_data_dec_ref(tdata); 
Note: See TracChangeset for help on using the changeset viewer.