building a telephony application with freeswitch and lua n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Building A Telephony Application With FreeSWITCH and Lua : PowerPoint Presentation
Download Presentation
Building A Telephony Application With FreeSWITCH and Lua :

Loading in 2 Seconds...

play fullscreen
1 / 8

Building A Telephony Application With FreeSWITCH and Lua : - PowerPoint PPT Presentation


  • 379 Views
  • Uploaded on

Building A Telephony Application With FreeSWITCH and Lua :. Employee Time Clock. William Dale, PE - Cluecon 2009 – www.labortimetracker.com. Architecture Overview. PSTN Gateway COM Server Application Server Database Server. PSTN Gateway (Inbound Phone Call).

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Building A Telephony Application With FreeSWITCH and Lua :' - tate


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
building a telephony application with freeswitch and lua

Building A Telephony Application With FreeSWITCH and Lua:

Employee Time Clock

William Dale, PE - Cluecon 2009 – www.labortimetracker.com

architecture overview
Architecture Overview
  • PSTN Gateway
  • COM Server
  • Application Server
  • Database Server

PSTN

Gateway

(Inbound Phone Call)

  • Com Server (FreeSWITCH)
  • ✓ Dial Plan
  • Lua Script
  • Mod_CURL

Database

Exec

Stored Procedure

Web Service

Querystring Parameter

(HTTP Get)

William Dale, PE - Cluecon 2009 – www.labortimetracker.com

route phone call to freeswitch
Route Phone Call to FreeSWITCH
  • Contractwith PSTN Provider
  • SIP Trunk
  • Toll Free Inbound
  • Secondary SIP Trunk
  • Register Gateway withFreeSWITCH

PSTN

Gateway

(Inbound Phone Call)

William Dale, PE - Cluecon 2009 – www.labortimetracker.com

freeswitch
FreeSWITCH
  • RegisterGateways (SOFIA STATUS)
  • Enable Modules
    • Mod_flite
    • Mod_curl
  • Configure Dialplan
    • Regex the InboundNumber(s)
    • Transfer inboud call to extension 5050
  • ExecLua script based on extension
  • Com Server (FreeSWITCH)
  • ✓ Dial Plan
  • Lua Script
  • Mod_CURL

William Dale, PE - Cluecon 2009 – www.labortimetracker.com

web services
Web Services
  • Setup Listener
  • Security
    • Source IP
    • SSL
    • TOKEN
  • Return values
    • XML
    • CSV
    • FixLength String Value

Web Service

Querystring Parameter

(HTTP Get)

William Dale, PE - Cluecon 2009 – www.labortimetracker.com

call database
Call Database
  • Database Call
  • ExecStoredProcedures
  • Pass in parameters
  • Performance
    • Keepwithin 40 – 80 ms.

Database

Exec

Stored Procedure

William Dale, PE - Cluecon 2009 – www.labortimetracker.com

demo application
DEMO Application
  • Login into
    • Freeswitch (fs_cli)
    • Labor Time Tracker (Web App)
  • Call Toll Free Number
  • Enter Department ID
  • Enter PIN
  • Employee has punchedtimeclock!

William Dale, PE - Cluecon 2009 – www.labortimetracker.com

building a telephony application with freeswitch and lua1

Building A Telephony Application With FreeSWITCH and Lua:

Question and Answers

wdale@utiliware.com

William Dale, PE - Cluecon 2009 – www.labortimetracker.com