Ignore:
Timestamp:
Apr 2, 2007 11:22:49 AM (17 years ago)
Author:
bennylp
Message:

Added PJSUA API to create request using account config

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/pjproject-0.5-stable/pjsip/include/pjsua-lib/pjsua.h

    r974 r1122  
    22892289 
    22902290/** 
     2291 * Create arbitrary requests using the account. Application should only use 
     2292 * this function to create auxiliary requests outside dialog, such as 
     2293 * OPTIONS, and use the call or presence API to create dialog related 
     2294 * requests. 
     2295 * 
     2296 * @param acc_id        The account ID. 
     2297 * @param method        The SIP method of the request. 
     2298 * @param target        Target URI. 
     2299 * @param p_tdata       Pointer to receive the request. 
     2300 * 
     2301 * @return              PJ_SUCCESS or the error code. 
     2302 */ 
     2303PJ_DECL(pj_status_t) pjsua_acc_create_request(pjsua_acc_id acc_id, 
     2304                                              const pjsip_method *method, 
     2305                                              const pj_str_t *target, 
     2306                                              pjsip_tx_data **p_tdata); 
     2307 
     2308 
     2309/** 
    22912310 * Create a suitable URI to be put as Contact based on the specified 
    22922311 * target URI for the specified account. 
Note: See TracChangeset for help on using the changeset viewer.