Skip to content

mks786/Contact-Centre-CSharp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contact-Centre Version C# 0.1

Inbound PSTN to Twilio Client Contact Centre Powered by Taskrouter

Languages: C#, js

This implements:

  • Single channel (Voice)
  • 4 departments
  • Agent UI based on TaskRouter SDK for low latency
  • Twilio Client WebRTC dashboard
  • Conference instruction
  • Call instruction
  • Conference recording
  • Call holding
  • Call transfers
  • optional assignment_callback url implementation

This has been created in VS 2017 and so the newer Csproj file will not work in older versions, if you cannot upgrade to 2017 or later, you can open this project in VS Code:

https://code.visualstudio.com/

Setup

  1. Setup a new TwiML App https://www.twilio.com/console/voice/twiml/apps and point it to the domain where you deployed this app (add /incoming_call suffix): https://YOUR_DOMAIN_HERE/home/incoming_call
  2. Buy a Twilio number https://www.twilio.com/console/phone-numbers/incoming
  3. Configure your number to point towards this TwiML App (Voice: Configure With: TwiML App)
  4. Define the following env variables in Web.config:
 <appSettings>
      <add key="TWILIO_ACME_ACCOUNT_SID" value="" />
      <add key="TWILIO_ACME_AUTH_TOKEN" value="" />
      <add key="TWILIO_ACME_TWIML_APP_SID" value="" />
      <add key="TWILIO_ACME_WORKSPACE_SID" value="" />
      <add key="TWILIO_ACME_MANAGER_WORKFLOW_SID" value="" />
      <add key="TWILIO_ACME_SUPPORT_WORKFLOW_SID" value="" />
      <add key="TWILIO_ACME_SALES_WORKFLOW_SID" value="" />
      <add key="TWILIO_ACME_BILLING_WORKFLOW_SID" value="" />
      <add key="TWILIO_ACME_CALLERID" value="" />
  </appSettings>

If you have a single workflow in your contact center simply add the same worfklow sid to:

      <add key="TWILIO_ACME_MANAGER_WORKFLOW_SID" value="" />
      <add key="TWILIO_ACME_SUPPORT_WORKFLOW_SID" value="" />
      <add key="TWILIO_ACME_SALES_WORKFLOW_SID" value="" />
      <add key="TWILIO_ACME_BILLING_WORKFLOW_SID" value="" />

This is not production code and is for information purposes only

About

C# Contact center based on TaskRouter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 67.9%
  • C# 16.7%
  • CSS 8.4%
  • JavaScript 6.7%
  • Classic ASP 0.3%