Changeset 152
- Timestamp:
- Feb 8, 2006 9:22:46 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_transaction.c
r145 r152 2020 2020 } 2021 2021 2022 /* Start timer J at 64*T1 for unreliable transport or zero for 2023 * reliable transport. 2024 */ 2025 if (!tsx->is_reliable) { 2022 /* Setup timeout timer: */ 2023 2024 if (tsx->method.id == PJSIP_INVITE_METHOD) { 2025 2026 /* Start Timer H at 64*T1 for INVITE server transaction, 2027 * regardless of transport. 2028 */ 2026 2029 timeout = timeout_timer_val; 2030 2031 } else if (PJSIP_TRANSPORT_IS_RELIABLE(tsx->transport)==0) { 2032 2033 /* For non-INVITE, start timer J at 64*T1 for unreliable 2034 * transport. 2035 */ 2036 timeout = timeout_timer_val; 2037 2027 2038 } else { 2039 2040 /* Transaction terminates immediately for non-INVITE when 2041 * reliable transport is used. 2042 */ 2028 2043 timeout.sec = timeout.msec = 0; 2029 2044 }
Note: See TracChangeset
for help on using the changeset viewer.