Bitzsoft.Integrations.OutboundCall.Tencent
1.0.0-alpha.9
This is a prerelease version of Bitzsoft.Integrations.OutboundCall.Tencent.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Bitzsoft.Integrations.OutboundCall.Tencent --version 1.0.0-alpha.9
NuGet\Install-Package Bitzsoft.Integrations.OutboundCall.Tencent -Version 1.0.0-alpha.9
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Bitzsoft.Integrations.OutboundCall.Tencent" Version="1.0.0-alpha.9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bitzsoft.Integrations.OutboundCall.Tencent" Version="1.0.0-alpha.9" />
<PackageReference Include="Bitzsoft.Integrations.OutboundCall.Tencent" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Bitzsoft.Integrations.OutboundCall.Tencent --version 1.0.0-alpha.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Bitzsoft.Integrations.OutboundCall.Tencent, 1.0.0-alpha.9"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Bitzsoft.Integrations.OutboundCall.Tencent@1.0.0-alpha.9
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Bitzsoft.Integrations.OutboundCall.Tencent&version=1.0.0-alpha.9&prerelease
#tool nuget:?package=Bitzsoft.Integrations.OutboundCall.Tencent&version=1.0.0-alpha.9&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Bitzsoft.Integrations.OutboundCall.Tencent
腾讯云外呼实现,手写 TC3-HMAC-SHA256 签名 + HttpClient,实现 IOutboundCallService 统一接口。
功能
- 实现
IOutboundCallService统一接口(创建/暂停/恢复/停止/查询活动 + 话单查询) - 自动境内外主叫分离(基于
CreateCampaignRequest.Region选择 Callers/OverseaCallers + SdkAppId + IvrId) - 白名单/黑名单过滤(开发/测试环境防误呼)
- 自托管 HttpClient 手写 TC3 签名,不依赖 TencentCloudSDK.Common
安装
dotnet add package Bitzsoft.Integrations.OutboundCall.Tencent
配置
{
"OutboundCall": {
"AccessKeyId": "your-secret-id",
"AccessKeySecret": "your-secret-key",
"Region": "ap-guangzhou",
"SdkAppId": "100818888",
"OverseaSdkAppId": "100828888",
"CnIvrId": 21232,
"EnIvrId": 21408,
"Callers": ["008602060600606"],
"OverseaCallers": ["0085280080808"]
}
}
注册
services.AddTencentOutboundCall(options =>
{
options.AccessKeyId = "your-secret-id";
options.AccessKeySecret = "your-secret-key";
options.Region = "ap-guangzhou";
options.SdkAppId = "100818888";
options.Callers = new() { "008602060600606" };
options.OverseaCallers = new() { "0085280080808" };
});
第三方请求日志
内置 Bitzsoft.Integrations.RequestLogging 出站请求记录管道,默认 NullRequestLogStore 不持久化。
// ① 默认:启用记录管道但不持久化(日志丢弃)
services.AddTencentOutboundCall(options => { /* ... */ });
// ② 持久化:宿主注册 IRequestLogStore 实现后,所有出站请求自动落库
services.AddRequestLogging<MyRequestLogStore>(opts =>
{
opts.MaxBodyLength = 8192; // 单条正文截断上限
opts.SensitiveFields.Add("mySecret"); // 额外脱敏字段
});
services.AddTencentOutboundCall(options => { /* ... */ });
使用
// 号码清洗 + 分类
var (mainland, oversea) = PhoneNumberClassifier.Classify(rawPhones);
// 境内外呼
await outboundCall.CreateCampaignAsync(new CreateCampaignRequest
{
Name = "催办-境内",
Region = PhoneRegion.Mainland,
Callees = mainland
});
// 境外外呼
await outboundCall.CreateCampaignAsync(new CreateCampaignRequest
{
Name = "催办-境外",
Region = PhoneRegion.Overseas,
Callees = oversea
});
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Bitzsoft.Integrations.OutboundCall (>= 1.0.0-alpha.9)
- Bitzsoft.Integrations.RequestLogging (>= 1.0.0-alpha.9)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Options (>= 10.0.9)
-
net5.0
- Bitzsoft.Integrations.OutboundCall (>= 1.0.0-alpha.9)
- Bitzsoft.Integrations.RequestLogging (>= 1.0.0-alpha.9)
- Microsoft.Extensions.Logging.Abstractions (>= 5.0.0)
- Microsoft.Extensions.Options (>= 5.0.0)
-
net8.0
- Bitzsoft.Integrations.OutboundCall (>= 1.0.0-alpha.9)
- Bitzsoft.Integrations.RequestLogging (>= 1.0.0-alpha.9)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Options (>= 10.0.9)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Bitzsoft.Integrations.OutboundCall.Tencent:
| Package | Downloads |
|---|---|
|
Bitzsoft.Integrations.OutboundCall.All
外呼服务聚合包 — 包含全部供应商实现(腾讯云/阿里云/火山引擎/容联云/华为云/国际 Twilio/Vonage) |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.1 | 130 | 8/3/2026 |
| 1.0.0 | 128 | 8/2/2026 |
| 1.0.0-alpha.10 | 54 | 7/26/2026 |
| 1.0.0-alpha.9 | 63 | 7/12/2026 |
| 1.0.0-alpha.8 | 176 | 7/1/2026 |
| 1.0.0-alpha.7 | 82 | 6/16/2026 |
| 1.0.0-alpha.6 | 71 | 6/16/2026 |