Changeset 4462


Ignore:
Timestamp:
Apr 9, 2013 10:12:54 AM (6 years ago)
Author:
nanang
Message:

Fix #1654: do not cancel SDP offer when transaction state changes from 'completed' to 'terminated', as it have been cancelled before (when tsx state is 'completed').

File:
1 edited

Legend:

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

    r4455 r4462  
    44794479            /* Nothing to do (already handled) */ 
    44804480 
    4481         } else if (tsx->status_code >= 300 && tsx->status_code < 700) { 
     4481        } else if (tsx->status_code >= 300 && tsx->status_code < 700 && 
     4482                   e->body.tsx_state.prev_state != PJSIP_TSX_STATE_COMPLETED) 
     4483        { 
     4484            /* Ticket #1654: do not cancel SDP offer when tsx state changing 
     4485             * from 'completed' to 'terminated', as it should have already 
     4486             * been cancelled when tsx state is 'completed'. 
     4487             */ 
    44824488 
    44834489            pjmedia_sdp_neg_state neg_state; 
Note: See TracChangeset for help on using the changeset viewer.