July 2017
Intermediate to advanced
434 pages
12h 59m
English
Chatplan is the dialplan for chats. Chatplan is the new black! First of all you must edit /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml and uncomment mod_sms loading at FS startup, as follows:
<load module="mod_sms"/>
Then you restart FreeSWITCH, or manually load mod_sms from fs_cli:
load mod_sms
Now, we must edit the chatplan in /usr/local/freeswitch/conf/chatplan/default.xml :
<?xml version="1.0" encoding="utf-8"?> <include> <context name="public"> <extension name="demo"> <condition field="to" expression="^(3\d{3})@.*$"> <action application="info"/> <action application="set" data="to=${to_user}-${to_host}"/> <action application="set" data="dest_proto=conf"/> <action application="set" data="chat_proto=conf"/> ...Read now
Unlock full access