this is a nodeJs version of fs_curl, the purpose of this application is to load freeswitch configuration,directory and dialplan form mongodb
- freeswitch 1.2
- mongodb 2.4.9
- nodejs v0.10.25
eanble mod_xml_curl(module.conf.xml)
edit xml_curl.conf.xml file
<bindings>
<binding name="configuration">
<param name="gateway-url" value="http://localhost:3000/configuration" bindings="configuration"/>
</binding>
<binding name="directory">
<param name="gateway-url" value="http://localhost:3000/directory" bindings="directory"/>
</binding>
<binding name="dialplan">
<param name="gateway-url" value="http://localhost:3000/dialplan" bindings="dialplan"/>
</binding>
</bindings>
- run grunt init to load default config.
- login with [email protected]/user1 and call 9664 you should listen to the default hold_music
only few modules are implemented:
- mod_callcenter
- mod_cdr_mongodb
- mod_event_socket
- mod_post_load_modules
- mod_sofia
- mod_xml_cdr
- add module to post_load_modules table(load_module= true,xml_curl_enabled=true )
- add your config file under controller/configuration
add more module(ivr,queues...)