Changeset 1732


Ignore:
Timestamp:
Jan 23, 2008 8:25:39 PM (17 years ago)
Author:
bennylp
Message:

Related to ticket #61: Added PJSIP_ESESSIONINSECURE error code in sip_errno to require that secure session shall be used (needed by SRTP)

Location:
pjproject/trunk/pjsip
Files:
2 edited

Legend:

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

    r1539 r1732  
    429429 */ 
    430430#define PJSIP_ESESSIONSTATE      (PJSIP_ERRNO_START_PJSIP+141)  /* 171141 */ 
    431  
     431/** 
     432 * @hideinitializer 
     433 * The feature being requested requires the use of secure session or  
     434 * transport. 
     435 */ 
     436#define PJSIP_ESESSIONINSECURE  (PJSIP_ERRNO_START_PJSIP+142)   /* 171142 */ 
    432437 
    433438/************************************************************ 
  • pjproject/trunk/pjsip/src/pjsip/sip_errno.c

    r1539 r1732  
    115115    PJ_BUILD_ERR( PJSIP_ESESSIONTERMINATED, "INVITE session already terminated" ), 
    116116    PJ_BUILD_ERR( PJSIP_ESESSIONSTATE,      "Invalid INVITE session state" ), 
     117    PJ_BUILD_ERR( PJSIP_ESESSIONINSECURE,   "Require secure session/transport"), 
    117118 
    118119    /* SSL errors */ 
Note: See TracChangeset for help on using the changeset viewer.