Skip to content

Conversation

@jamesaylett
Copy link

Resolves issue #865.

Adds a configuration parameter to allow turning off automatically sending provisional responses. Defaults to current behaviour.

Comment on lines +275 to +281

/**
* If true, a first provisional response after the 100 Trying will be sent automatically if UAC does not
* require reliable provisional responses.
* @defaultValue `true`
*/
sendInitialProvisionalResponse?: boolean;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please match style by adding this new option in alphabetical order - thanks.

userAgentString: "SIP.js/" + LIBRARY_VERSION,
viaHost: ""
viaHost: "",
sendInitialProvisionalResponse: true
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please match style by adding this new option in alphabetical order - thanks.

@john-e-riordan
Copy link
Collaborator

Other than the suggested changes to matching style, looks good to me.

@john-e-riordan
Copy link
Collaborator

Oh - docs will need to be re-generated.

@james-criscuolo james-criscuolo merged commit 1964c4b into onsip:master Jan 26, 2021
@james-criscuolo
Copy link
Collaborator

Thanks again! I'll make the suggested changes in a follow-up commit now.

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.

4 participants