Interface DialogBuilder.Unconfigured

  • Enclosing interface:
    DialogBuilder

    public static interface DialogBuilder.Unconfigured
    Represents an unconfigured builder, which requires more information about the dialog before it can be created. The client must call one of the methods on this interface to select a DialogBuilder, then configure the builder and create the dialog using DialogBuilder.newDialog().
     DialogActivity d = sleeSipProvider.newDialogBuilder()
                                       .outgoing(from, to)
                                       .withCallID(callID)
                                       .newDialog();
     
    • Method Detail

      • outgoing

        DialogBuilder outgoing​(javax.sip.address.Address from,
                               javax.sip.address.Address to)
        Creates a new DialogBuilder that will create an outgoing dialog using the given local and remote addresses.
        Returns:
        a new DialogBuilder
      • initialTransaction

        DialogBuilder initialTransaction​(javax.sip.Transaction t)
        Creates a new DialogBuilder that will create a dialog based on the initial transaction's request
        Parameters:
        t - an initial dialog-creating ClientTransaction or ServerTransaction
        Returns:
        a new DialogBuilder
      • forwarded

        DialogBuilder forwarded​(net.java.slee.resource.sip.DialogActivity incoming)
        Creates a new DialogBuilder that will create a dialog based on the parameters of an incoming dialog. By default the new dialog will have the same local and remote party addresses as the incoming dialog, but will use a new Call-ID.
        Parameters:
        incoming - the incoming dialog
        Returns:
        a new DialogBuilder