Changeset 5329


Ignore:
Timestamp:
Jun 1, 2016 5:56:13 AM (8 years ago)
Author:
nanang
Message:

Re #1923: Added check for call availability before processing delayed answer, as call may have been disconnected after call is answered with 200 from on_incoming_call() callback but media fails to start.

File:
1 edited

Legend:

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

    r5323 r5329  
    16451645                pjsua_call_hangup(call_id, call->last_code, &call->last_text, 
    16461646                                  NULL); 
    1647             } else if (call->med_ch_cb == NULL) { 
     1647            } else if (call->med_ch_cb == NULL && call->inv) { 
    16481648                process_pending_call_answer(call); 
    16491649            } 
Note: See TracChangeset for help on using the changeset viewer.