Ignore:
Timestamp:
Feb 22, 2008 11:10:17 AM (16 years ago)
Author:
bennylp
Message:

Ticket #7: Move PJSIP compile time configurations/settings (such as T1, T2 timers) to run-time (thanks Philippe Leuba)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/test-pjsip/tsx_uac_test.c

    r1372 r1818  
    615615 
    616616            ++recv_count; 
    617             msec_expected = (1<<(recv_count-2))*PJSIP_T1_TIMEOUT; 
     617            msec_expected = (1<<(recv_count-2))*pjsip_cfg()->tsx.t1; 
    618618 
    619619            if (msg->line.req.method.id != PJSIP_INVITE_METHOD) { 
    620                 if (msec_expected > PJSIP_T2_TIMEOUT) 
    621                     msec_expected = PJSIP_T2_TIMEOUT; 
     620                if (msec_expected > pjsip_cfg()->tsx.t2) 
     621                    msec_expected = pjsip_cfg()->tsx.t2; 
    622622                max_received = 11; 
    623623            } else { 
Note: See TracChangeset for help on using the changeset viewer.