Skip to content

Commit 0545e24

Browse files
authored
Fixed build for the SIP blind xfer scenario. (#1351)
1 parent e123447 commit 0545e24

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

examples/SIPScenarios/BlindTransferScenario/Target/Program.cs

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ static void Main()
5656
EnableTraceLogs(_sipTransport);
5757

5858
var userAgent = new SIPUserAgent(_sipTransport, null);
59-
userAgent.ServerCallCancelled += (uas) => Log.LogDebug("Incoming call cancelled by remote party.");
59+
userAgent.ServerCallCancelled += (uas, cancelReq) => Log.LogDebug("Incoming call cancelled by remote party.");
6060
userAgent.OnCallHungup += (dialog) => Log.LogDebug("Call hungup by remote party.");
6161
userAgent.OnIncomingCall += async (ua, req) =>
6262
{

examples/SIPScenarios/BlindTransferScenario/Target/Target.csproj

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

examples/SIPScenarios/BlindTransferScenario/Transferee/Program.cs

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ static void Main()
5656
EnableTraceLogs(_sipTransport);
5757

5858
var userAgent = new SIPUserAgent(_sipTransport, null);
59-
userAgent.ServerCallCancelled += (uas) => Log.LogDebug("Incoming call cancelled by remote party.");
59+
userAgent.ServerCallCancelled += (uas, cancelReq) => Log.LogDebug("Incoming call cancelled by remote party.");
6060
userAgent.OnCallHungup += (dialog) => Log.LogDebug("Call hungup by remote party.");
6161
userAgent.OnIncomingCall += async (ua, req) =>
6262
{

examples/SIPScenarios/BlindTransferScenario/Transferee/Transferee.csproj

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

examples/SIPScenarios/BlindTransferScenario/Transferor/Transferor.csproj

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
</PropertyGroup>
77

88
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

0 commit comments

Comments
 (0)