Skip to content

Commit

Permalink
Initial attempt at a web texting support page.
Browse files Browse the repository at this point in the history
  • Loading branch information
uncheckederror committed Aug 6, 2024
1 parent fe30c70 commit 6e2f06c
Show file tree
Hide file tree
Showing 8 changed files with 248 additions and 17 deletions.
8 changes: 8 additions & 0 deletions NumberSearch.Mvc/Controllers/PhonesController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,13 @@ public IActionResult ANMobile()
{
return View();
}

[HttpGet]
[ResponseCache(VaryByHeader = "User-Agent", Duration = 30, Location = ResponseCacheLocation.Any)]
//[OutputCache(Duration = 30)]
public IActionResult WebTexting()
{
return View();
}
}
}
21 changes: 20 additions & 1 deletion NumberSearch.Mvc/Controllers/ServicesController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,27 @@ public async Task<IActionResult> IndexAsync()
{
await HttpContext.Session.LoadAsync().ConfigureAwait(false);
var cart = Cart.GetFromSession(HttpContext.Session);
return View("Index", new ServicesResult { Cart = cart, Type = string.Empty });
}


return View("Index", cart);
[HttpGet("Internet")]
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
public async Task<IActionResult> InternetAsync()
{
await HttpContext.Session.LoadAsync().ConfigureAwait(false);
var cart = Cart.GetFromSession(HttpContext.Session);
return View("Index", new ServicesResult { Cart = cart, Type = "Internet" });
}


[HttpGet("Additional")]
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
public async Task<IActionResult> AdditionalAsync()
{
await HttpContext.Session.LoadAsync().ConfigureAwait(false);
var cart = Cart.GetFromSession(HttpContext.Session);
return View("Index", new ServicesResult { Cart = cart, Type = "Additional" });
}
}
}
8 changes: 8 additions & 0 deletions NumberSearch.Mvc/Models/ServicesResult.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
namespace NumberSearch.Mvc
{
public class ServicesResult
{
public Cart Cart { get; set; } = new();
public string Type { get; set; } = string.Empty;
}
}
7 changes: 7 additions & 0 deletions NumberSearch.Mvc/NumberSearch.Mvc.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@
<ProjectReference Include="..\NumberSearch.DataAccess\NumberSearch.DataAccess.csproj" />
</ItemGroup>
<ItemGroup>
<Content Update="Views\Phones\WebTexting.cshtml">
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Update="Views\Phones\Linphone.cshtml">
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
Expand Down Expand Up @@ -239,6 +243,9 @@
<Content Update="wwwroot\images\original\ht802_right_angle.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Update="wwwroot\images\original\WebTexting.jpg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Update="wwwroot\images\scaled\11315553-a8da-4a45-b632-b8ced825957dscaled.jpg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
Expand Down
8 changes: 8 additions & 0 deletions NumberSearch.Mvc/Views/Home/Support.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,14 @@
<a class="btn btn-primary stretched-link" asp-controller="Phones" asp-action="ANMobile">Accelerate Networks Mobile</a>
</div>
</div>
<div class="card shadow">
<img class="card-img-top" src="/images/original/WebTexting.jpg" alt="Web Texting">
<div class="card-body">
<h5 class="card-title">Support for Web Texting</h5>
<p class="card-text">Learn about all the cool features and functions of our web texting app!</p>
<a class="btn btn-primary stretched-link" asp-controller="Phones" asp-action="WebTexting">Web Texting</a>
</div>
</div>
</div>
<br />
</div>
Expand Down
157 changes: 157 additions & 0 deletions NumberSearch.Mvc/Views/Phones/WebTexting.cshtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
@{
ViewData["Title"] = "Web Texting";
Layout = "~/Views/Shared/_Layout.cshtml";
}

