Changeset 5252


Ignore:
Timestamp:
Mar 3, 2016 8:30:56 AM (4 years ago)
Author:
ming
Message:

Fixed #1905: assertion in call redirection

File:
1 edited

Legend:

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

    r5241 r5252  
    47984798               tsx->state >= PJSIP_TSX_STATE_COMPLETED && 
    47994799               e->body.tsx_state.prev_state < PJSIP_TSX_STATE_COMPLETED && 
    4800                (tsx->status_code!=401 && tsx->status_code!=407 && 
     4800               (!PJSIP_IS_STATUS_IN_CLASS(tsx->status_code, 300) && 
     4801                tsx->status_code!=401 && tsx->status_code!=407 && 
    48014802                tsx->status_code!=422)) 
    48024803    { 
     
    48434844               tsx->state >= PJSIP_TSX_STATE_COMPLETED && 
    48444845               e->body.tsx_state.prev_state < PJSIP_TSX_STATE_COMPLETED && 
    4845                (tsx->status_code!=401 && tsx->status_code!=407 && 
     4846               (!PJSIP_IS_STATUS_IN_CLASS(tsx->status_code, 300) && 
     4847                tsx->status_code!=401 && tsx->status_code!=407 && 
    48464848                tsx->status_code!=422)) 
    48474849    { 
Note: See TracChangeset for help on using the changeset viewer.