Changeset 2053 for pjproject/trunk
- Timestamp:
- Jun 25, 2008 6:35:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip-ua/sip_inv.c
r2049 r2053 2547 2547 * but only the transaction. 2548 2548 */ 2549 if ((tsx->status_code == PJSIP_SC_CALL_TSX_DOES_NOT_EXIST && 2549 if (inv->state != PJSIP_INV_STATE_DISCONNECTED && 2550 ((tsx->status_code == PJSIP_SC_CALL_TSX_DOES_NOT_EXIST && 2550 2551 tsx->method.id != PJSIP_CANCEL_METHOD) || 2551 tsx->status_code == PJSIP_SC_REQUEST_TIMEOUT ||2552 tsx->status_code == PJSIP_SC_TSX_TIMEOUT ||2553 tsx->status_code == PJSIP_SC_TSX_TRANSPORT_ERROR)2552 tsx->status_code == PJSIP_SC_REQUEST_TIMEOUT || 2553 tsx->status_code == PJSIP_SC_TSX_TIMEOUT || 2554 tsx->status_code == PJSIP_SC_TSX_TRANSPORT_ERROR)) 2554 2555 { 2555 2556 pjsip_tx_data *bye; … … 3304 3305 tsx->role == PJSIP_ROLE_UAC) 3305 3306 { 3306 /* Must not have other pending INVITE transaction */3307 pj_assert(inv->invite_tsx==NULL || tsx==inv->invite_tsx);3308 3307 3309 3308 /* … … 3311 3310 */ 3312 3311 if (tsx->state == PJSIP_TSX_STATE_CALLING) { 3312 3313 /* Must not have other pending INVITE transaction */ 3314 pj_assert(inv->invite_tsx==NULL || tsx==inv->invite_tsx); 3313 3315 3314 3316 /* Save pending invite transaction */ … … 3419 3421 3420 3422 } 3421 } 3422 } 3423 3423 3424 } else if (tsx->role == PJSIP_ROLE_UAC) { 3425 /* 3426 * Handle 401/407/408/481 response 3427 */ 3428 handle_uac_tsx_response(inv, e); 3429 } 3430 } 3431
Note: See TracChangeset
for help on using the changeset viewer.