Skip to content

Relax SIP outbound validation to support carriers.#1611

Merged
dennwc merged 1 commit into
mainfrom
sip-carrier-outbound
Jun 30, 2026
Merged

Relax SIP outbound validation to support carriers.#1611
dennwc merged 1 commit into
mainfrom
sip-carrier-outbound

Conversation

@dennwc

@dennwc dennwc commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@dennwc dennwc requested a review from a team June 9, 2026 10:10
@dennwc dennwc self-assigned this Jun 9, 2026
@changeset-bot

changeset-bot Bot commented Jun 9, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0611ac2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
github.com/livekit/protocol Patch
@livekit/protocol Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Comment thread livekit/sip.go Outdated
if p.SipTrunkId == "" && p.Trunk == nil {
return errors.New("missing sip trunk id")
if p.SipTrunkId == "" && p.Trunk == nil && p.SipNumber == "" {
return errors.New("missing sip trunk id or sip number to use")

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.

missing sip trunk id and sip number?

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.

@dennwc we also need to check that this is belonging to the account right ?

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.

This is a protocol package, it cannot make this decision here. It will be done in IO.

@dennwc dennwc force-pushed the sip-carrier-outbound branch from 265f874 to 0611ac2 Compare June 10, 2026 13:44
@dennwc dennwc merged commit b6fd073 into main Jun 30, 2026
8 checks passed
@dennwc dennwc deleted the sip-carrier-outbound branch June 30, 2026 14:42
@github-actions github-actions Bot mentioned this pull request Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants