Changeset 3371 for pjproject/trunk


Ignore:
Timestamp:
Nov 17, 2010 9:15:04 AM (14 years ago)
Author:
bennylp
Message:

Fixed #1159: UPDATE is sent to lock codec even though call is being disconnected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c

    r3349 r3371  
    30803080    } 
    30813081 
     3082    /* Don't do this if call is disconnecting! */ 
     3083    if (call->inv->state > PJSIP_INV_STATE_CONFIRMED || 
     3084        call->inv->cause >= 200) 
     3085    { 
     3086        return PJ_SUCCESS; 
     3087    } 
     3088 
    30823089    /* Verify if another SDP negotiation has been completed by comparing 
    30833090     * the SDP version. 
Note: See TracChangeset for help on using the changeset viewer.