Interface SipSCSEvent

    • Method Detail

      • getSipRequest

        Request getSipRequest()
        Get the JAIN SIP Request object received by the SIS-SIP.
        Returns:
        an immutable Request object.
      • forward

        void forward​(Header... headers)
        Forwards the request back to the network. No composition is selected but the request will continue to its original destination. Additional headers may be added to the outgoing request. Routing headers such as Route and Record-Route will be ignored.
        Parameters:
        headers - an optional list of headers to be added to the outgoing request.
      • forward

        void forward​(URI destination,
                     Header... headers)
        Forwards the request back to the network, but with a new destination address. No composition is selected but the request will continue to its new destination. Additional headers may be added to the outgoing request. Routing headers such as Route and Record-Route will be ignored.
        Parameters:
        destination - a new destination URI for the request
        headers - an optional list of headers to be added to the outgoing request.
      • reject

        void reject​(int statusCode,
                    String reasonPhrase,
                    Header... headers)
        Instruct the SIS to reject the request with an error response.
        Parameters:
        statusCode - the status code of the response, must be in the range 300-699.
        reasonPhrase - the reason phrase, may be null, in which case the default reason phrase for the status code will be used
        headers - optional list of headers that will be inserted in the response