Ignore:
Timestamp:
Sep 24, 2006 12:07:11 AM (18 years ago)
Author:
bennylp
Message:

Fixed several bugs in PJSUA-API:

  • in some condition, when outgoing call fails, call count incorrectly decremented to -1
  • introduce account priority in pjsua_acc_config, and improve the account searching for incoming calls
  • pjsua will hangup call after sending transfer/REFER request.
File:
1 edited

Legend:

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

    r731 r737  
    10211021 
    10221022/** 
     1023 * Default account priority. 
     1024 */ 
     1025#ifndef PJSUA_DEFAULT_ACC_PRIORITY 
     1026#   define PJSUA_DEFAULT_ACC_PRIORITY   0 
     1027#endif 
     1028 
     1029 
     1030/** 
    10231031 * Account configuration. 
    10241032 */ 
    10251033typedef struct pjsua_acc_config 
    10261034{ 
     1035    /** 
     1036     * Account priority, which is used to control the order of matching 
     1037     * incoming/outgoing requests. The higher the number means the higher 
     1038     * the priority is, and the account will be matched first. 
     1039     */ 
     1040    int             priority; 
     1041 
    10271042    /**  
    10281043     * The full SIP URL for the account. The value can take name address or  
Note: See TracChangeset for help on using the changeset viewer.