Changeset 4408


Ignore:
Timestamp:
Feb 27, 2013 3:05:29 PM (11 years ago)
Author:
riza
Message:

Re #1627: backported to 1.x

Location:
pjproject/branches/1.x
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x

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

    r4402 r4408  
    34793479    } 
    34803480 
     3481    /* Ticket #1627: Invoke on_call_tsx_state() when call is disconnected. */ 
     3482    if (inv->state == PJSIP_INV_STATE_DISCONNECTED && 
     3483        e->type == PJSIP_EVENT_TSX_STATE && 
     3484        call->inv && 
     3485        pjsua_var.ua_cfg.cb.on_call_tsx_state) 
     3486    { 
     3487        (*pjsua_var.ua_cfg.cb.on_call_tsx_state)(call->index, 
     3488                                                 e->body.tsx_state.tsx, e); 
     3489    } 
    34813490 
    34823491    if (pjsua_var.ua_cfg.cb.on_call_state) 
     
    43054314 
    43064315    if (call->inv == NULL) { 
    4307         /* Shouldn't happen. It happens only when we don't terminate the 
    4308          * server subscription caused by REFER after the call has been 
    4309          * transfered (and this call has been disconnected), and we 
    4310          * receive another REFER for this call. 
    4311          */ 
     4316        /* Call has been disconnected. */ 
    43124317        return; 
    43134318    } 
Note: See TracChangeset for help on using the changeset viewer.