Is your feature request related to a problem? Please describe.
there are no option for update method RFC 3311.
if add in extraHeader options
it gonna be multple line like 'Allow:~', 'Allow:~'
it is just pushed in session.ts about latest sipjs
such as
extraHeaders.push(
"Allow: " + ["ACK", "CANCEL", "INVITE", "MESSAGE", "BYE", "OPTIONS", "INFO", "NOTIFY", "REFER"].toString() );
)
Describe the solution you'd like
A clear and concise description of what you want to happen.
Add extraHeaderParams: [
...
]
like extraContactHeaderParams of resister
if (this.options.extraHeaderParams) {
this.options.extraHeaderParams.forEach((header: string) => {
...
});
}
Is your feature request related to a problem? Please describe. there are no option for update method RFC 3311. if add in extraHeader options it gonna be multple line like 'Allow:
~', 'Allow:~'it is just pushed in session.ts about latest sipjs such as extraHeaders.push( "Allow: " + ["ACK", "CANCEL", "INVITE", "MESSAGE", "BYE", "OPTIONS", "INFO", "NOTIFY", "REFER"].toString() ); ) Describe the solution you'd like A clear and concise description of what you want to happen. Add extraHeaderParams: [ ... ] like extraContactHeaderParams of resister
if (this.options.extraHeaderParams) { this.options.extraHeaderParams.forEach((header: string) => { ... }); }