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_call.c

    r2293 r2301  
    140140    /* Copy config */ 
    141141    pjsua_config_dup(pjsua_var.pool, &pjsua_var.ua_cfg, cfg); 
     142 
     143    /* Check the route URI's and force loose route if required */ 
     144    for (i=0; i<pjsua_var.ua_cfg.outbound_proxy_cnt; ++i) { 
     145        status = normalize_route_uri(pjsua_var.pool,  
     146                                     &pjsua_var.ua_cfg.outbound_proxy[i]); 
     147        if (status != PJ_SUCCESS) 
     148            return status; 
     149    } 
    142150 
    143151    /* Initialize invite session callback. */ 
Note: See TracChangeset for help on using the changeset viewer.