1 / 8

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. PSTN Gateway COM Server Application Server Database Server. PSTN Gateway (Inbound Phone Call).

tate
Download Presentation

Building A Telephony Application With FreeSWITCH and Lua :

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Building A Telephony Application With FreeSWITCH and Lua: Employee Time Clock William Dale, PE - Cluecon 2009 – www.labortimetracker.com

  2. 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

  3. 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

  4. 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

  5. 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

  6. 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

  7. 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

  8. Building A Telephony Application With FreeSWITCH and Lua: Question and Answers wdale@utiliware.com William Dale, PE - Cluecon 2009 – www.labortimetracker.com

More Related