Ignore:
Timestamp:
Nov 11, 2006 4:16:04 PM (14 years ago)
Author:
bennylp
Message:

Attended call transfer implementation. The changes involves:

  • Added support for SIP Replaces extension (RFC 3891)
  • Added pjsua_call_xfer_replaces() to perform attended call transfer.
  • PJSUA checks and process Replaces header in incoming calls
  • Added pjsip_ua_find_dialog() API.
  • Added pjsip_endpt_has_capability() API.
  • Added pjsip_endpt_send_response2() API.
  • etc.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip/sip_util.h

    r736 r797  
    334334 
    335335/** 
     336 * This is a convenient function which wraps #pjsip_get_response_addr() and 
     337 * #pjsip_endpt_send_response() in a single function. 
     338 * 
     339 * @param endpt     The endpoint instance. 
     340 * @param rdata     The original request to be responded. 
     341 * @param tdata     The response message to be sent. 
     342 * @param token     Token to be passed back when the callback is called. 
     343 * @param cb        Optional callback to notify the transmission status 
     344 *                  to application, and to inform whether next address or 
     345 *                  transport will be tried. 
     346 *  
     347 * @return          PJ_SUCCESS if response has been successfully created and 
     348 *                  sent to transport layer, or a non-zero error code.  
     349 *                  However, even when it returns PJ_SUCCESS, there is no  
     350 *                  guarantee that the response has been successfully sent. 
     351 */ 
     352PJ_DECL(pj_status_t) pjsip_endpt_send_response2(pjsip_endpoint *endpt, 
     353                                                pjsip_rx_data *rdata, 
     354                                                pjsip_tx_data *tdata, 
     355                                                void *token, 
     356                                                void (*cb)(pjsip_send_state*, 
     357                                                           pj_ssize_t sent, 
     358                                                           pj_bool_t *cont)); 
     359 
     360/** 
    336361 * This composite function sends response message statelessly to an incoming 
    337362 * request message. Internally it calls #pjsip_endpt_create_response() and 
Note: See TracChangeset for help on using the changeset viewer.