Ignore:
Timestamp:
Nov 11, 2006 4:16:04 PM (17 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_endpoint.h

    r753 r797  
    404404 
    405405/** 
     406 * Check if we have the specified capability. 
     407 * 
     408 * @param endpt     The endpoint. 
     409 * @param htype     The header type to be retrieved, which value may be: 
     410 *                  - PJSIP_H_ACCEPT 
     411 *                  - PJSIP_H_ALLOW 
     412 *                  - PJSIP_H_SUPPORTED 
     413 * @param hname     If htype specifies PJSIP_H_OTHER, then the header name 
     414 *                  must be supplied in this argument. Otherwise the value 
     415 *                  must be set to NULL. 
     416 * @param token     The capability token to check. For example, if \a htype 
     417 *                  is PJSIP_H_ALLOW, then \a token specifies the method 
     418 *                  names; if \a htype is PJSIP_H_SUPPORTED, then \a token 
     419 *                  specifies the extension names such as "100rel". 
     420 * 
     421 * @return          PJ_TRUE if the specified capability is supported, 
     422 *                  otherwise PJ_FALSE.. 
     423 */ 
     424PJ_DECL(pj_bool_t) pjsip_endpt_has_capability( pjsip_endpoint *endpt, 
     425                                               int htype, 
     426                                               const pj_str_t *hname, 
     427                                               const pj_str_t *token); 
     428 
     429 
     430/** 
    406431 * Add or register new capabilities as indicated by the tags to the 
    407432 * appropriate header fields in the endpoint. 
Note: See TracChangeset for help on using the changeset viewer.