Changeset 2306


Ignore:
Timestamp:
Sep 22, 2008 2:36:00 PM (11 years ago)
Author:
bennylp
Message:

Ticket #641: Assertion error when late 200/OK is received after call has been disconnected (thanks Dan Åberg for the report)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip-ua/sip_inv.c

    r2304 r2306  
    359359 
    360360 
    361     /* Set state to CONFIRMED (if we're not in CONFIRMED yet) */ 
    362     if (inv->state != PJSIP_INV_STATE_CONFIRMED) { 
     361    /* Set state to CONFIRMED (if we're not in CONFIRMED yet). 
     362     * But don't set it to CONFIRMED if we're already DISCONNECTED 
     363     * (this may have been a late 200/OK response. 
     364     */ 
     365    if (inv->state < PJSIP_INV_STATE_CONFIRMED) { 
    363366        inv_set_state(inv, PJSIP_INV_STATE_CONFIRMED, e); 
    364367    } 
Note: See TracChangeset for help on using the changeset viewer.