Skip to content

[fix](sipaccount) allow to pass InviterOptions when making call#46

Open
areski wants to merge 1 commit intoOpenTelecom:devfrom
areski:fix_support_sipheader_makecall_patch
Open

[fix](sipaccount) allow to pass InviterOptions when making call#46
areski wants to merge 1 commit intoOpenTelecom:devfrom
areski:fix_support_sipheader_makecall_patch

Conversation

@areski
Copy link
Contributor

@areski areski commented Dec 9, 2020

It would be very practical if we can allow to control the InviterOptions, for instance to set SIP Headers when making calls.

Usage:

      const InviterOptions = {
        extraHeaders: [
          'X-Referred-By-Someone: Username'
        ]
      }
      sipAccount.makeCall(phone_number, InviterOptions)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant