public static interface DialogBuilder.Unconfigured
DialogBuilder
, then configure the builder and create the dialog
using DialogBuilder.newDialog()
.
DialogActivity d = sleeSipProvider.newDialogBuilder() .outgoing(from, to) .withCallID(callID) .newDialog();
Modifier and Type | Method and Description |
---|---|
DialogBuilder |
forwarded(DialogActivity incoming)
Creates a new
DialogBuilder that will create a dialog based on the
parameters of an incoming dialog. |
DialogBuilder |
initialTransaction(Transaction t)
Creates a new
DialogBuilder that will create a dialog based on the initial
transaction's request |
DialogBuilder |
outgoing(Address from,
Address to)
Creates a new
DialogBuilder that will create an outgoing dialog using the
given local and remote addresses. |
DialogBuilder outgoing(Address from, Address to)
DialogBuilder
that will create an outgoing dialog using the
given local and remote addresses.DialogBuilder
DialogBuilder initialTransaction(Transaction t)
DialogBuilder
that will create a dialog based on the initial
transaction's requestt
- an initial dialog-creating ClientTransaction
or ServerTransaction
DialogBuilder
DialogBuilder forwarded(DialogActivity incoming)
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.incoming
- the incoming dialogDialogBuilder