Skip to content

TELCU-25 Fallback to next address if current one fails - #818

Draft
genseric-ghiro wants to merge 2 commits into
mainfrom
gensericghiro/telcu-25-outbound-failover
Draft

TELCU-25 Fallback to next address if current one fails#818
genseric-ghiro wants to merge 2 commits into
mainfrom
gensericghiro/telcu-25-outbound-failover

Conversation

@genseric-ghiro

Copy link
Copy Markdown
Contributor

Summary

@genseric-ghiro genseric-ghiro self-assigned this Aug 28, 2026
@genseric-ghiro
genseric-ghiro requested a review from a team as a code owner August 28, 2026 15:38
@genseric-ghiro
genseric-ghiro marked this pull request as draft August 28, 2026 15:38

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔍 Devin Review: 2 flags

Not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)

Devin Review

Comment thread pkg/sip/client.go Outdated
WriteRequest(req *sip.Request, options ...sipgo.ClientRequestOption) error
// TransportLayer exposes sipgo's resolution and connection handling. It may
// be nil for clients that do not own one.
TransportLayer() *transport.Layer

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm not sure yet if it's a good idea, but what if we expose a single method which is similar to the net.Resolver? Basically with a fake SIP client, regular resolver would do. And without one, sipgo will use it's logic for SRV, etc.

Or as an alternative, maybe the resolver in sipgo can be split, so that it doesn't rely on transport layer there. Just let it be a new interface and pass to sipgo. Or let sipgo create this special implementation internally in transport layer, and sip will create a second one here, if needed.

@genseric-ghiro genseric-ghiro Aug 28, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Changed it to ResolveTargets() specifically

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