Chatty is a simple application to test FreeSWITCH SMS and ESL capabilities. It presents a real-time webchat with a cell phone via text messages.
First you need to install and configure
mod_sms. You can find instructions for this on
the Mod SMS Wiki Page.
You will also need to ensure that your chatplan includes the
<action application="fire" data=""/>
directive so that SIP
MESSAGEs are broadcasted to the Event Sockets.
Here is an example
<?xml version="1.0" encoding="utf-8"?> <include> <context name="default"> <extension name="demo"> <condition field="to" expression="^(.*)$"> <action application="fire" data=""/> </condition> </extension> </context> </include>
simply run npm install from within the
cd examples/chatty npm install
To start the server, run the executable:
cd examples/chatty ./bin/chatty
Then navigate your browser to
http://server:8181. If you have you config.json configured
properly then you should be able to send and receive SMS messages from the web interface.