Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
af214f1
Updated simple IVR and Appointment reminder sample for testing purpose
v-mausha Apr 21, 2023
878b781
typo fix
v-mausha Apr 21, 2023
2695803
covering some missing scenarios
v-mausha Apr 24, 2023
62a3be3
Added is muted logs in participant list
v-mausha Apr 24, 2023
7fb9f2d
Updated the callautomation version to "1.0.0-alpha.20230426.1"
v-mausha Apr 27, 2023
1dffdf4
Updated callautomation package to "1.0.0-alpha.20230426.1"
v-mausha Apr 27, 2023
b365c91
resolve call not found issue
v-mausha May 2, 2023
582c23d
fix some issues
v-mausha May 2, 2023
33292d3
add more logs
v-mausha May 3, 2023
a1ea7b5
typo
v-mausha May 3, 2023
87d145e
Call Automation Package Updated to .20230428.1 version
May 3, 2023
e20f358
Revert "Call Automation Package Updated to .20230428.1 version"
May 4, 2023
4947c50
Updated Simple IVR callautomation pacakage to "1.0.0-alpha.20230512.1"
v-mausha May 15, 2023
3cf926b
Updated Appointmet reminder with package "1.0.0-alpha.20230512.1"
v-mausha May 15, 2023
0fbbf17
Added getParticipant API in simple IVR
v-mausha May 15, 2023
9bd2f9b
Add GetCallConnectionProperties API
v-mausha May 16, 2023
0a00e11
CA remove all participant.
Rani0608 May 18, 2023
e87648f
CA remove all participant.
Rani0608 May 19, 2023
c539173
fixed the 404 error to remove participant.
Rani0608 May 25, 2023
44090be
Updated the package.
Rani0608 May 29, 2023
abfb2b4
agentconnect issue fix
May 29, 2023
e33fad7
agent connect issue fix
May 29, 2023
63554d0
updated code
May 30, 2023
6447e72
code fix allowing multiple participants to add into the call (PSTN + …
May 30, 2023
7c8cc07
Merge branch 'v-mausha/UpdatedSamplesForTesting' of https://github.co…
May 30, 2023
85d7aa9
fixed the cast error
Rani0608 May 31, 2023
52021f4
conevrt issue rectified.
Rani0608 May 31, 2023
61384cc
updated with SourceCallerIdNumber to Source.
Rani0608 May 31, 2023
be61db7
made changes for saving casource ID when calling to ACS no.
v-mausha Jun 6, 2023
30684ad
fixed the errors.
Rani0608 Jun 12, 2023
84152c2
Fixed the Errors
Rani0608 Jun 12, 2023
a966fa1
Merge branch 'v-mausha/UpdatedSamplesForTesting' of https://github.co…
Rani0608 Jun 12, 2023
8fcda29
change target participant in startRecognize API.
v-mausha Jun 15, 2023
a4f2d22
change target ID no. in startrecognizing in appointmnt reminder
v-mausha Jun 16, 2023
cd39c94
Updated callautomatio pacakge to 1.0.0.
v-mausha Jun 19, 2023
837a901
changes Sourcecallerid to Source
Rani0608 Jun 19, 2023
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
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Azure.Communication.CallAutomation" Version="1.0.0" />
<PackageReference Include="Azure.Communication.Identity" Version="1.2.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.2.3" />
<PackageReference Include="Azure.Communication.CallAutomation" Version="1.0.0-beta.1" />
</ItemGroup>

<ItemGroup>
<Folder Include="audio\" />
</ItemGroup>

<ItemGroup>
Expand All @@ -23,4 +19,10 @@
</Content>
</ItemGroup>

<ItemGroup>
<None Remove="audio\AddParticipant.wav" />
<None Remove="audio\AgentAudio.wav" />
<None Remove="audio\RemoveParticipant.wav" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ public CallConfiguration()
/// </summary>
public string SourcePhoneNumber { get; set; }

/// <summary>
/// The phone number to add Participant to the call.
/// </summary>
public string AddParticipantNumber { get; set; }

/// <summary>
/// The base url of the applicaiton.
/// </summary>
Expand Down Expand Up @@ -58,6 +63,21 @@ public CallConfiguration()
/// </summary>
public string AppointmentCancelledAudio { get; set; }

/// <summary>
/// Appointment to add AgentAudio audio file route
/// </summary>
public string AgentAudio { get; set; }

/// <summary>
/// Appointment to AddParticipant audio file route
/// </summary>
public string AddParticipant { get; set; }

/// <summary>
/// Appointment to remove RemoveParticipant audio file route
/// </summary>
public string RemoveParticipant { get; set; }

/// <summary>
/// Invalid input audio file route
/// </summary>
Expand All @@ -67,5 +87,10 @@ public CallConfiguration()
/// Time out audio file route
/// </summary>
public string TimedoutAudio { get; set; }

/// <summary>
/// Scenario for hanging up the call
/// </summary>
public int HangUpScenarios { get; set; }
}
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ public static PlaySource GetAudioForTone(DtmfTone toneDetected, IOptions<CallCon
{
playSource = new FileSource(new Uri(callConfiguration.Value.AppBaseUri + callConfiguration.Value.AppointmentCancelledAudio));
}
else if (toneDetected.Equals(DtmfTone.Three))
{
playSource = new FileSource(new Uri(callConfiguration.Value.AppBaseUri + callConfiguration.Value.AgentAudio));
}
else // Invalid Dtmf tone
{
playSource = new FileSource(new Uri(callConfiguration.Value.AppBaseUri + callConfiguration.Value.InvalidInputAudio));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,31 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"CallConfiguration": {
"ConnectionString": "%Connection String%",
"SourcePhoneNumber": "%Source Phone Number%",
"TargetPhoneNumber": "%Target or Destination Phone number%",
"AppBaseUri": "%App base uri%",
"EventCallBackRoute": "/api/callbacks",
"AppointmentReminderMenuAudio": "/audio/AppointmentReminderMenu.wav",
"AppointmentConfirmedAudio": "/audio/AppointmentConfirmedAudio.wav",
"AppointmentCancelledAudio": "/audio/AppointmentCancelledAudio.wav",
"InvalidInputAudio": "/audio/InvalidInputAudio.wav",
"TimedoutAudio": "/audio/TimedoutAudio.wav"
},
"AllowedHosts": "*"
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"CallConfiguration": {
"ConnectionString": "%Connection String%",
"SourcePhoneNumber": "%Source PhoneNumber%",
"TargetPhoneNumber": "%Target or Destination Phone number%",
//Add Muliple Participant Number suparated by ";" eg: +919300000000;8:acs:5e4ac494-3bb3-4bd9-aeba-018fd0bcac9b_00000017-eb7a-fc77-f6c7-00000000000
"AddParticipantNumber": "%Add Muliple Participant Number %",
"AppBaseUri": "%App Base Uri%",
"EventCallBackRoute": "/api/callbacks",
"AppointmentReminderMenuAudio": "/audio/AppointmentReminderMenu.wav",
"AppointmentConfirmedAudio": "/audio/AppointmentConfirmedAudio.wav",
"AppointmentCancelledAudio": "/audio/AppointmentCancelledAudio.wav",
"AgentAudio": "/audio/AgentAudio.wav",
"AddParticipant": "/audio/AddParticipant.wav",
"RemoveParticipant": "/audio/RemoveParticipant.wav",
"InvalidInputAudio": "/audio/InvalidInputAudio.wav",
"TimedoutAudio": "/audio/TimedoutAudio.wav",
// 1: Hangup for eveyone after adding participant
// 2: Hangup CA after adding participant
// 3: Remove addedd participants after adding them
// 4: Terminate al the participants in te call
"HangUpScenarios": 1
},
"AllowedHosts": "*"
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 2 additions & 1 deletion CallAutomation_SimpleIvr/CallAutomation_SimpleIvr.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Azure.Communication.CallAutomation" Version="1.0.0" />
<PackageReference Include="Azure.Messaging.EventGrid" Version="4.12.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" />
<PackageReference Include="Azure.Communication.CallAutomation" Version="1.0.0-beta.1" />

</ItemGroup>

<ItemGroup>
Expand Down
Loading