Changeset 4718 for pjproject/trunk
- Timestamp:
- Jan 29, 2014 6:58:21 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip-simple/evsub.c
r4572 r4718 594 594 prev_state != PJSIP_EVSUB_STATE_TERMINATED) 595 595 { 596 /* Kill any timer. */ 597 set_timer(sub, TIMER_TYPE_NONE, 0); 598 596 599 if (sub->pending_tsx == 0) { 597 600 evsub_destroy(sub); … … 1148 1151 goto on_return; 1149 1152 1153 /* Set UAS timeout timer, when status code is 2xx and state is not 1154 * terminated. 1155 */ 1156 if (st_code/100 == 2 && sub->state != PJSIP_EVSUB_STATE_TERMINATED) { 1157 PJ_LOG(5,(sub->obj_name, "UAS timeout in %d seconds", 1158 sub->expires->ivalue)); 1159 set_timer(sub, TIMER_TYPE_UAS_TIMEOUT, sub->expires->ivalue); 1160 } 1150 1161 1151 1162 on_return: … … 1803 1814 } 1804 1815 1805 /* Kill any timer. */1806 set_timer(sub, TIMER_TYPE_NONE, 0);1807 1808 1816 /* Set state to TERMINATED */ 1809 1817 set_state(sub, PJSIP_EVSUB_STATE_TERMINATED,
Note: See TracChangeset
for help on using the changeset viewer.