update method

void update(
  1. dynamic message,
  2. String type
)

Implementation

void update(dynamic message, String type) {
  _state = DialogStatus.STATUS_CONFIRMED;

  logger.debug('dialog ${_id.toString()}  changed to CONFIRMED state');

  if (type == 'UAC') {
    // RFC 3261 13.2.2.4.
    _route_set = message.getHeaders('record-route').reversed.toList();
  }
}