versatica / JsSIP

JsSIP, the JavaScript SIP library
https://jssip.net
Other
2.4k stars 739 forks source link

Allow set JSSIP.UA extra_headers in runtime #824

Closed angeloraso closed 10 months ago

angeloraso commented 1 year ago

According to the documentation, the JSSIP.UA set method:

Modifies the given UA configuration parameter in runtime (once started). Currently just authorization_user, password, realm, ha1, authorization_jwt and display_name can be modified.

cesterlizi commented 1 year ago

Hi, this is very useful change related to pull request #774 that was released in version 3.1.0 since some of this headers may change during registration and without this fix we need to create a new UA every time we need to change registration headers. Can we merge this pull request and make it available for next release ?

jmillan commented 10 months ago

This has been added to the latest release.