Ignore:
Timestamp:
Feb 21, 2006 11:47:00 PM (18 years ago)
Author:
bennylp
Message:

Implemented major feature: call hold and transfer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip-simple/evsub.h

    r197 r212  
    7777 
    7878 
     79/** 
     80 * Some options for the event subscription. 
     81 */ 
     82enum 
     83{ 
     84    /**  
     85     * If this flag is set, then outgoing request to create subscription 
     86     * will not have id in the Event header (e.g. in REFER request). But if  
     87     * there is an id in the incoming NOTIFY, that id will be used. 
     88     */ 
     89    PJSIP_EVSUB_NO_EVENT_ID  = 1, 
     90}; 
     91 
    7992 
    8093/** 
     
    245258 * @param user_cb       Callback to receive event subscription notifications. 
    246259 * @param event         Event name. 
     260 * @param option        Bitmask of options. 
    247261 * @param p_evsub       Pointer to receive event subscription instance. 
    248262 * 
     
    252266                                             const pjsip_evsub_user *user_cb, 
    253267                                             const pj_str_t *event, 
     268                                             unsigned option, 
    254269                                             pjsip_evsub **p_evsub); 
    255270 
     
    261276 * @param rdata         The incoming request that creates the event  
    262277 *                      subscription, such as SUBSCRIBE or REFER. 
     278 * @param option        Bitmask of options. 
    263279 * @param p_evsub       Pointer to receive event subscription instance. 
    264280 * 
     
    268284                                             const pjsip_evsub_user *user_cb, 
    269285                                             pjsip_rx_data *rdata, 
     286                                             unsigned option, 
    270287                                             pjsip_evsub **p_evsub); 
    271288 
     
    367384 
    368385/** 
    369  * Send request message. 
     386 * Send request message that was previously created with initiate(), notify(), 
     387 * or current_notify(). Application may also send request created with other 
     388 * functions, e.g. authentication. But the request MUST be either request 
     389 * that creates/refresh subscription or NOTIFY request. 
    370390 * 
    371391 * @param sub           The event subscription object. 
Note: See TracChangeset for help on using the changeset viewer.