Related to ticket #61: Added PJSIP_ESESSIONINSECURE error code in sip_errno to require that secure session shall be used (needed by SRTP)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1732 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
parent
b2f20e1200
commit
5b221d4fa6
|
@ -428,7 +428,12 @@ PJ_BEGIN_DECL
|
|||
* Invalid session state for the specified operation.
|
||||
*/
|
||||
#define PJSIP_ESESSIONSTATE (PJSIP_ERRNO_START_PJSIP+141) /* 171141 */
|
||||
|
||||
/**
|
||||
* @hideinitializer
|
||||
* The feature being requested requires the use of secure session or
|
||||
* transport.
|
||||
*/
|
||||
#define PJSIP_ESESSIONINSECURE (PJSIP_ERRNO_START_PJSIP+142) /* 171142 */
|
||||
|
||||
/************************************************************
|
||||
* TLS TRANSPORT ERRORS
|
||||
|
|
|
@ -114,6 +114,7 @@ static const struct
|
|||
/* Invite session. */
|
||||
PJ_BUILD_ERR( PJSIP_ESESSIONTERMINATED, "INVITE session already terminated" ),
|
||||
PJ_BUILD_ERR( PJSIP_ESESSIONSTATE, "Invalid INVITE session state" ),
|
||||
PJ_BUILD_ERR( PJSIP_ESESSIONINSECURE, "Require secure session/transport"),
|
||||
|
||||
/* SSL errors */
|
||||
PJ_BUILD_ERR( PJSIP_TLS_EUNKNOWN, "Unknown TLS error" ),
|
||||
|
|
Loading…
Reference in New Issue