Changeset 4521 for pjproject


Ignore:
Timestamp:
May 18, 2013 5:54:22 AM (12 years ago)
Author:
bennylp
Message:

Fixed #1667: Handle incoming UPDATE before 101-199 response is received

File:
1 edited

Legend:

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

    r4487 r4521  
    37073707            inv_set_state(inv, PJSIP_INV_STATE_DISCONNECTED, e); 
    37083708        } 
     3709    } else if (tsx->role == PJSIP_ROLE_UAS && 
     3710               tsx->state == PJSIP_TSX_STATE_TRYING && 
     3711               pjsip_method_cmp(&tsx->method, &pjsip_update_method)==0) 
     3712    { 
     3713        /* 
     3714         * Handle a very early UPDATE 
     3715         */ 
     3716        inv_respond_incoming_update(inv, e->body.tsx_state.src.rdata); 
     3717 
     3718 
    37093719    } 
    37103720} 
Note: See TracChangeset for help on using the changeset viewer.