<div class="container">
<br />
<div class="pricing-header mx-auto p-2 text-center">
<h1 class="display-4">How to use Web Texting</h1>
</div>
<br />
<div class="row mb-0">
<div class="col-sm-6 mb-4">
<div class="card shadow h-100">
<div class="card-header">
<h4 class="my-0 font-weight-normal text-center">Table of Contents</h4>
</div>
<div class="card-body">
<ul>
<li>
<a href="#setup">
🕹️ Setup Web Texting
</a>
</li>
<li>
<a href="#newcontact">
🤵 Add a New Contact
</a>
</li>
<li>
<a href="#addhomescreen">
🏠 Adding to Home Screen on iOS
</a>
</li>
<li>
<a href="#notifications">
🔔 Turning on Notifications
</a>
</li>
<li>
<a href="#troubleshooting">
😵‍💫 Troubleshooting
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-sm-6 mb-4">
<div class="card shadow">
<img class="card-img-top" src="/images/original/WebTexting.jpg" title="Web Texting" />
<div class="card-body">
<div class="card-title">
<h4 class="display-4">
Web Texting
</h4>
</div>
<p class="card-text">Need a business texting solution that can serve your workplace from the computer you already own?</p>
<a class="btn btn-primary" href="/Additional">Buy Now</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="card-deck mb-3">
<div class="col-12">
<div class="card mb-4 shadow">
<div class="card-header">
<h4 class="my-0 font-weight-normal text-center" id="setup">🕹️ Setup Web Texting</h4>
</div>
<div class="card-body">
<p>
To setup Linphone Desktop, download Linphone for <a href="https://linphone.org/releases/windows/latest_app_win64" target="_blank">Windows</a>, <a href="https://linphone.org/releases/macosx/latest_app" target="_blank">MacOS</a> or <a href="https://linphone.org/releases/linux/latest_app" target="_blank">Linux</a> and install Linphone using the file downloaded*.
</p>
<p>
Open the Linphone Desktop application once installed, allowing private and public network access if prompted. Choose Fetch Remote Configuration, and fill in the Provisioning URL (available in the organization's FusionPBX portal** under Applications => Linphone), press Fetch and Apply, then click on the dialpad to the right of the search field to dial 425-499-7999 which will play music.
</p>
<p>* Installation requires administrator access on the computer, please contact IT if you do not have administrator access on the computer you are using. Accelerate Networks does not have administrator access to computers and does not offer general Windows or MacOS IT services .</p>
<p>** Need help? Call or text 206-858-8757 or email <a href="mailto:[email protected]">support@acceleratenetworks.com</a> and we can help you access the FusionPBX portal. Do not go to FusionPBX.com, this will not direct to the organization's FusionPBX portal.</p>
</div>
</div>
</div>
<div class="col-12">
<div class="card mb-4 shadow">
<div class="card-header">
<h4 class="my-0 font-weight-normal text-center" id="newcontact">🤵 Add a New Contact</h4>
</div>
<div class="card-img">
<div class="embed-responsive embed-responsive-16by9">
<iframe loading="lazy" class="embed-responsive-item" src="https://www.youtube.com/embed/RdwW-JSUfPg?si=vxEfzx1E2YthxX_5&loop=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
</div>
<div class="card-body">
<p>
Audio settings can be managed in the upper right corner under the triple bar => Preferences then select the Playback Device (a speaker or headset you want to listen to the call on), Capture Device (a microphone on a headset or webcam), and Ringer Device (the speakers you would like to ring when receiving a call) and the volume level for each. Call our echo test line by dialing *9664 to test your microphone and speaker volume.
</p>
</div>
<div class="card-footer text-body-secondary">
If this video is unavailable please refresh the page.
</div>
</div>
</div>
<div class="col-12">
<div class="card mb-4 shadow">
<div class="card-header">
<h4 class="my-0 font-weight-normal text-center" id="addhomescreen">🏠 Adding to Home Screen on iOS</h4>
</div>
<div class="card-img">
<div class="embed-responsive embed-responsive-16by9">
<iframe loading="lazy" class="embed-responsive-item" src="https://www.youtube.com/embed/x172MmZkiDY?si=G-nbSv61dNptLgAZ&loop=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
</div>
<div class="card-body">
<p>
Audio settings can be managed in the upper right corner under the triple bar => Preferences then select the Playback Device (a speaker or headset you want to listen to the call on), Capture Device (a microphone on a headset or webcam), and Ringer Device (the speakers you would like to ring when receiving a call) and the volume level for each. Call our echo test line by dialing *9664 to test your microphone and speaker volume.
</p>
</div>
<div class="card-footer text-body-secondary">
If this video is unavailable please refresh the page.
</div>
</div>
</div>
<div class="col-12">
<div class="card mb-4 shadow">
<div class="card-header">
<h4 class="my-0 font-weight-normal text-center" id="notifications">🔔 Turning on Notifications</h4>
</div>
<div class="card-img">
<div class="embed-responsive embed-responsive-16by9">
<iframe loading="lazy" class="embed-responsive-item" src="https://www.youtube.com/embed/7yQ-4r23Xt4?si=PgTvnkK0RHv4G6Cp&loop=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
</div>
<div class="card-body">
<p>
Audio settings can be managed in the upper right corner under the triple bar => Preferences then select the Playback Device (a speaker or headset you want to listen to the call on), Capture Device (a microphone on a headset or webcam), and Ringer Device (the speakers you would like to ring when receiving a call) and the volume level for each. Call our echo test line by dialing *9664 to test your microphone and speaker volume.
</p>
</div>
<div class="card-footer text-body-secondary">
If this video is unavailable please refresh the page.
</div>
</div>
</div>
<div class="col-12">
<div class="card mb-4 shadow">
<div class="card-header">
<h4 class="my-0 font-weight-normal text-center" id="troubleshooting">😵‍💫 Troubleshooting</h4>
</div>
<div class="card-body">
<p>
If you run into any issues, head to the triple bar => Preferences => Advanced and toggle Debug Logs on, then exit the preferences, recreate the issue that occurred, head back into the triple bar => Preferences => Advanced and pick Send Logs, describe what happened (Example: I was on the phone with X and Y thing happened) and email this to <a href="mailto:[email protected]">support@acceleratenetworks.com</a>.
</p>
</div>
</div>
</div>
</div>
</div>
</div>
Loading

0 comments on commit 6e2f06c

Please sign in to comment.