InviteServerTransaction constructor

InviteServerTransaction(
  1. PitelUA ua,
  2. Transport? transport,
  3. IncomingRequest request
)

Implementation

InviteServerTransaction(
    PitelUA ua, Transport? transport, IncomingRequest request) {
  id = request.via_branch;
  this.ua = ua;
  this.transport = transport;
  this.request = request;
  last_response = IncomingMessage();
  request.server_transaction = this;

  state = TransactionState.PROCEEDING;

  ua.newTransaction(this);

  _resendProvisionalTimer = null;

  request.reply(100);
}