Skip to content

Possible extension: SIP SUBSCRIBE/NOTIFY dialog #708

@ikq

Description

@ikq

SIP SUBSCRIBE/NOTIFY dialog implemented in user (not JsSIP) code.
For this to JsSIP added arbitrary client transaction:

JsSIP modifications:
UA.js: added method:

  sendRequest(method, target, params, headers, body, handlers, credential)
  {
      debug('sendRequest()');
      const request = new SIPMessage.OutgoingRequest(method, this.normalizeTarget(target), this, params, headers, body);
      const requestSender = new RequestSender(this, request, handlers, credential);
      requestSender.send();
  }

To allow different from REGISTER authentication realm to RequestSender added argument credential.
The modification is optional.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions