Changeset 1415
- Timestamp:
- Aug 12, 2007 4:12:17 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_transaction.c
r1319 r1415 2641 2641 2642 2642 } else { 2643 pj_time_val timeout; 2644 2643 2645 /* Process incoming ACK request. */ 2644 2646 … … 2650 2652 tsx->transport_flag &= ~(TSX_HAS_PENDING_RESCHED); 2651 2653 2652 /* Start timer I in T4 interval (transaction termination). */2654 /* Reschedule timeout timer. */ 2653 2655 pjsip_endpt_cancel_timer( tsx->endpt, &tsx->timeout_timer ); 2654 2656 tsx->timeout_timer.id = TIMER_ACTIVE; 2657 2658 /* Timer I is T4 timer for unreliable transports, and 2659 * zero seconds for reliable transports. 2660 */ 2661 if (PJSIP_TRANSPORT_IS_RELIABLE(tsx->transport)==0) { 2662 timeout.sec = 0; 2663 timeout.msec = 0; 2664 } else { 2665 timeout.sec = t4_timer_val.sec; 2666 timeout.msec = t4_timer_val.msec; 2667 } 2655 2668 pjsip_endpt_schedule_timer( tsx->endpt, &tsx->timeout_timer, 2656 &t 4_timer_val);2669 &timeout); 2657 2670 2658 2671 /* Move state to "Confirmed" */
Note: See TracChangeset
for help on using the changeset viewer.