Changeset 267 for pjproject/trunk


Ignore:
Timestamp:
Mar 2, 2006 9:16:55 PM (19 years ago)
Author:
bennylp
Message:

Fixed bug when a disconnected INVITE session was brought to confirmed again on receipt of ACK request

File:
1 edited

Legend:

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

    r241 r267  
    211211        } 
    212212 
    213         if (inv->state != PJSIP_INV_STATE_CONFIRMED) { 
     213        /* On receipt of ACK, only set state to confirmed when state 
     214         * is CONNECTING (e.g. we don't want to set the state to confirmed 
     215         * when we receive ACK retransmission after sending non-2xx!) 
     216         */ 
     217        if (inv->state == PJSIP_INV_STATE_CONNECTING) { 
    214218            pjsip_event event; 
    215219 
Note: See TracChangeset for help on using the changeset viewer.