We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 31d91ab + cc362b2 commit de3e96fCopy full SHA for de3e96f
src/Plugins/BotSharp.Plugin.Twilio/OutboundPhoneCallHandler/Functions/HangupPhoneCallFn.cs
@@ -29,8 +29,8 @@ public async Task<bool> Execute(RoleDialogModel message)
29
var args = JsonSerializer.Deserialize<HangupPhoneCallArgs>(message.FunctionArgs);
30
31
var fileStorage = _services.GetRequiredService<IFileStorageService>();
32
- var routing = _services.GetRequiredService<IRoutingService>();
33
- var conversationId = routing.Context.ConversationId;
+ var convService = _services.GetRequiredService<IConversationService>();
+ var conversationId = convService.ConversationId;
34
var states = _services.GetRequiredService<IConversationStateService>();
35
var callSid = states.GetState("twilio_call_sid");
36
0 commit comments