Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/spotty-spies-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"github.com/livekit/protocol": patch
---

Adding an rpc to record call context using SipCallInfo
7 changes: 7 additions & 0 deletions protobufs/rpc/io.proto
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ service IOInfo {
rpc GetSIPTrunkAuthentication(GetSIPTrunkAuthenticationRequest) returns (GetSIPTrunkAuthenticationResponse);
rpc EvaluateSIPDispatchRules(EvaluateSIPDispatchRulesRequest) returns (EvaluateSIPDispatchRulesResponse);
rpc UpdateSIPCallState(UpdateSIPCallStateRequest) returns (google.protobuf.Empty);
rpc RecordCallContext(RecordCallContextRequest) returns (google.protobuf.Empty);
}

message GetEgressRequest {
Expand Down Expand Up @@ -214,6 +215,12 @@ message UpdateSIPCallStateRequest {
// NEXT ID: 3
}

message RecordCallContextRequest {
livekit.SIPCallInfo call_info = 1;

// NEXT ID: 2
}

enum SIPDispatchResult {
LEGACY_ACCEPT_OR_PIN = 0; // check request_pin field
ACCEPT = 1;
Expand Down
209 changes: 130 additions & 79 deletions rpc/io.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading