Skip to content

Commit 7b3b388

Browse files
Adding an RPC to record call context using the callinfo (#1189)
* Adding an RPC to record call context using the callinfo * generated protobuf * Adding changeset --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent eab9e7d commit 7b3b388

File tree

4 files changed

+268
-188
lines changed

4 files changed

+268
-188
lines changed

.changeset/spotty-spies-dance.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"github.com/livekit/protocol": patch
3+
---
4+
5+
Adding an rpc to record call context using SipCallInfo

protobufs/rpc/io.proto

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ service IOInfo {
4242
rpc GetSIPTrunkAuthentication(GetSIPTrunkAuthenticationRequest) returns (GetSIPTrunkAuthenticationResponse);
4343
rpc EvaluateSIPDispatchRules(EvaluateSIPDispatchRulesRequest) returns (EvaluateSIPDispatchRulesResponse);
4444
rpc UpdateSIPCallState(UpdateSIPCallStateRequest) returns (google.protobuf.Empty);
45+
rpc RecordCallContext(RecordCallContextRequest) returns (google.protobuf.Empty);
4546
}
4647

4748
message GetEgressRequest {
@@ -214,6 +215,12 @@ message UpdateSIPCallStateRequest {
214215
// NEXT ID: 3
215216
}
216217

218+
message RecordCallContextRequest {
219+
livekit.SIPCallInfo call_info = 1;
220+
221+
// NEXT ID: 2
222+
}
223+
217224
enum SIPDispatchResult {
218225
LEGACY_ACCEPT_OR_PIN = 0; // check request_pin field
219226
ACCEPT = 1;

rpc/io.pb.go

Lines changed: 130 additions & 79 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)