Interface SipConfigurationManagementMBean

    • 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 - the MacroID 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, or null if this is not configured.
        Throws:
        ManagementException - if an error occurs communicating with the management server.