Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

luis-claro
Copy link

@luis-claro luis-claro commented Jul 19, 2021

Currently, SIP.js uses the provided credentials to authenticate during the entire session. However, if we want to have ephemeral credentials, we need a way to rotate these credentials during the same session to perform reREGISTER operations.

The goal of this pull request is to improve SIP.js in order to provide a way to obtain credentials in a more dynamic way, i.e. allowing to provide a function that will return the appropriate credentials whenever the (re)authentication is required.

Copy link
Collaborator

@etamme etamme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, not sure why the build is failing on DTMF tests, but assuming the tests get clean runs this is a nice addition.

@egreenmachine
Copy link
Collaborator

Random failure. I reran the tests and all is now good.

@luis-claro luis-claro marked this pull request as ready for review July 20, 2021 07:44
@luis-claro
Copy link
Author

Thanks. 👍
Can this PR be merged?🙏
I don't have write access.

@etamme etamme merged commit 5cf8056 into onsip:master Jul 20, 2021
@luis-claro
Copy link
Author

Hi! 👋
Do you have an estimated date for a new release that includes this feature? 🙏

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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.