Changeset 1208
- Timestamp:
- Apr 20, 2007 3:01:50 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/pjproject-0.5-stable/pjsip/src/pjsip/sip_transaction.c
r1189 r1208 1795 1795 pj_assert((tsx->transport_flag & TSX_HAS_PENDING_TRANSPORT) == 0); 1796 1796 1797 pj_assert(tsx->status_code < 200); 1798 1799 if (tsx->status_code >= 100) 1797 if (tsx->role==PJSIP_ROLE_UAC && tsx->status_code >= 100) 1800 1798 msec_time = PJSIP_T2_TIMEOUT; 1801 1799 else … … 1803 1801 1804 1802 if (tsx->role == PJSIP_ROLE_UAC) { 1803 pj_assert(tsx->status_code < 200); 1805 1804 /* Retransmission for non-INVITE transaction caps-off at T2 */ 1806 1805 if (msec_time>PJSIP_T2_TIMEOUT && tsx->method.id!=PJSIP_INVITE_METHOD) … … 2422 2421 &timeout); 2423 2422 2423 /* Cancel retransmission timer */ 2424 if (tsx->retransmit_timer._timer_id != -1) { 2425 pjsip_endpt_cancel_timer(tsx->endpt, &tsx->retransmit_timer); 2426 tsx->retransmit_timer._timer_id = -1; 2427 } 2428 2424 2429 /* Move state to Completed, inform TU. */ 2425 2430 tsx_set_state( tsx, PJSIP_TSX_STATE_COMPLETED,
Note: See TracChangeset
for help on using the changeset viewer.