Ignore:
Timestamp:
Sep 20, 2008 12:16:56 PM (16 years ago)
Author:
bennylp
Message:

Ticket #611: Configuration option to force the route URI to use loose routing

File:
1 edited

Legend:

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

    r2278 r2301  
    257257{ 
    258258    pjsua_acc *acc; 
    259     unsigned id; 
     259    unsigned i, id; 
    260260    pj_status_t status; 
    261261 
     
    294294    { 
    295295        pjsua_var.acc[id].cfg.reg_timeout = PJSUA_REG_INTERVAL; 
     296    } 
     297 
     298    /* Check the route URI's and force loose route if required */ 
     299    for (i=0; i<acc->cfg.proxy_cnt; ++i) { 
     300        status = normalize_route_uri(acc->pool, &acc->cfg.proxy[i]); 
     301        if (status != PJ_SUCCESS) 
     302            return status; 
    296303    } 
    297304 
Note: See TracChangeset for help on using the changeset viewer.