diff options
author | Benny Prijono <bennylp@teluu.com> | 2010-06-24 12:33:18 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2010-06-24 12:33:18 +0000 |
commit | 6bcce59a3e476310963c78b6ce1f3efa6d7ea510 (patch) | |
tree | f9f9193ac9603562e79acc75631debc4d31c33a4 /pjsip/include | |
parent | 70d7dcc89eba4bfa7dedd9a187bb2bb15e07ba5a (diff) |
Fixed #1081: Implement ICE option tag (RFC 5678)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3222 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include')
-rw-r--r-- | pjsip/include/pjsip-ua/sip_inv.h | 12 | ||||
-rw-r--r-- | pjsip/include/pjsua-lib/pjsua.h | 12 |
2 files changed, 23 insertions, 1 deletions
diff --git a/pjsip/include/pjsip-ua/sip_inv.h b/pjsip/include/pjsip-ua/sip_inv.h index a2281e47..122a148a 100644 --- a/pjsip/include/pjsip-ua/sip_inv.h +++ b/pjsip/include/pjsip-ua/sip_inv.h @@ -295,6 +295,16 @@ enum pjsip_inv_option */ PJSIP_INV_SUPPORT_UPDATE = 4, + /** + * Indicate support for ICE + */ + PJSIP_INV_SUPPORT_ICE = 8, + + /** + * Require ICE support. + */ + PJSIP_INV_REQUIRE_ICE = 16, + /** * Require reliable provisional response extension. */ @@ -309,7 +319,7 @@ enum pjsip_inv_option * Session timer extension will always be used even when peer doesn't * support/want session timer. */ - PJSIP_INV_ALWAYS_USE_TIMER = 128, + PJSIP_INV_ALWAYS_USE_TIMER = 128 }; diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h index 36a11489..add306b9 100644 --- a/pjsip/include/pjsua-lib/pjsua.h +++ b/pjsip/include/pjsua-lib/pjsua.h @@ -306,6 +306,18 @@ typedef struct pjsua_msg_data pjsua_msg_data; #endif /** + * Controls whether PJSUA-LIB should add ICE media feature tag + * parameter (the ";+sip.ice" parameter) to Contact header if ICE + * is enabled in the config. + * + * Default: 1 + */ +#ifndef PJSUA_ADD_ICE_TAGS +# define PJSUA_ADD_ICE_TAGS 1 +#endif + + +/** * Logging configuration, which can be (optionally) specified when calling * #pjsua_init(). Application must call #pjsua_logging_config_default() to * initialize this structure with the default values. |