diff options
author | Benny Prijono <bennylp@teluu.com> | 2010-10-01 02:03:42 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2010-10-01 02:03:42 +0000 |
commit | 9387bf461ffdd514de322e995f9cd0b556511c54 (patch) | |
tree | 33dd7615cdbd4d678de52eaac9a20bc39f76baf8 /pjsip/src/pjsua-lib/pjsua_core.c | |
parent | c9b181750958386e9b5f2b21e486b214e0c5906d (diff) |
Closed #1142 (Account based configuration to specify if "c=0.0.0.0" method should be used when putting call on hold):
- use PJSUA_CALL_HOLD_TYPE_DEFAULT to specify default global call hold type
- use pjsua_acc_config.call_hold_type to specify call hold type for the account
- call hold type can also be set on per call basis by changing the call_hold_type in the call structure (requires inclusion of <pjsua-lib/pjsua_internal.h>
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3330 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/pjsua-lib/pjsua_core.c')
-rw-r--r-- | pjsip/src/pjsua-lib/pjsua_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pjsip/src/pjsua-lib/pjsua_core.c b/pjsip/src/pjsua-lib/pjsua_core.c index 4adc191b..ac9bbfd5 100644 --- a/pjsip/src/pjsua-lib/pjsua_core.c +++ b/pjsip/src/pjsua-lib/pjsua_core.c @@ -189,6 +189,7 @@ PJ_DEF(void) pjsua_acc_config_default(pjsua_acc_config *cfg) cfg->use_stream_ka = (PJMEDIA_STREAM_ENABLE_KA != 0); #endif pj_list_init(&cfg->reg_hdr_list); + cfg->call_hold_type = PJSUA_CALL_HOLD_TYPE_DEFAULT; } PJ_DEF(void) pjsua_buddy_config_default(pjsua_buddy_config *cfg) |