Interface SipConfigurationManagementMBean
-
- All Superinterfaces:
ConfigurationManagementMBean
public interface SipConfigurationManagementMBean extends ConfigurationManagementMBean
Defines SIS-SIP-specific configuration attributes.
-
-
Field Summary
-
Fields inherited from interface com.opencloud.slee.resources.sis.management.ConfigurationManagementMBean
SIS_MANAGEMENT_TYPE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MacroID
getOriginatingMacro()
Obtain the ID of the macro that determines originating or terminating treatment.void
setOriginatingMacro(MacroID macro)
Specify an optional macro for determining whether an initial request should be treated as the originating or terminating case.-
Methods inherited from interface com.opencloud.slee.resources.sis.management.ConfigurationManagementMBean
getAuditLevel, getDefaultServiceTimeout, getDescription, getFineGrainedTracingEnabled, setAuditLevel, setDefaultServiceTimeout, setDescription, setFineGrainedTracingEnabled
-
-
-
-
Method Detail
-
setOriginatingMacro
void setOriginatingMacro(MacroID macro) throws ManagementException
Specify an optional macro for determining whether an initial request should be treated as the originating or terminating case. Unlike IN, this is not well defined in SIP, and may be network-specific.If the macro is null or cannot be not found, then the SIS assumes all requests are originating.
Note: The SIS instance must be reloaded for updates to this attribute to take effect.
- Parameters:
macro
- theMacroID
of a macro installed in the SIS that can examine a request to determine if it is originating or not. The macro should return true if the request is originating, otherwise false (terminating). May be null.- Throws:
ManagementException
- if an error occurs communicating with the management server.
-
getOriginatingMacro
MacroID getOriginatingMacro() throws ManagementException
Obtain the ID of the macro that determines originating or terminating treatment.- Returns:
- the currently configured
MacroID
, ornull
if this is not configured. - Throws:
ManagementException
- if an error occurs communicating with the management server.
-
-