Skip to content

Bake outbound def timeout from CLI into SDK#494

Merged
dennwc merged 1 commit into
mainfrom
sip-outbound-timeout
Jun 28, 2024
Merged

Bake outbound def timeout from CLI into SDK#494
dennwc merged 1 commit into
mainfrom
sip-outbound-timeout

Conversation

@dennwc
Copy link
Copy Markdown
Contributor

@dennwc dennwc commented Jun 27, 2024

Bake outbound default timeout from CLI into SDK. Our default timeout is too short for this specific API.

@dennwc dennwc self-assigned this Jun 27, 2024
@frostbyte73
Copy link
Copy Markdown
Member

Isn't this only adding a 30s timeout if there isn't already a timeout?

@dennwc
Copy link
Copy Markdown
Contributor Author

dennwc commented Jun 28, 2024

@frostbyte73 that's correct, but the client lib then does a similar check under the hood and sets an even lower timeout (5 sec?). So without setting a higher one here all CreateSIPParticipant requests will timeout.

@dennwc dennwc merged commit f6800e7 into main Jun 28, 2024
@dennwc dennwc deleted the sip-outbound-timeout branch June 28, 2024 09:57
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.

2 participants