Changeset 966


Ignore:
Timestamp:
Feb 18, 2007 1:35:04 AM (13 years ago)
Author:
bennylp
Message:

Fixed bug in pjsua: account config not initialized using acc_default()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c

    r964 r966  
    205205{ 
    206206    char tmp[80]; 
     207    unsigned i; 
    207208 
    208209    pjsua_config_default(&cfg->cfg); 
     
    222223    cfg->rec_port = PJSUA_INVALID_ID; 
    223224    cfg->mic_level = cfg->speaker_level = 1.0; 
     225 
     226    for (i=0; i<PJ_ARRAY_SIZE(cfg->acc_cfg); ++i) 
     227        pjsua_acc_config_default(&cfg->acc_cfg[i]); 
     228 
     229    for (i=0; i<PJ_ARRAY_SIZE(cfg->buddy_cfg); ++i) 
     230        pjsua_buddy_config_default(&cfg->buddy_cfg[i]); 
    224231} 
    225232 
Note: See TracChangeset for help on using the changeset viewer.