- Timestamp:
- Feb 9, 2006 2:14:21 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip-ua/sip_inv.c
r169 r170 199 199 */ 200 200 if (method->id == PJSIP_ACK_METHOD && inv && 201 inv->state == PJSIP_INV_STATE_CONFIRMED)201 inv->state != PJSIP_INV_STATE_CONFIRMED) 202 202 { 203 203 pjsip_event event; 204 205 /* Terminate INVITE transaction, if it's still present. */ 206 if (inv->invite_tsx && 207 inv->invite_tsx->state <= PJSIP_TSX_STATE_COMPLETED) 208 { 209 pjsip_tsx_terminate(inv->invite_tsx, 210 inv->invite_tsx->status_code); 211 inv->invite_tsx = NULL; 212 } 204 213 205 214 PJSIP_EVENT_INIT_RX_MSG(event, rdata); … … 1562 1571 1563 1572 inv_send_ack(inv, e->body.tsx_state.src.rdata); 1573 inv_set_state(inv, PJSIP_INV_STATE_CONFIRMED, e); 1564 1574 1565 1575 … … 1701 1711 1702 1712 inv_send_ack(inv, e->body.tsx_state.src.rdata); 1703 1704 1713 inv_set_state(inv, PJSIP_INV_STATE_CONFIRMED, e); 1705 1714 }
Note: See TracChangeset
for help on using the changeset viewer.