Ignore:
Timestamp:
Jun 22, 2012 8:53:11 AM (12 years ago)
Author:
nanang
Message:

Fix #1526:

  • Fix incoming call without SDP by delaying media init in on_incoming_call() until call setting is set i.e: via call answer. Note that there is no need to delay the media init in the case of call replace request, the call setting is already set in the incoming call callback, i.e: via on_call_replace_request2() callback or just the current setting of the replaced call.
  • Fix processing call replace request when the media init is performed asynchronously.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r4173 r4175  
    40854085 * Send response to incoming INVITE request. Depending on the status 
    40864086 * code specified as parameter, this function may send provisional 
    4087  * response, establish the call, or terminate the call. 
     4087 * response, establish the call, or terminate the call. See also 
     4088 * #pjsua_call_answer2(). 
    40884089 * 
    40894090 * @param call_id       Incoming call identification. 
     
    41034104 
    41044105/** 
    4105  * Send response to incoming INVITE request. Depending on the status 
    4106  * code specified as parameter, this function may send provisional 
    4107  * response, establish the call, or terminate the call. 
     4106 * Send response to incoming INVITE request with call setting param. 
     4107 * Depending on the status code specified as parameter, this function may 
     4108 * send provisional response, establish the call, or terminate the call. 
     4109 * Notes about call setting: 
     4110 *  - if call setting is changed in the subsequent call to this function, 
     4111 *    only the first call setting supplied will applied. So normally 
     4112 *    application will not supply call setting before getting confirmation 
     4113 *    from the user. 
     4114 *  - if no call setting is supplied when SDP has to be sent, i.e: answer 
     4115 *    with status code 183 or 2xx, the default call setting will be used, 
     4116 *    check #pjsua_call_setting for its default values. 
    41084117 * 
    41094118 * @param call_id       Incoming call identification. 
Note: See TracChangeset for help on using the changeset viewer.