The REGISTER and OPTIONS methods are enabled by default.
git-svn-id: http://voip.null.ro/svn/yate@953 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
723e65297f
commit
fc60be6e1f
|
@ -11,10 +11,10 @@
|
||||||
;useragent=YATE/0.9.0
|
;useragent=YATE/0.9.0
|
||||||
|
|
||||||
; registrar: bool: Allow the SIP module to receive registration requests
|
; registrar: bool: Allow the SIP module to receive registration requests
|
||||||
;registrar=disable
|
;registrar=enable
|
||||||
|
|
||||||
; options: bool: Build and send a default 200 answer to OPTIONS requests
|
; options: bool: Build and send a default 200 answer to OPTIONS requests
|
||||||
;options=disable
|
;options=enable
|
||||||
|
|
||||||
; prack: bool: Enable acknowledging provisional 1xx answers (RFC 3262)
|
; prack: bool: Enable acknowledging provisional 1xx answers (RFC 3262)
|
||||||
;prack=disable
|
;prack=disable
|
||||||
|
|
|
@ -858,9 +858,9 @@ YateSIPEngine::YateSIPEngine(YateSIPEndPoint* ep)
|
||||||
addAllowed("INVITE");
|
addAllowed("INVITE");
|
||||||
addAllowed("BYE");
|
addAllowed("BYE");
|
||||||
addAllowed("CANCEL");
|
addAllowed("CANCEL");
|
||||||
if (s_cfg.getBoolValue("general","registrar"))
|
if (s_cfg.getBoolValue("general","registrar",true))
|
||||||
addAllowed("REGISTER");
|
addAllowed("REGISTER");
|
||||||
if (s_cfg.getBoolValue("general","options"))
|
if (s_cfg.getBoolValue("general","options",true))
|
||||||
addAllowed("OPTIONS");
|
addAllowed("OPTIONS");
|
||||||
m_prack = s_cfg.getBoolValue("general","prack");
|
m_prack = s_cfg.getBoolValue("general","prack");
|
||||||
if (m_prack)
|
if (m_prack)
|
||||||
|
|
Loading…
Reference in New Issue