Changeset 2058 for pjproject/trunk/pjsip/src/pjsip-ua/sip_inv.c
- Timestamp:
- Jun 26, 2008 1:24:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip-ua/sip_inv.c
r2053 r2058 2354 2354 if (status != PJ_SUCCESS) { 2355 2355 2356 /* Does not have proper credentials. 2357 * End the session anyway. 2356 /* Somehow failed. Probably it's not a good idea to terminate 2357 * the session since this is just a request within dialog. And 2358 * even if we terminate we should send BYE. 2358 2359 */ 2360 /* 2359 2361 inv_set_cause(inv, PJSIP_SC_OK, NULL); 2360 2362 inv_set_state(inv, PJSIP_INV_STATE_DISCONNECTED, e); 2363 */ 2361 2364 2362 2365 } else { … … 2579 2582 pj_status_t status; 2580 2583 2584 if (tsx->method.id == PJSIP_INVITE_METHOD) 2585 inv->invite_tsx = NULL; 2586 2581 2587 status = pjsip_auth_clt_reinit_req( &inv->dlg->auth_sess, 2582 2588 e->body.tsx_state.src.rdata, … … 2584 2590 2585 2591 if (status != PJ_SUCCESS) { 2586 /* Does not have proper credentials. End the session. */ 2592 /* Somehow failed. Probably it's not a good idea to terminate 2593 * the session since this is just a request within dialog. And 2594 * even if we terminate we should send BYE. 2595 */ 2596 /* 2587 2597 inv_set_cause(inv, PJSIP_SC_OK, NULL); 2588 2598 inv_set_state(inv, PJSIP_INV_STATE_DISCONNECTED, e); 2599 */ 2589 2600 2590 2601 } else { 2591 2602 /* Re-send request. */ 2592 if (tsx->method.id == PJSIP_INVITE_METHOD)2593 inv->invite_tsx = NULL;2594 2595 2603 status = pjsip_inv_send_msg(inv, tdata); 2596 2604 }
Note: See TracChangeset
for help on using the changeset viewer.