Ignore:
Timestamp:
Feb 18, 2012 2:12:22 AM (12 years ago)
Author:
bennylp
Message:

Fixed #1452: Wrong call media state is reported if hold request is challenged with authentication (thanks Bogdan Krakowski for the fix)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/pjsip/src/pjsua-lib/pjsua_call.c

    r3771 r3954  
    43274327    } 
    43284328 
     4329    /* https://trac.pjsip.org/repos/ticket/1452: 
     4330     *    If a request is retried due to 401/407 challenge, don't process the 
     4331     *    transaction first but wait until we've retried it. 
     4332     */ 
     4333    if (tsx->role == PJSIP_ROLE_UAC && 
     4334        (tsx->status_code==401 || tsx->status_code==407) && 
     4335        tsx->last_tx && tsx->last_tx->auth_retry) 
     4336    { 
     4337        PJSUA_UNLOCK(); 
     4338        return; 
     4339    } 
     4340 
    43294341    /* Notify application callback first */ 
    43304342    if (pjsua_var.ua_cfg.cb.on_call_tsx_state) { 
Note: See TracChangeset for help on using the changeset viewer.