Ignore:
Timestamp:
Mar 6, 2006 4:25:59 PM (18 years ago)
Author:
bennylp
Message:

Added --uas-duration and --uas-refresh option (the later is broken)

File:
1 edited

Legend:

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

    r293 r305  
    7070 
    7171 
     72    /* Default call settings. */ 
     73    pjsua.uas_refresh = -1; 
     74    pjsua.uas_duration = -1; 
     75 
    7276    /* Default: do not use STUN: */ 
    7377    pjsua.stun_port1 = pjsua.stun_port2 = 0; 
     
    9195 
    9296    /* Init call array: */ 
    93     for (i=0; i<PJ_ARRAY_SIZE(pjsua.calls); ++i) 
     97    for (i=0; i<PJ_ARRAY_SIZE(pjsua.calls); ++i) { 
    9498        pjsua.calls[i].index = i; 
     99        pjsua.calls[i].refresh_tm._timer_id = -1; 
     100        pjsua.calls[i].hangup_tm._timer_id = -1; 
     101    } 
    95102 
    96103    /* Default max nb of calls. */ 
Note: See TracChangeset for help on using the changeset viewer.