Skip to content

TEL-459: route outbound sip traffic through a proxy - #643

Merged
hechen-eng merged 10 commits into
mainfrom
out_fe
Apr 8, 2026
Merged

TEL-459: route outbound sip traffic through a proxy#643
hechen-eng merged 10 commits into
mainfrom
out_fe

Conversation

@hechen-eng

Copy link
Copy Markdown
Contributor

No description provided.

@hechen-eng
hechen-eng requested a review from a team as a code owner March 31, 2026 22:04
Comment thread pkg/sip/outbound.go
@hechen-eng
hechen-eng force-pushed the out_fe branch 2 times, most recently from 1b53df5 to 652db1a Compare April 1, 2026 23:24
Comment thread pkg/config/config.go
Comment thread pkg/sip/outbound.go
return AttrsToHeaders(r.LocalParticipant.Attributes(), c.sipConf.attrsToHeaders, headers)
})
if sipConf.featureFlags[outboundRouteHeadersFeatureFlag] == "true" {
call.cc.routeHeaders = conf.OutboundRouteHeaders

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.

Maybe we should consider putting these URIs to the CreateSIPParticipant request instead? This would allow the user to add any external proxies to the path, as we as Cloud who will inject it's own set of URIs. In that case we won't need a feature flag here even.

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.

Good idea, and I think it'll be helpful to do percentage traffic migration there. That being said, feature flag is still useful here if we only want to enable it for UHG, which is our plan. We may need both..

@hechen-eng
hechen-eng force-pushed the out_fe branch 3 times, most recently from c62f82f to 9453e13 Compare April 5, 2026 03:28
@hechen-eng
hechen-eng merged commit 0b27a4b into main Apr 8, 2026
6 checks passed
@hechen-eng
hechen-eng deleted the out_fe branch April 8, 2026 07:04
hechen-eng added a commit that referenced this pull request Apr 8, 2026
* TEL-459: route outbound sip traffic through a proxy

* depend route header for outbound call route

Made-with: Cursor

* add feature flag for route headers

* naming

* fix

* bump sipgo

* update sipgo

* Revert "Modify Record-Route handling (#633)"

This reverts commit 864dff4.

* bump sipgo

* bump sipgo
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.

3 participants