The Registrar is built using the enhancements for Sentinel SIP. All registrar features communicate with the Sentinel SIP core
using the SentinelSipMultiLegFeatureEndpoint endpoint interface.
A registrar feature may request that the first-party REGISTER request is refused by setting the RejectRegisterRequest session state field defined in the com.opencloud.sentinel.state.SentinelRegistrarSessionState interface.
// mark that the REGISTER should be rejected
getSessionState().setRejectRegisterRequest(true);
This session state field may be inspected in feature exection scripts to choose what features should run and ultimately if the third party REGISTER request is accepted or rejected.
|
|
Refer to Features in the Sentinel documentation, for an overview of Sentinel features and how they work. |
