New UA config param for global extra headers
Some proprietary SIP call managers require the presence of specific extra SIP headers to be present in every single request and response from a client. Currently JsSIP doesn't have a way to accomplish that, extra headers can only be added to some specific requests and responses that are directly triggered via JsSIP APIs like UA.call() or RTCSession.answer(), but many requests/responses that are triggered internally by JsSIP like ACKs or error responses don't contain these headers.
This PR adds the new UA configuration entry "extra_headers", which contains headers that should be added to every request and response, even provisional responses and ACKs. Any extra headers that are provided through the already existing APIs are added on top of these global extra headers.
Merge?
Once I prepare a new version in the docs I'll merge and add this config.
Thanks @stefang42, JsSIP 3.10.0 has been released.