Changed defaults of Fast Start and H.245 Tunneling to true.

Added some comments in the h323chan configuration sample.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4646 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2011-10-17 10:16:01 +00:00
parent 1051c59a8f
commit d73ad10f72
2 changed files with 8 additions and 5 deletions

View File

@ -129,14 +129,16 @@ alias = yate
; ident: string: Sets the hostname part of the outgoing e.164 (numeric) aliases
ident = yate
; maxconns: int: Maximum number of simultaneous connections (0 = no limit).
; maxconns: int: Maximum number of simultaneous connections (0 = no limit).
;maxconns = 0
; faststart: bool: Enable Fast Start mode (offer media channels early)
;faststart=false
; This setting is required when doing direct RTP forwarding between endpoints
;faststart=true
; h245tunneling: bool: Enable H.245 tunneling mode
;h245tunneling=false
; This setting is almost always required to pass through a NAT
;h245tunneling=true
; h245insetup: bool: Enable H.245 establishment early in call setup message
; Note that this setting may conflict with faststart so don't enable both
@ -146,6 +148,7 @@ ident = yate
;dtmfinband = false
; silencedetect: keyword: Silence detection algorithm: none, fixed, adaptive
; This applies only to OpenH323 internal RTP
;silencedetect = none
; gkclient: bool: If h323 module endpoint should register to a gatekeeper

View File

@ -835,8 +835,8 @@ bool YateH323EndPoint::Init(const NamedList* params)
AddAllUserInputCapabilities(0,1);
DisableDetectInBandDTMF(!(params && params->getBoolValue("dtmfinband",s_inband)));
DisableFastStart(!(params && params->getBoolValue("faststart")));
DisableH245Tunneling(!(params && params->getBoolValue("h245tunneling")));
DisableFastStart(params && !params->getBoolValue("faststart",true));
DisableH245Tunneling(params && !params->getBoolValue("h245tunneling",true));
DisableH245inSetup(!(params && params->getBoolValue("h245insetup")));
SetSilenceDetectionMode(static_cast<H323AudioCodec::SilenceDetectionMode>
(params ? params->getIntValue("silencedetect",dict_silence,H323AudioCodec::NoSilenceDetection)