From 9caed50e0ad5dd7470e22b86dd5b18b1bdef52d7 Mon Sep 17 00:00:00 2001 From: DanB Date: Tue, 14 Jan 2014 21:15:06 +0100 Subject: [PATCH 01/18] Adding FS_JSON tutorial configs, fixup action log to dump balance as json, improvments csv tutorial --- data/storage/mysql/setup_cgr_db.sh | 16 +- data/tutorials/fs_json/README.md | 18 + .../fs_json/cgrates/etc/cgrates/cgrates.cfg | 116 +++ .../fs_json/cgrates/etc/default/cgrates | 17 + .../fs_json/cgrates/etc/init.d/cgrates | 162 +++ .../cgrates/tariffplans/AccountActions.csv | 5 + .../cgrates/tariffplans/ActionTimings.csv | 2 + .../cgrates/tariffplans/ActionTriggers.csv | 4 + .../fs_json/cgrates/tariffplans/Actions.csv | 3 + .../cgrates/tariffplans/DestinationRates.csv | 5 + .../cgrates/tariffplans/Destinations.csv | 4 + .../fs_json/cgrates/tariffplans/README.md | 20 + .../fs_json/cgrates/tariffplans/Rates.csv | 7 + .../cgrates/tariffplans/RatingPlans.csv | 5 + .../cgrates/tariffplans/RatingProfiles.csv | 3 + .../fs_json/cgrates/tariffplans/Timings.csv | 7 + .../fs_json/freeswitch/etc/default/freeswitch | 2 + .../etc/freeswitch/README_IMPORTANT.txt | 35 + .../autoload_configs/abstraction.conf.xml | 5 + .../freeswitch/autoload_configs/acl.conf.xml | 32 + .../freeswitch/autoload_configs/alsa.conf.xml | 12 + .../autoload_configs/blacklist.conf.xml | 11 + .../autoload_configs/callcenter.conf.xml | 38 + .../autoload_configs/cdr_csv.conf.xml | 23 + .../autoload_configs/cdr_mongodb.conf.xml | 13 + .../autoload_configs/cdr_pg_csv.conf.xml | 40 + .../autoload_configs/cdr_sqlite.conf.xml | 18 + .../autoload_configs/cepstral.conf.xml | 12 + .../autoload_configs/cidlookup.conf.xml | 33 + .../autoload_configs/conference.conf.xml | 213 ++++ .../autoload_configs/console.conf.xml | 56 + .../freeswitch/autoload_configs/db.conf.xml | 5 + .../dialplan_directory.conf.xml | 9 + .../autoload_configs/dingaling.conf.xml | 9 + .../autoload_configs/directory.conf.xml | 21 + .../autoload_configs/distributor.conf.xml | 10 + .../autoload_configs/easyroute.conf.xml | 28 + .../freeswitch/autoload_configs/enum.conf.xml | 21 + .../autoload_configs/erlang_event.conf.xml | 23 + .../autoload_configs/event_multicast.conf.xml | 14 + .../autoload_configs/event_socket.conf.xml | 9 + .../freeswitch/autoload_configs/fax.conf.xml | 12 + .../freeswitch/autoload_configs/fifo.conf.xml | 10 + .../freeswitch/autoload_configs/hash.conf.xml | 6 + .../autoload_configs/httapi.conf.xml | 127 +++ .../autoload_configs/http_cache.conf.xml | 17 + .../freeswitch/autoload_configs/ivr.conf.xml | 5 + .../freeswitch/autoload_configs/java.conf.xml | 8 + .../freeswitch/autoload_configs/lcr.conf.xml | 89 ++ .../autoload_configs/local_stream.conf.xml | 49 + .../autoload_configs/logfile.conf.xml | 29 + .../freeswitch/autoload_configs/lua.conf.xml | 32 + .../autoload_configs/memcache.conf.xml | 6 + .../autoload_configs/modules.conf.xml | 136 +++ .../autoload_configs/mongo.conf.xml | 21 + .../autoload_configs/nibblebill.conf.xml | 48 + .../freeswitch/autoload_configs/opal.conf.xml | 21 + .../autoload_configs/oreka.conf.xml | 13 + .../freeswitch/autoload_configs/osp.conf.xml | 53 + .../freeswitch/autoload_configs/perl.conf.xml | 16 + .../autoload_configs/pocketsphinx.conf.xml | 12 + .../autoload_configs/portaudio.conf.xml | 221 ++++ .../post_load_modules.conf.xml | 4 + .../autoload_configs/presence_map.conf.xml | 7 + .../autoload_configs/python.conf.xml | 16 + .../autoload_configs/redis.conf.xml | 7 + .../freeswitch/autoload_configs/rss.conf.xml | 7 + .../freeswitch/autoload_configs/rtmp.conf.xml | 17 + .../autoload_configs/sangoma_codec.conf.xml | 37 + .../autoload_configs/shout.conf.xml | 8 + .../autoload_configs/skinny.conf.xml | 6 + .../autoload_configs/sofia.conf.xml | 19 + .../autoload_configs/spandsp.conf.xml | 115 ++ .../autoload_configs/spidermonkey.conf.xml | 8 + .../autoload_configs/switch.conf.xml | 168 +++ .../autoload_configs/syslog.conf.xml | 18 + .../autoload_configs/timezones.conf.xml | 551 ++++++++++ .../autoload_configs/translate.conf.xml | 28 + .../autoload_configs/tts_commandline.conf.xml | 15 + .../autoload_configs/unicall.conf.xml | 25 + .../autoload_configs/unimrcp.conf.xml | 23 + .../autoload_configs/voicemail.conf.xml | 74 ++ .../autoload_configs/voicemail_ivr.conf.xml | 211 ++++ .../autoload_configs/xml_cdr.conf.xml | 71 ++ .../autoload_configs/xml_curl.conf.xml | 49 + .../autoload_configs/xml_rpc.conf.xml | 10 + .../autoload_configs/xml_scgi.conf.xml | 12 + .../autoload_configs/zeroconf.conf.xml | 6 + .../etc/freeswitch/chatplan/default.xml | 14 + .../freeswitch/etc/freeswitch/config.FS0 | 78 ++ .../etc/freeswitch/dialplan/default.xml | 821 +++++++++++++++ .../freeswitch/dialplan/default/00_ladspa.xml | 77 ++ .../dialplan/default/00_pizza_demo.xml | 9 + .../dialplan/default/01_Talking_Clock.xml | 32 + .../dialplan/default/01_example.com.xml | 30 + .../dialplan/default/ideasip.com.noload | 7 + .../dialplan/default/pulver.com.noload | 7 + .../dialplan/default/sipbroker.com.noload | 7 + .../dialplan/default/sipphone.com.noload | 7 + .../default/tollfreegateway.com.noload | 7 + .../etc/freeswitch/dialplan/features.xml | 67 ++ .../etc/freeswitch/dialplan/public.xml | 68 ++ .../dialplan/public/00_inbound_did.xml | 18 + .../freeswitch/dialplan/skinny-patterns.xml | 30 + .../dialplan/skinny-patterns/20-Demo.xml | 8 + .../skinny-patterns/20-Local_extension.xml | 13 + .../dialplan/skinny-patterns/90-External.xml | 8 + .../skinny-patterns/99-Default_Drop.xml | 9 + .../etc/freeswitch/directory/default.xml | 78 ++ .../etc/freeswitch/directory/default/1000.xml | 18 + .../etc/freeswitch/directory/default/1001.xml | 19 + .../etc/freeswitch/directory/default/1002.xml | 19 + .../etc/freeswitch/directory/default/1003.xml | 19 + .../etc/freeswitch/directory/default/1004.xml | 19 + .../etc/freeswitch/directory/default/1005.xml | 18 + .../etc/freeswitch/directory/default/1006.xml | 18 + .../etc/freeswitch/directory/default/1007.xml | 18 + .../etc/freeswitch/directory/default/1008.xml | 18 + .../etc/freeswitch/directory/default/1009.xml | 18 + .../etc/freeswitch/directory/default/1010.xml | 18 + .../etc/freeswitch/directory/default/1011.xml | 18 + .../etc/freeswitch/directory/default/1012.xml | 18 + .../etc/freeswitch/directory/default/1013.xml | 18 + .../etc/freeswitch/directory/default/1014.xml | 18 + .../etc/freeswitch/directory/default/1015.xml | 18 + .../etc/freeswitch/directory/default/1016.xml | 18 + .../etc/freeswitch/directory/default/1017.xml | 18 + .../etc/freeswitch/directory/default/1018.xml | 18 + .../etc/freeswitch/directory/default/1019.xml | 18 + .../freeswitch/directory/default/brian.xml | 92 ++ .../freeswitch/directory/default/default.xml | 26 + .../directory/default/example.com.xml | 26 + .../directory/default/skinny-example.xml | 35 + .../freeswitch/etc/freeswitch/extensions.conf | 21 + .../freeswitch/etc/freeswitch/freeswitch.xml | 71 ++ .../freeswitch/etc/freeswitch/fur_elise.ttml | 83 ++ .../etc/freeswitch/ivr_menus/demo_ivr.xml | 64 ++ .../etc/freeswitch/ivr_menus/new_demo_ivr.xml | 69 ++ .../etc/freeswitch/jingle_profiles/client.xml | 36 + .../etc/freeswitch/jingle_profiles/server.xml | 21 + .../etc/freeswitch/json_cdr.conf.xml | 51 + .../freeswitch/etc/freeswitch/lang/de/de.xml | 22 + .../etc/freeswitch/lang/de/demo/demo.xml | 82 ++ .../etc/freeswitch/lang/de/vm/sounds.xml | 413 ++++++++ .../etc/freeswitch/lang/de/vm/tts.xml | 224 ++++ .../etc/freeswitch/lang/en/demo/demo-ivr.xml | 156 +++ .../etc/freeswitch/lang/en/demo/demo.xml | 82 ++ .../etc/freeswitch/lang/en/demo/funnies.xml | 35 + .../freeswitch/lang/en/demo/new-demo-ivr.xml | 171 +++ .../etc/freeswitch/lang/en/dir/sounds.xml | 130 +++ .../etc/freeswitch/lang/en/dir/tts.xml | 106 ++ .../freeswitch/etc/freeswitch/lang/en/en.xml | 25 + .../etc/freeswitch/lang/en/ivr/sounds.xml | 153 +++ .../etc/freeswitch/lang/en/vm/sounds.xml | 444 ++++++++ .../etc/freeswitch/lang/en/vm/tts.xml | 249 +++++ .../freeswitch/lang/en/vm/voicemail_ivr.xml | 417 ++++++++ .../freeswitch/lang/es/demo/demo-es-ES.xml | 71 ++ .../freeswitch/lang/es/demo/demo-es-MX.xml | 71 ++ .../lang/es/demo/demo-ivr-es-ES.xml | 148 +++ .../lang/es/demo/demo-ivr-es-MX.xml | 148 +++ .../freeswitch/lang/es/dir/sounds-es-ES.xml | 121 +++ .../freeswitch/lang/es/dir/sounds-es-MX.xml | 121 +++ .../etc/freeswitch/lang/es/dir/tts-es-ES.xml | 96 ++ .../etc/freeswitch/lang/es/dir/tts-es-MX.xml | 96 ++ .../etc/freeswitch/lang/es/es_ES.xml | 8 + .../etc/freeswitch/lang/es/es_MX.xml | 8 + .../freeswitch/lang/es/vm/sounds-es-ES.xml | 404 +++++++ .../freeswitch/lang/es/vm/sounds-es-MX.xml | 404 +++++++ .../etc/freeswitch/lang/es/vm/tts-es-ES.xml | 238 +++++ .../etc/freeswitch/lang/es/vm/tts-es-MX.xml | 238 +++++ .../etc/freeswitch/lang/fr/demo/demo.xml | 29 + .../etc/freeswitch/lang/fr/dir/sounds.xml | 130 +++ .../etc/freeswitch/lang/fr/dir/tts.xml | 110 ++ .../freeswitch/etc/freeswitch/lang/fr/fr.xml | 23 + .../etc/freeswitch/lang/fr/vm/sounds.xml | 255 +++++ .../etc/freeswitch/lang/he/demo/demo-ivr.xml | 157 +++ .../etc/freeswitch/lang/he/demo/demo.xml | 82 ++ .../etc/freeswitch/lang/he/dir/sounds.xml | 130 +++ .../freeswitch/etc/freeswitch/lang/he/he.xml | 22 + .../etc/freeswitch/lang/he/vm/sounds.xml | 417 ++++++++ .../lang/pt/demo/demo-ivr-pt-BR.xml | 148 +++ .../lang/pt/demo/demo-ivr-pt-PT.xml | 148 +++ .../freeswitch/lang/pt/demo/demo-pt-BR.xml | 71 ++ .../freeswitch/lang/pt/demo/demo-pt-PT.xml | 71 ++ .../freeswitch/lang/pt/dir/sounds-pt-BR.xml | 121 +++ .../freeswitch/lang/pt/dir/sounds-pt-PT.xml | 121 +++ .../etc/freeswitch/lang/pt/dir/tts-pt-BR.xml | 96 ++ .../etc/freeswitch/lang/pt/dir/tts-pt-PT.xml | 96 ++ .../etc/freeswitch/lang/pt/pt_BR.xml | 8 + .../etc/freeswitch/lang/pt/pt_PT.xml | 8 + .../freeswitch/lang/pt/vm/sounds-pt-BR.xml | 404 +++++++ .../freeswitch/lang/pt/vm/sounds-pt-PT.xml | 404 +++++++ .../etc/freeswitch/lang/pt/vm/tts-pt-BR.xml | 239 +++++ .../etc/freeswitch/lang/pt/vm/tts-pt-PT.xml | 238 +++++ .../etc/freeswitch/lang/ru/demo/demo-ivr.xml | 154 +++ .../etc/freeswitch/lang/ru/demo/demo.xml | 109 ++ .../etc/freeswitch/lang/ru/dir/sounds.xml | 130 +++ .../etc/freeswitch/lang/ru/dir/tts.xml | 105 ++ .../freeswitch/etc/freeswitch/lang/ru/ru.xml | 23 + .../etc/freeswitch/lang/ru/vm/sounds.xml | 374 +++++++ .../etc/freeswitch/lang/ru/vm/tts.xml | 249 +++++ .../freeswitch/etc/freeswitch/mime.types | 983 ++++++++++++++++++ .../mrcp_profiles/loquendo-7-mrcp-v2.xml | 32 + .../mrcp_profiles/nuance-1.0.0-mrcp-v1.xml | 39 + .../mrcp_profiles/nuance-5.0-mrcp-v1.xml | 39 + .../mrcp_profiles/nuance-5.0-mrcp-v2.xml | 43 + .../mrcp_profiles/unimrcpserver-mrcp-v1.xml | 27 + .../mrcp_profiles/vestec-mrcp-v1.xml | 26 + .../voxeo-prophecy-8.0-mrcp-v1.xml | 27 + .../etc/freeswitch/notify-voicemail.tpl | 44 + .../etc/freeswitch/sip_profiles/external.xml | 96 ++ .../sip_profiles/external/example.xml | 38 + .../freeswitch/sip_profiles/internal-ipv6.xml | 132 +++ .../etc/freeswitch/sip_profiles/internal.xml | 405 ++++++++ .../sip_profiles/internal/example.xml | 37 + .../freeswitch/skinny_profiles/internal.xml | 37 + .../freeswitch/etc/freeswitch/tetris.ttml | 69 ++ .../freeswitch/etc/freeswitch/vars.xml | 290 ++++++ .../freeswitch/etc/freeswitch/voicemail.tpl | 44 + .../freeswitch/etc/freeswitch/web-vm.tpl | 13 + .../etc/freeswitch/yaml/extensions.yaml | 4 + .../etc/freeswitch/yaml/mod_yaml.yaml | 6 + .../fs_json/freeswitch/etc/init.d/freeswitch | 135 +++ docs/tut_freeswitch_csv.rst | 14 + docs/tut_freeswitch_installs.rst | 13 +- docs/tut_freeswitch_json.rst | 179 +++- engine/action.go | 3 +- 227 files changed, 18193 insertions(+), 18 deletions(-) create mode 100644 data/tutorials/fs_json/README.md create mode 100644 data/tutorials/fs_json/cgrates/etc/cgrates/cgrates.cfg create mode 100644 data/tutorials/fs_json/cgrates/etc/default/cgrates create mode 100755 data/tutorials/fs_json/cgrates/etc/init.d/cgrates create mode 100644 data/tutorials/fs_json/cgrates/tariffplans/AccountActions.csv create mode 100644 data/tutorials/fs_json/cgrates/tariffplans/ActionTimings.csv create mode 100644 data/tutorials/fs_json/cgrates/tariffplans/ActionTriggers.csv create mode 100644 data/tutorials/fs_json/cgrates/tariffplans/Actions.csv create mode 100644 data/tutorials/fs_json/cgrates/tariffplans/DestinationRates.csv create mode 100644 data/tutorials/fs_json/cgrates/tariffplans/Destinations.csv create mode 100644 data/tutorials/fs_json/cgrates/tariffplans/README.md create mode 100644 data/tutorials/fs_json/cgrates/tariffplans/Rates.csv create mode 100644 data/tutorials/fs_json/cgrates/tariffplans/RatingPlans.csv create mode 100644 data/tutorials/fs_json/cgrates/tariffplans/RatingProfiles.csv create mode 100644 data/tutorials/fs_json/cgrates/tariffplans/Timings.csv create mode 100755 data/tutorials/fs_json/freeswitch/etc/default/freeswitch create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/README_IMPORTANT.txt create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/abstraction.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/acl.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/alsa.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/blacklist.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/callcenter.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/cdr_csv.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/cdr_mongodb.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/cdr_pg_csv.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/cdr_sqlite.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/cepstral.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/cidlookup.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/conference.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/console.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/db.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/dialplan_directory.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/dingaling.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/directory.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/distributor.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/easyroute.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/enum.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/erlang_event.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/event_multicast.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/fax.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/fifo.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/hash.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/httapi.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/http_cache.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/ivr.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/java.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/lcr.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/local_stream.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/logfile.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/lua.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/memcache.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/modules.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/mongo.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/nibblebill.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/opal.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/oreka.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/osp.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/perl.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/pocketsphinx.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/portaudio.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/post_load_modules.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/presence_map.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/python.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/redis.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/rss.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/rtmp.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/sangoma_codec.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/shout.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/skinny.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/sofia.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/spandsp.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/spidermonkey.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/switch.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/syslog.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/timezones.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/translate.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/tts_commandline.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/unicall.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/unimrcp.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/voicemail.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/voicemail_ivr.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/xml_cdr.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/xml_curl.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/xml_rpc.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/xml_scgi.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/zeroconf.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/chatplan/default.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/config.FS0 create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/00_ladspa.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/00_pizza_demo.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/01_Talking_Clock.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/01_example.com.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/ideasip.com.noload create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/pulver.com.noload create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/sipbroker.com.noload create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/sipphone.com.noload create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/tollfreegateway.com.noload create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/features.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/public.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/public/00_inbound_did.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/skinny-patterns.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/skinny-patterns/20-Demo.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/skinny-patterns/20-Local_extension.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/skinny-patterns/90-External.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/skinny-patterns/99-Default_Drop.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1000.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1001.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1002.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1003.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1004.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1005.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1006.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1007.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1008.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1009.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1010.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1011.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1012.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1013.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1014.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1015.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1016.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1017.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1018.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1019.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/brian.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/default.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/example.com.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/skinny-example.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/extensions.conf create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/freeswitch.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/fur_elise.ttml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/ivr_menus/demo_ivr.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/ivr_menus/new_demo_ivr.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/jingle_profiles/client.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/jingle_profiles/server.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/json_cdr.conf.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/de/de.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/de/demo/demo.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/de/vm/sounds.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/de/vm/tts.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/en/demo/demo-ivr.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/en/demo/demo.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/en/demo/funnies.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/en/demo/new-demo-ivr.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/en/dir/sounds.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/en/dir/tts.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/en/en.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/en/ivr/sounds.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/en/vm/sounds.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/en/vm/tts.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/en/vm/voicemail_ivr.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/es/demo/demo-es-ES.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/es/demo/demo-es-MX.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/es/demo/demo-ivr-es-ES.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/es/demo/demo-ivr-es-MX.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/es/dir/sounds-es-ES.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/es/dir/sounds-es-MX.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/es/dir/tts-es-ES.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/es/dir/tts-es-MX.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/es/es_ES.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/es/es_MX.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/es/vm/sounds-es-ES.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/es/vm/sounds-es-MX.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/es/vm/tts-es-ES.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/es/vm/tts-es-MX.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/fr/demo/demo.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/fr/dir/sounds.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/fr/dir/tts.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/fr/fr.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/fr/vm/sounds.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/he/demo/demo-ivr.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/he/demo/demo.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/he/dir/sounds.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/he/he.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/he/vm/sounds.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/pt/demo/demo-ivr-pt-BR.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/pt/demo/demo-ivr-pt-PT.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/pt/demo/demo-pt-BR.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/pt/demo/demo-pt-PT.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/pt/dir/sounds-pt-BR.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/pt/dir/sounds-pt-PT.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/pt/dir/tts-pt-BR.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/pt/dir/tts-pt-PT.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/pt/pt_BR.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/pt/pt_PT.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/pt/vm/sounds-pt-BR.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/pt/vm/sounds-pt-PT.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/pt/vm/tts-pt-BR.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/pt/vm/tts-pt-PT.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/ru/demo/demo-ivr.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/ru/demo/demo.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/ru/dir/sounds.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/ru/dir/tts.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/ru/ru.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/ru/vm/sounds.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/lang/ru/vm/tts.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/mime.types create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/mrcp_profiles/loquendo-7-mrcp-v2.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/mrcp_profiles/nuance-1.0.0-mrcp-v1.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/mrcp_profiles/nuance-5.0-mrcp-v1.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/mrcp_profiles/nuance-5.0-mrcp-v2.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/mrcp_profiles/unimrcpserver-mrcp-v1.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/mrcp_profiles/vestec-mrcp-v1.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/mrcp_profiles/voxeo-prophecy-8.0-mrcp-v1.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/notify-voicemail.tpl create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/sip_profiles/external.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/sip_profiles/external/example.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/sip_profiles/internal-ipv6.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/sip_profiles/internal.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/sip_profiles/internal/example.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/skinny_profiles/internal.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/tetris.ttml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/vars.xml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/voicemail.tpl create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/web-vm.tpl create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/yaml/extensions.yaml create mode 100644 data/tutorials/fs_json/freeswitch/etc/freeswitch/yaml/mod_yaml.yaml create mode 100755 data/tutorials/fs_json/freeswitch/etc/init.d/freeswitch diff --git a/data/storage/mysql/setup_cgr_db.sh b/data/storage/mysql/setup_cgr_db.sh index f27029093..40b5e803c 100755 --- a/data/storage/mysql/setup_cgr_db.sh +++ b/data/storage/mysql/setup_cgr_db.sh @@ -14,16 +14,22 @@ if [ -z "$3" ]; then fi mysql -u $1 -p$2 -h $host < create_db_with_users.sql +cu=$? mysql -u $1 -p$2 -h $host -D cgrates < create_cdrs_tables.sql +cdrt=$? mysql -u $1 -p$2 -h $host -D cgrates < create_costdetails_tables.sql +cdt=$? mysql -u $1 -p$2 -h $host -D cgrates < create_mediator_tables.sql +mdt=$? mysql -u $1 -p$2 -h $host -D cgrates < create_tariffplan_tables.sql +tpt=$? -echo "" -echo "\t+++ CGR-DB successfully set-up! +++" -echo "" - -exit 0 +if [ $cu = 0 ] && [ $cdrt = 0 ] && [ $cdt = 0 ] && [ $mdt = 0 ] && [ $tpt = 0 ]; then + echo "" + echo "\t+++ CGR-DB successfully set-up! +++" + echo "" + exit 0 +fi diff --git a/data/tutorials/fs_json/README.md b/data/tutorials/fs_json/README.md new file mode 100644 index 000000000..e4528d9c5 --- /dev/null +++ b/data/tutorials/fs_json/README.md @@ -0,0 +1,18 @@ +Tutorial fs_prepaid_csv +======================= + +Scenario: +--------- + +- FreeSWITCH with *vanilla* configuration, replacing *mod_cdr_csv* with *mod_json_cdr*. + + - Modified following users (with configs in *etc/freeswitch/directory/default*): 1001-prepaid, 1002-postpaid, 1003-pseudoprepaid, 1004-rated. + - Have added inside default dialplan CGR own extensions just before routing towards users (*etc/freeswitch/dialplan/default.xml*). + - FreeSWITCH configured to generate default *http-json* CDRs. + +- **CGRateS** with following components: + + - CGR-SM started as prepaid controller, with debits taking place at 5s intervals. + - CGR-Mediator compoenent attaching costs to the raw CDRs from FreeSWITCH_ inside CGR StorDB. + - CGR-CDRE exporting mediated CDRs from CGR StorDB (export path: */tmp*). + - CGR-History component keeping the archive of the rates modifications (path browsable with git client at */tmp/cgr_history*). diff --git a/data/tutorials/fs_json/cgrates/etc/cgrates/cgrates.cfg b/data/tutorials/fs_json/cgrates/etc/cgrates/cgrates.cfg new file mode 100644 index 000000000..1ac42f06e --- /dev/null +++ b/data/tutorials/fs_json/cgrates/etc/cgrates/cgrates.cfg @@ -0,0 +1,116 @@ +# CGRateS Configuration file +# +# This file contains the default configuration hardcoded into CGRateS. +# This is what you get when you load CGRateS with an empty configuration file. +# [global] must exist in all files, rest of the configuration is inter-changeable. + +[global] +# ratingdb_type = redis # Rating subsystem database: . +# ratingdb_host = 127.0.0.1 # Rating subsystem database host address. +# ratingdb_port = 6379 # Rating subsystem port to reach the database. +# ratingdb_name = 10 # Rating subsystem database name to connect to. +# ratingdb_user = # Rating subsystem username to use when connecting to database. +# ratingdb_passwd = # Rating subsystem password to use when connecting to database. +# accountdb_type = redis # Accounting subsystem database: . +# accountdb_host = 127.0.0.1 # Accounting subsystem database host address. +# accountdb_port = 6379 # Accounting subsystem port to reach the database. +# accountdb_name = 11 # Accounting subsystem database name to connect to. +# accountdb_user = # Accounting subsystem username to use when connecting to database. +# accountdb_passwd = # Accounting subsystem password to use when connecting to database. +# stordb_type = mysql # Stor database type to use: +# stordb_host = 127.0.0.1 # The host to connect to. Values that start with / are for UNIX domain sockets. +# stordb_port = 3306 # The port to reach the logdb. +# stordb_name = cgrates # The name of the log database to connect to. +# stordb_user = cgrates # Username to use when connecting to stordb. +# stordb_passwd = CGRateS.org # Password to use when connecting to stordb. +# dbdata_encoding = msgpack # The encoding used to store object data in strings: +# rpc_encoding = json # RPC encoding used on APIs: . +# default_reqtype = rated # Default request type to consider when missing from requests: <""|prepaid|postpaid|pseudoprepaid|rated>. +# default_tor = 0 # Default Type of Record to consider when missing from requests. +# default_tenant = 0 # Default Tenant to consider when missing from requests. +# default_subject = 0 # Default rating Subject to consider when missing from requests. +# rounding_method = *middle # Rounding method for floats/costs: <*up|*middle|*down> +# rounding_decimals = 4 # Number of decimals to round float/costs at + +[balancer] +# enabled = false # Start Balancer service: . +# listen = 127.0.0.1:2012 # Balancer listen interface: <""|x.y.z.y:1234>. + +[rater] +enabled = true # Enable RaterCDRSExportPath service: . +# balancer = disabled # Register to Balancer as worker: . +# listen = 127.0.0.1:2012 # Rater's listening interface: . + +[scheduler] +enabled = true # Starts Scheduler service: . + +[cdrs] +enabled = true # Start the CDR Server service: . +# listen=127.0.0.1:2022 # CDRS's listening interface: . +# extra_fields = # Extra fields to store in CDRs +mediator = internal # Address where to reach the Mediator. Empty for disabling mediation. <""|internal> + +[cdre] +# cdr_format = csv # Exported CDRs format +# extra_fields = # List of extra fields to be exported out in CDRs +export_dir = /tmp # Path where the exported CDRs will be placed + +[cdrc] +# enabled = false # Enable CDR client functionality +# cdrs = 127.0.0.1:2022 # Address where to reach CDR server +# cdrs_method = http_cgr # Mechanism to use when posting CDRs on server +# run_delay = 0 # Sleep interval in seconds between consecutive runs, 0 to use automation via inotify +# cdr_type = freeswitch_csv # CDR file format . +# cdr_in_dir = /var/log/cgrates/cdr/cdrc/in # Absolute path towards the directory where the CDRs are stored. +# cdr_out_dir = /tmp # Absolute path towards the directory where processed CDRs will be moved. +# cdr_source_id = freeswitch_csv # Free form field, tag identifying the source of the CDRs within CGRS database. +# accid_field = 10 # Accounting id field identifier. Use index number in case of .csv cdrs. +# reqtype_field = 16 # Request type field identifier. Use index number in case of .csv cdrs. +# direction_field = ^*out # Direction field identifier. Use index numbers in case of .csv cdrs. +# tenant_field = ^cgrates.org # Tenant field identifier. Use index numbers in case of .csv cdrs. +# tor_field = ^call # Type of Record field identifier. Use index numbers in case of .csv cdrs. +# account_field = 1 # Account field identifier. Use index numbers in case of .csv cdrs. +# subject_field = 1 # Subject field identifier. Use index numbers in case of .csv CDRs. +# destination_field = 2 # Destination field identifier. Use index numbers in case of .csv cdrs. +# answer_time_field = 5 # Answer time field identifier. Use index numbers in case of .csv cdrs. +# duration_field = 8 # Duration field identifier. Use index numbers in case of .csv cdrs. +# extra_fields = read_codec:13,write_codec:14 # Extra fields identifiers. For .csv, format: : + +[mediator] +enabled = true # Starts Mediator service: . +# listen=internal # Mediator's listening interface: . +# rater = 127.0.0.1:2012 # Address where to reach the Rater: +# rater_reconnects = 3 # Number of reconnects to rater before giving up. +# run_ids = # Identifiers of each extra mediation to run on CDRs +# reqtype_fields = # Name of request type fields to be used during extra mediation. Use index number in case of .csv cdrs. +# direction_fields = # Name of direction fields to be used during extra mediation. Use index numbers in case of .csv cdrs. +# tenant_fields = # Name of tenant fields to be used during extra mediation. Use index numbers in case of .csv cdrs. +# tor_fields = # Name of tor fields to be used during extra mediation. Use index numbers in case of .csv cdrs. +# account_fields = # Name of account fields to be used during extra mediation. Use index numbers in case of .csv cdrs. +# subject_fields = # Name of fields to be used during extra mediation. Use index numbers in case of .csv cdrs. +# destination_fields = # Name of destination fields to be used during extra mediation. Use index numbers in case of .csv cdrs. +# answer_time_fields = # Name of time_answer fields to be used during extra mediation. Use index numbers in case of .csv cdrs. +# duration_fields = # Name of duration fields to be used during extra mediation. Use index numbers in case of .csv cdrs. + +[session_manager] +enabled = true # Starts SessionManager service: . +# switch_type = freeswitch # Defines the type of switch behind: . +# rater = 127.0.0.1:2012 # Address where to reach the Rater. +# rater_reconnects = 3 # Number of reconnects to rater before giving up. +# debit_interval = 5 # Interval to perform debits on. + +[freeswitch] +# server = 127.0.0.1:8021 # Adress where to connect to FreeSWITCH socket. +# passwd = ClueCon # FreeSWITCH socket password. +# reconnects = 5 # Number of attempts on connect failure. + +[history_server] +enabled = true # Starts History service: . +# listen = 127.0.0.1:2013 # Listening addres for history server: +history_dir = /tmp/cgr_history # Location on disk where to store history files. +# save_interval = 1s # Interval to save changed cache into .git archive + +[history_agent] +# enabled = false # Starts History as a client: . +# server = 127.0.0.1:2013 # Address where to reach the master history server: + diff --git a/data/tutorials/fs_json/cgrates/etc/default/cgrates b/data/tutorials/fs_json/cgrates/etc/default/cgrates new file mode 100644 index 000000000..4e7add309 --- /dev/null +++ b/data/tutorials/fs_json/cgrates/etc/default/cgrates @@ -0,0 +1,17 @@ +# defaults file for CGRateS real-time charging system + +# start CGRateS init.d script? +# starts with "true" +ENABLE=true + +# Start with specific user/group +#USER=cgrates +#GROUP=cgrates + +# what extra options to give cgrates binary? +# See cgr-engine -h for options +#ENGINE_OPTS='' + +# Don't forget to create an appropriate config file, +# else the CGRateS system will not start. + diff --git a/data/tutorials/fs_json/cgrates/etc/init.d/cgrates b/data/tutorials/fs_json/cgrates/etc/init.d/cgrates new file mode 100755 index 000000000..e6c27e56f --- /dev/null +++ b/data/tutorials/fs_json/cgrates/etc/init.d/cgrates @@ -0,0 +1,162 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: cgrates +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: CGRateS real-time charging system +# Description: Control CGRateS - carrier grade real-time charging system +### END INIT INFO + +# Author: DanB +# +# Do NOT "set -e" + +# PATH should only include /usr/* if it runs after the mountnfs.sh script +PATH=/sbin:/usr/sbin:/bin:/usr/bin +DESC="CGRateS real-time charging system" +NAME=cgrates +DAEMON=/usr/bin/cgr-engine +USER=cgrates +GROUP=cgrates +TUTFOLDER=/usr/share/cgrates/tutorials/fs_json/cgrates +ENGINE_OPTS=-config=$TUTFOLDER/etc/cgrates/cgrates.cfg +PIDFILE=/tmp/cgr-engine_tutfsjson.pid +SCRIPTNAME=$TUTFOLDER/etc/init.d/$NAME +DEFAULTS=$TUTFOLDER/etc/default/$NAME +ENABLE=false + +# Exit if the package is not installed +[ -x "$DAEMON" ] || exit 0 + +# Read configuration variable file if it is present +[ -r $DEFAULTS ] && . $DEFAULTS + +# Load the VERBOSE setting and other rcS variables +. /lib/init/vars.sh + +# Define LSB log_* functions. +# Depend on lsb-base (>= 3.2-14) to ensure that this file is present +# and status_of_proc is working. +. /lib/lsb/init-functions + +if [ "$ENABLE" != "true" ]; then + echo "$DESC not yet configured. Edit $DEFAULTS first." + exit 0 +fi + + +# +# Function that starts the daemon/service +# +do_start() +{ + # Return + # 0 if daemon has been started + # 1 if daemon was already running + # 2 if daemon could not be started + start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \ + || return 1 + start-stop-daemon --start --quiet --pidfile $PIDFILE --make-pidfile --exec $DAEMON --chuid $USER:$GROUP --background -- \ + $ENGINE_OPTS \ + || return 2 +} + +# +# Function that stops the daemon/service +# +do_stop() +{ + # Return + # 0 if daemon has been stopped + # 1 if daemon was already stopped + # 2 if daemon could not be stopped + # other if a failure occurred + start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE + RETVAL="$?" + [ "$RETVAL" = 2 ] && return 2 + # Wait for children to finish too if this is a daemon that forks + # and if the daemon is only ever run from this initscript. + # If the above conditions are not satisfied then add some other code + # that waits for the process to drop all resources that could be + # needed by services started subsequently. A last resort is to + # sleep for some time. + start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON + [ "$?" = 2 ] && return 2 + # Many daemons don't delete their pidfiles when they exit. + rm -f $PIDFILE + return "$RETVAL" +} + +# +# Function that sends a SIGHUP to the daemon/service +# +do_reload() { + # + # If the daemon can reload its configuration without + # restarting (for example, when it is sent a SIGHUP), + # then implement that here. + # + start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME + return 0 +} + +case "$1" in + start) + [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME" + do_start + case "$?" in + 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; + 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; + esac + ;; + stop) + [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME" + do_stop + case "$?" in + 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; + 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; + esac + ;; + status) + status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? + ;; + #reload|force-reload) + # + # If do_reload() is not implemented then leave this commented out + # and leave 'force-reload' as an alias for 'restart'. + # + #log_daemon_msg "Reloading $DESC" "$NAME" + #do_reload + #log_end_msg $? + #;; + restart|force-reload) + # + # If the "reload" option is implemented then remove the + # 'force-reload' alias + # + log_daemon_msg "Restarting $DESC" "$NAME" + do_stop + case "$?" in + 0|1) + do_start + case "$?" in + 0) log_end_msg 0 ;; + 1) log_end_msg 1 ;; # Old process is still running + *) log_end_msg 1 ;; # Failed to start + esac + ;; + *) + # Failed to stop + log_end_msg 1 + ;; + esac + ;; + *) + echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 + exit 3 + ;; +esac + +: diff --git a/data/tutorials/fs_json/cgrates/tariffplans/AccountActions.csv b/data/tutorials/fs_json/cgrates/tariffplans/AccountActions.csv new file mode 100644 index 000000000..455f5318c --- /dev/null +++ b/data/tutorials/fs_json/cgrates/tariffplans/AccountActions.csv @@ -0,0 +1,5 @@ +#Tenant,Account,Direction,ActionTimingsTag,ActionTriggersTag +cgrates.org,1001,*out,PREPAID_10,STANDARD_TRIGGERS +cgrates.org,1002,*out,PREPAID_10,STANDARD_TRIGGERS +cgrates.org,1003,*out,PREPAID_10,STANDARD_TRIGGERS +cgrates.org,1004,*out,PREPAID_10,STANDARD_TRIGGERS diff --git a/data/tutorials/fs_json/cgrates/tariffplans/ActionTimings.csv b/data/tutorials/fs_json/cgrates/tariffplans/ActionTimings.csv new file mode 100644 index 000000000..24f63c8a8 --- /dev/null +++ b/data/tutorials/fs_json/cgrates/tariffplans/ActionTimings.csv @@ -0,0 +1,2 @@ +#Tag,ActionsTag,TimingTag,Weight +PREPAID_10,PREPAID_10,ASAP,10 diff --git a/data/tutorials/fs_json/cgrates/tariffplans/ActionTriggers.csv b/data/tutorials/fs_json/cgrates/tariffplans/ActionTriggers.csv new file mode 100644 index 000000000..2f7729eec --- /dev/null +++ b/data/tutorials/fs_json/cgrates/tariffplans/ActionTriggers.csv @@ -0,0 +1,4 @@ +#Tag,BalanceType,Direction,ThresholdType,ThresholdValue,DestinationTag,ActionsTag,Weight +STANDARD_TRIGGERS,*monetary,*out,*min_balance,2,,LOG_WARNING,10 +STANDARD_TRIGGERS,*monetary,*out,*max_balance,20,,LOG_WARNING,10 +STANDARD_TRIGGERS,*monetary,*out,*max_counter,5,FS_USERS,LOG_WARNING,10 diff --git a/data/tutorials/fs_json/cgrates/tariffplans/Actions.csv b/data/tutorials/fs_json/cgrates/tariffplans/Actions.csv new file mode 100644 index 000000000..97cef134a --- /dev/null +++ b/data/tutorials/fs_json/cgrates/tariffplans/Actions.csv @@ -0,0 +1,3 @@ +#ActionsTag,Action,BalanceType,Direction,Units,ExpiryTime,DestinationTag,RatingSubject,BalanceWeight,ExtraParameters,Weight +PREPAID_10,*topup_reset,*monetary,*out,10,*unlimited,*any,,10,,10 +LOG_WARNING,*log,,,,,,,,,10 diff --git a/data/tutorials/fs_json/cgrates/tariffplans/DestinationRates.csv b/data/tutorials/fs_json/cgrates/tariffplans/DestinationRates.csv new file mode 100644 index 000000000..b617f1d4e --- /dev/null +++ b/data/tutorials/fs_json/cgrates/tariffplans/DestinationRates.csv @@ -0,0 +1,5 @@ +#Tag,DestinationsTag,RatesTag +DR_1002_20CNT,DST_1002,RT_20CNT +DR_1003_20CNT,DST_1003,RT_40CNT +DR_FS_40CNT,DST_FS,RT_40CNT +DR_FS_10CNT,DST_FS,RT_10CNT diff --git a/data/tutorials/fs_json/cgrates/tariffplans/Destinations.csv b/data/tutorials/fs_json/cgrates/tariffplans/Destinations.csv new file mode 100644 index 000000000..1c19d97ea --- /dev/null +++ b/data/tutorials/fs_json/cgrates/tariffplans/Destinations.csv @@ -0,0 +1,4 @@ +#Tag,Prefix +DST_1002,1002 +DST_1003,1003 +DST_FS,10 diff --git a/data/tutorials/fs_json/cgrates/tariffplans/README.md b/data/tutorials/fs_json/cgrates/tariffplans/README.md new file mode 100644 index 000000000..3e5b21c87 --- /dev/null +++ b/data/tutorials/fs_json/cgrates/tariffplans/README.md @@ -0,0 +1,20 @@ +CGRateS - FSGermanyPrep1 +========================== + +Scenario: +--------- + +- Create the necessary timings (always, asap, peak, offpeak). +- Configure 3 destinations (1002, 1003 and 10 used as catch all rule). +- As rating we configure the following: + + - Rate id: *RT_10CNT* with connect fee of 20cents, 10cents per minute for the first 60s in 60s increments followed by 5cents per minute in 1s increments. + - Rate id: *RT_20CNT* with connect fee of 40cents, 20cents per minute for the first 60s in 60s increments, followed by 10 cents per minute charged in 1s increments. + - Rate id: *RT_40CNT* with connect fee of 80cents, 40cents per minute for the first 60s in 60s increments, follwed by 20cents per minute charged in 10s increments. + - Will charge by default *RT_40CNT* for all FreeSWITCH_ destinations during peak times (Monday-Friday 08:00-19:00) and *RT_10CNT* during offpeatimes (rest). + - Account 1001 will receive a special *deal* for 1002 and 1003 destinations during peak times with *RT_20CNT*, otherwise failing over default rating. + +- Create 4 accounts (equivalent of 2 FreeSWITCH default test users - 1001, 1002, 1003, 1004). +- 1001, 1002, 1003, 1004 will receive 10units of *\*monetary* balance. +- For each balance created, attach 3 triggers to control the balance: log on balance=2, log on balance=20, log on 5 mins talked towards 10xx destination. + diff --git a/data/tutorials/fs_json/cgrates/tariffplans/Rates.csv b/data/tutorials/fs_json/cgrates/tariffplans/Rates.csv new file mode 100644 index 000000000..4cfb2dd9e --- /dev/null +++ b/data/tutorials/fs_json/cgrates/tariffplans/Rates.csv @@ -0,0 +1,7 @@ +#Tag,ConnectFee,Rate,RateUnit,RateIncrement,GroupIntervalStart,RoundingMethod,RoundingDecimals +RT_10CNT,0.2,0.1,60s,60s,0s,*up,4 +RT_10CNT,0,0.05,60s,1s,60s,*up,4 +RT_20CNT,0.4,0.2,60s,60s,0s,*up,4 +RT_20CNT,0,0.1,60s,1s,60s,*up,4 +RT_40CNT,0.8,0.4,60s,30s,0s,*up,4 +RT_40CNT,0,0.2,60s,10s,60s,*up,4 diff --git a/data/tutorials/fs_json/cgrates/tariffplans/RatingPlans.csv b/data/tutorials/fs_json/cgrates/tariffplans/RatingPlans.csv new file mode 100644 index 000000000..27a8ce7a0 --- /dev/null +++ b/data/tutorials/fs_json/cgrates/tariffplans/RatingPlans.csv @@ -0,0 +1,5 @@ +#Tag,DestinationRatesTag,TimingTag,Weight +RP_RETAIL1,DR_FS_40CNT,PEAK,10 +RP_RETAIL1,DR_FS_10CNT,OFFPEAK,10 +RP_RETAIL2,DR_1002_20CNT,PEAK,10 +RP_RETAIL2,DR_1003_20CNT,PEAK,10 diff --git a/data/tutorials/fs_json/cgrates/tariffplans/RatingProfiles.csv b/data/tutorials/fs_json/cgrates/tariffplans/RatingProfiles.csv new file mode 100644 index 000000000..248ea06ca --- /dev/null +++ b/data/tutorials/fs_json/cgrates/tariffplans/RatingProfiles.csv @@ -0,0 +1,3 @@ +#Tenant,TOR,Direction,Subject,ActivationTime,RatingPlanTag,FallbackSubject +cgrates.org,call,*out,*any,2014-01-14T00:00:00Z,RP_RETAIL1, +cgrates.org,call,*out,1001,2014-01-14T00:00:00Z,RP_RETAIL2, diff --git a/data/tutorials/fs_json/cgrates/tariffplans/Timings.csv b/data/tutorials/fs_json/cgrates/tariffplans/Timings.csv new file mode 100644 index 000000000..5f22d1d07 --- /dev/null +++ b/data/tutorials/fs_json/cgrates/tariffplans/Timings.csv @@ -0,0 +1,7 @@ +#Tag,Years,Months,MonthDays,WeekDays,Time +ALWAYS,*any,*any,*any,*any,00:00:00 +ASAP,*any,*any,*any,*any,*asap +PEAK,*any,*any,*any,1;2;3;4;5,08:00:00 +OFFPEAK,*any,*any,*any,1;2;3;4;5,00:00:00 +OFFPEAK,*any,*any,*any,1;2;3;4;5,19:00:00 +OFFPEAK,*any,*any,*any,6;7,00:00:00 diff --git a/data/tutorials/fs_json/freeswitch/etc/default/freeswitch b/data/tutorials/fs_json/freeswitch/etc/default/freeswitch new file mode 100755 index 000000000..752045062 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/default/freeswitch @@ -0,0 +1,2 @@ +# /etc/default/freeswitch +DAEMON_OPTS="-rp -nonat" diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/README_IMPORTANT.txt b/data/tutorials/fs_json/freeswitch/etc/freeswitch/README_IMPORTANT.txt new file mode 100644 index 000000000..8d82b404f --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/README_IMPORTANT.txt @@ -0,0 +1,35 @@ + -= PLEASE READ THIS BEFORE YOU PUT A FreeSWITCH BOX INTO PRODUCTION =- + +This configuration, generally known as the "default configuration" for FreeSWITCH, is *NOT* designed to be put into a production environment without some important modifications. Please keep in mind that the default configuration is designed to demonstrate what FreeSWITCH *can* do, not what it *should* do in your specific scenario. + +*** SECURING YOUR SERVER *** + +By default, FreeSWITCH starts up and does a NATPMP and UPnP request to your router. If your router supports either of these protocols then FreeSWITCH does two things: +#1 - It gets the external IP address, which it uses for SIP communications +#2 - It causes there to be a "pinhole" opened up in the router allowing inbound communications to your FreeSWITCH server + +Please re-read #2. Now, please re-read #2 again. If you do not want a pinhole coming through your router then DO NOT USE the "auto-nat" tools. The way to disable the auto-nat (that is, UPnP/NATPMP) checking is to start FreeSWITCH with the "-nonat" flag. Easy enough. + +If you are planning on putting a system into production then you had better pay attention to security in other areas as well. If you are behind a firewall then make sure your firewall is actually protecting you. If you have your server on a public-facing Internet connection then we recommend a few things: +#1 - Consider using iptables (Linux/Unix) +#2 - Consider using fail2ban (see http://wiki.freeswitch.org/wiki/Fail2ban) + +*** SECURING YOUR USERS *** + +By default, the static XML files have 20 "directory users" in conf/directory/10xx.xml, numbered 1000-1019. Also, the default dialplan has routing for calls to those same extension numbers. (NOTE: the directory and the dialplan are 100% separate concepts. Check out chapters 3-5 of the awesome FreeSWITCH book for details.) + +The default users all have *very* simple passwords for SIP credentials and voicemail. If you put those into a production system then you are either brave, ignorant, or stupid. Please don't be any of those three things! You have a few choices for handling your users: + +#1 - Delete the static XML files and use mod_xml_curl for dynamic users from a back-end database +#2 - Manually edit the static XML user directory files and modify the passwords +#3 - Run the handy randomize-passwords.pl script found in scripts/perl/ subdirectory under the main FreeSWITCH source directory + +*** GETTING HELP *** + +FreeSWITCH has a thriving on-line community - we welcome you to join us! +IRC: #freeswitch on irc.freenode.net +Mailing List: freeswitch-users on lists.freeswitch.org + +You can also get professional FreeSWITCH assistance by visiting http://www.freeswitchsolutions.com or sending an email to consulting@freeswitch.org. + +Happy FreeSWITCHing! diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/abstraction.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/abstraction.conf.xml new file mode 100644 index 000000000..d4b1dfd27 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/abstraction.conf.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/acl.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/acl.conf.xml new file mode 100644 index 000000000..0c117d07b --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/acl.conf.xml @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/alsa.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/alsa.conf.xml new file mode 100644 index 000000000..e589acaac --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/alsa.conf.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/blacklist.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/blacklist.conf.xml new file mode 100644 index 000000000..a981ebbdb --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/blacklist.conf.xml @@ -0,0 +1,11 @@ + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/callcenter.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/callcenter.conf.xml new file mode 100644 index 000000000..a069413ac --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/callcenter.conf.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/cdr_csv.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/cdr_csv.conf.xml new file mode 100644 index 000000000..92f88c6c1 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/cdr_csv.conf.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/cdr_mongodb.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/cdr_mongodb.conf.xml new file mode 100644 index 000000000..ce366d1bd --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/cdr_mongodb.conf.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/cdr_pg_csv.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/cdr_pg_csv.conf.xml new file mode 100644 index 000000000..4fec817b4 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/cdr_pg_csv.conf.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/cdr_sqlite.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/cdr_sqlite.conf.xml new file mode 100644 index 000000000..872c04c4f --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/cdr_sqlite.conf.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/cepstral.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/cepstral.conf.xml new file mode 100644 index 000000000..cf4aa92f4 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/cepstral.conf.xml @@ -0,0 +1,12 @@ + + + + + + \ No newline at end of file diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/cidlookup.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/cidlookup.conf.xml new file mode 100644 index 000000000..a30f9f5c1 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/cidlookup.conf.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/conference.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/conference.conf.xml new file mode 100644 index 000000000..ee41f740d --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/conference.conf.xml @@ -0,0 +1,213 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/console.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/console.conf.xml new file mode 100644 index 000000000..2d9e3e8de --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/console.conf.xml @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/db.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/db.conf.xml new file mode 100644 index 000000000..abc6c0c15 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/db.conf.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/dialplan_directory.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/dialplan_directory.conf.xml new file mode 100644 index 000000000..e4edcd6b1 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/dialplan_directory.conf.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/dingaling.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/dingaling.conf.xml new file mode 100644 index 000000000..dd6c9a5da --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/dingaling.conf.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/directory.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/directory.conf.xml new file mode 100644 index 000000000..748b2337c --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/directory.conf.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/distributor.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/distributor.conf.xml new file mode 100644 index 000000000..a03b1ee81 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/distributor.conf.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/easyroute.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/easyroute.conf.xml new file mode 100644 index 000000000..350a50989 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/easyroute.conf.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/enum.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/enum.conf.xml new file mode 100644 index 000000000..b9813efa2 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/enum.conf.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/erlang_event.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/erlang_event.conf.xml new file mode 100644 index 000000000..62deb84f6 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/erlang_event.conf.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/event_multicast.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/event_multicast.conf.xml new file mode 100644 index 000000000..eac039260 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/event_multicast.conf.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml new file mode 100644 index 000000000..5ea2e0978 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/fax.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/fax.conf.xml new file mode 100644 index 000000000..c7d825665 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/fax.conf.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/fifo.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/fifo.conf.xml new file mode 100644 index 000000000..b1db4dd2b --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/fifo.conf.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/hash.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/hash.conf.xml new file mode 100644 index 000000000..95b792877 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/hash.conf.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/httapi.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/httapi.conf.xml new file mode 100644 index 000000000..50bbe78f4 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/httapi.conf.xml @@ -0,0 +1,127 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/http_cache.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/http_cache.conf.xml new file mode 100644 index 000000000..5d0294c66 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/http_cache.conf.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/ivr.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/ivr.conf.xml new file mode 100644 index 000000000..bd4e73ded --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/ivr.conf.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/java.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/java.conf.xml new file mode 100644 index 000000000..5f71553e3 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/java.conf.xml @@ -0,0 +1,8 @@ + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/lcr.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/lcr.conf.xml new file mode 100644 index 000000000..9d106d489 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/lcr.conf.xml @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/local_stream.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/local_stream.conf.xml new file mode 100644 index 000000000..94a566539 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/local_stream.conf.xml @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/logfile.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/logfile.conf.xml new file mode 100644 index 000000000..65bea552b --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/logfile.conf.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/lua.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/lua.conf.xml new file mode 100644 index 000000000..f50307ea8 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/lua.conf.xml @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/memcache.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/memcache.conf.xml new file mode 100644 index 000000000..dc0173f98 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/memcache.conf.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/modules.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/modules.conf.xml new file mode 100644 index 000000000..3df3d62d8 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/modules.conf.xml @@ -0,0 +1,136 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/mongo.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/mongo.conf.xml new file mode 100644 index 000000000..72fffafbb --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/mongo.conf.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/nibblebill.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/nibblebill.conf.xml new file mode 100644 index 000000000..043c98548 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/nibblebill.conf.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/opal.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/opal.conf.xml new file mode 100644 index 000000000..280b69304 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/opal.conf.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/oreka.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/oreka.conf.xml new file mode 100644 index 000000000..29eabd5c2 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/oreka.conf.xml @@ -0,0 +1,13 @@ + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/osp.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/osp.conf.xml new file mode 100644 index 000000000..b320dbba8 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/osp.conf.xml @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/perl.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/perl.conf.xml new file mode 100644 index 000000000..b2435000f --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/perl.conf.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/pocketsphinx.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/pocketsphinx.conf.xml new file mode 100644 index 000000000..3bf7d5e57 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/pocketsphinx.conf.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/portaudio.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/portaudio.conf.xml new file mode 100644 index 000000000..a715571c6 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/portaudio.conf.xml @@ -0,0 +1,221 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/post_load_modules.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/post_load_modules.conf.xml new file mode 100644 index 000000000..8f4e132fa --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/post_load_modules.conf.xml @@ -0,0 +1,4 @@ + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/presence_map.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/presence_map.conf.xml new file mode 100644 index 000000000..8a9d1dde5 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/presence_map.conf.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/python.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/python.conf.xml new file mode 100644 index 000000000..d3a8fdc75 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/python.conf.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/redis.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/redis.conf.xml new file mode 100644 index 000000000..1a1f47403 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/redis.conf.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/rss.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/rss.conf.xml new file mode 100644 index 000000000..f8c4f6d2b --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/rss.conf.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/rtmp.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/rtmp.conf.xml new file mode 100644 index 000000000..d5d278810 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/rtmp.conf.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/sangoma_codec.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/sangoma_codec.conf.xml new file mode 100644 index 000000000..eed9d673e --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/sangoma_codec.conf.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/shout.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/shout.conf.xml new file mode 100644 index 000000000..3f381e627 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/shout.conf.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/skinny.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/skinny.conf.xml new file mode 100644 index 000000000..6a878fcd7 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/skinny.conf.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/sofia.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/sofia.conf.xml new file mode 100644 index 000000000..a5e861432 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/sofia.conf.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/spandsp.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/spandsp.conf.xml new file mode 100644 index 000000000..0241c1f4d --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/spandsp.conf.xml @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/spidermonkey.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/spidermonkey.conf.xml new file mode 100644 index 000000000..2e6dc6a16 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/spidermonkey.conf.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/switch.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/switch.conf.xml new file mode 100644 index 000000000..ddf41f899 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/switch.conf.xml @@ -0,0 +1,168 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/syslog.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/syslog.conf.xml new file mode 100644 index 000000000..636a12c8c --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/syslog.conf.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/timezones.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/timezones.conf.xml new file mode 100644 index 000000000..397e9a979 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/timezones.conf.xml @@ -0,0 +1,551 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/translate.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/translate.conf.xml new file mode 100644 index 000000000..453ef3afb --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/translate.conf.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/tts_commandline.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/tts_commandline.conf.xml new file mode 100644 index 000000000..eb816431b --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/tts_commandline.conf.xml @@ -0,0 +1,15 @@ + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/unicall.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/unicall.conf.xml new file mode 100644 index 000000000..eeaa0782f --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/unicall.conf.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/unimrcp.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/unimrcp.conf.xml new file mode 100644 index 000000000..45dda798a --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/unimrcp.conf.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/voicemail.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/voicemail.conf.xml new file mode 100644 index 000000000..9e5e67ffa --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/voicemail.conf.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/voicemail_ivr.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/voicemail_ivr.conf.xml new file mode 100644 index 000000000..1cdf3c222 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/voicemail_ivr.conf.xml @@ -0,0 +1,211 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/xml_cdr.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/xml_cdr.conf.xml new file mode 100644 index 000000000..ac9b1f94d --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/xml_cdr.conf.xml @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/xml_curl.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/xml_curl.conf.xml new file mode 100644 index 000000000..30951d83c --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/xml_curl.conf.xml @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/xml_rpc.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/xml_rpc.conf.xml new file mode 100644 index 000000000..714a90990 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/xml_rpc.conf.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/xml_scgi.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/xml_scgi.conf.xml new file mode 100644 index 000000000..b9662d163 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/xml_scgi.conf.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/zeroconf.conf.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/zeroconf.conf.xml new file mode 100644 index 000000000..84c1a4617 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/autoload_configs/zeroconf.conf.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/chatplan/default.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/chatplan/default.xml new file mode 100644 index 000000000..b67bb638f --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/chatplan/default.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/config.FS0 b/data/tutorials/fs_json/freeswitch/etc/freeswitch/config.FS0 new file mode 100644 index 000000000..531014214 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/config.FS0 @@ -0,0 +1,78 @@ +CountryCode: 1 +AreaCode: 800 +FAXNumber: +1.800.555.1212 +LongDistancePrefix: 1 +InternationalPrefix: 011 +DialStringRules: etc/dialrules +ServerTracing: 0xFFF +SessionTracing: 0xFFF +RecvFileMode: 0600 +LogFileMode: 0600 +DeviceMode: 0600 +RingsBeforeAnswer: 1 +SpeakerVolume: off +GettyArgs: "-h %l dx_%s" +LocalIdentifier: "FS" +TagLineFont: etc/lutRS18.pcf +TagLineFormat: "From %%l|%c|Page %%P of %%T" +MaxRecvPages: 200 +# +# +# Modem-related stuff: should reflect modem command interface +# and hardware connection/cabling (e.g. flow control). +# +ModemType: Class1 # use this to supply a hint + +# +# Enabling this will use the hfaxd-protocol to set Caller*ID +# +#ModemSetOriginCmd: AT+VSID="%s","%d" + +# +# If "glare" during initialization becomes a problem then take +# the modem off-hook during initialization, and then place it +# back on-hook when done. +# +#ModemResetCmds: "ATH1\nAT+VCID=1" # enables CallID display +#ModemReadyCmds: ATH0 + +Class1AdaptRecvCmd: AT+FAR=1 +Class1TMConnectDelay: 400 # counteract quick CONNECT response + +# +# If you have trouble with V.17 receiving or sending, +# you may want to enable one of these, respectively. +# +#Class1RMQueryCmd: "!24,48,72,96" # enable this to disable V.17 receiving +#Class1TMQueryCmd: "!24,48,72,96" # enable this to disable V.17 sending + +# +# You'll likely want Caller*ID display (also displays DID) enabled. +# +ModemResetCmds: AT+VCID=1 # enables CallID display + +# +# The pty does not support changing parity. +# +PagerTTYParity: none + +# +# If you are "missing" Caller*ID data on some calls (but not all) +# and if you do not have adequate glare protection you may want to +# not answer based on RINGs, but rather enable the CallIDAnswerLength +# for NDID, disable AT+VCID=1 and do this: +# +#RingsBeforeAnswer: 0 +#ModemRingResponse: AT+VRID=1 + +# Uncomment DATE and TIME if you really want them, but you probably don't. +#CallIDPattern: "DATE=" +#CallIDPattern: "TIME=" +CallIDPattern: "NMBR=" +CallIDPattern: "NAME=" +CallIDPattern: "ANID=" +#CallIDPattern: "USER=" # username provided by call +#CallIDPattern: "PASS=" # password provided by call +#CallIDPattern: "CDID=" # DID context in call +CallIDPattern: "NDID=" +#CallIDAnswerLength: 4 diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default.xml new file mode 100644 index 000000000..cfdc0a9e4 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default.xml @@ -0,0 +1,821 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/00_ladspa.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/00_ladspa.xml new file mode 100644 index 000000000..a26b193ef --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/00_ladspa.xml @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/00_pizza_demo.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/00_pizza_demo.xml new file mode 100644 index 000000000..e7fcca204 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/00_pizza_demo.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/01_Talking_Clock.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/01_Talking_Clock.xml new file mode 100644 index 000000000..bc5077053 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/01_Talking_Clock.xml @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/01_example.com.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/01_example.com.xml new file mode 100644 index 000000000..bd61cd278 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/01_example.com.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/ideasip.com.noload b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/ideasip.com.noload new file mode 100644 index 000000000..8b963e3bd --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/ideasip.com.noload @@ -0,0 +1,7 @@ + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/pulver.com.noload b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/pulver.com.noload new file mode 100644 index 000000000..7b86caa84 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/pulver.com.noload @@ -0,0 +1,7 @@ + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/sipbroker.com.noload b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/sipbroker.com.noload new file mode 100644 index 000000000..4f5e4f8c2 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/sipbroker.com.noload @@ -0,0 +1,7 @@ + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/sipphone.com.noload b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/sipphone.com.noload new file mode 100644 index 000000000..a6ea9e8d4 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/sipphone.com.noload @@ -0,0 +1,7 @@ + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/tollfreegateway.com.noload b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/tollfreegateway.com.noload new file mode 100644 index 000000000..b7526bf89 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/default/tollfreegateway.com.noload @@ -0,0 +1,7 @@ + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/features.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/features.xml new file mode 100644 index 000000000..b85cadc5f --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/features.xml @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/public.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/public.xml new file mode 100644 index 000000000..e44006e33 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/public.xml @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/public/00_inbound_did.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/public/00_inbound_did.xml new file mode 100644 index 000000000..d40b3ab2c --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/public/00_inbound_did.xml @@ -0,0 +1,18 @@ + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/skinny-patterns.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/skinny-patterns.xml new file mode 100644 index 000000000..b37d8eed8 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/skinny-patterns.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/skinny-patterns/20-Demo.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/skinny-patterns/20-Demo.xml new file mode 100644 index 000000000..f69658128 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/skinny-patterns/20-Demo.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/skinny-patterns/20-Local_extension.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/skinny-patterns/20-Local_extension.xml new file mode 100644 index 000000000..9ad565132 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/skinny-patterns/20-Local_extension.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/skinny-patterns/90-External.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/skinny-patterns/90-External.xml new file mode 100644 index 000000000..50d6c37f2 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/skinny-patterns/90-External.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/skinny-patterns/99-Default_Drop.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/skinny-patterns/99-Default_Drop.xml new file mode 100644 index 000000000..897fd8fb9 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/dialplan/skinny-patterns/99-Default_Drop.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default.xml new file mode 100644 index 000000000..95b75b40d --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default.xml @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1000.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1000.xml new file mode 100644 index 000000000..9bee406dd --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1000.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1001.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1001.xml new file mode 100644 index 000000000..de35469de --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1001.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1002.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1002.xml new file mode 100644 index 000000000..1068563d4 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1002.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1003.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1003.xml new file mode 100644 index 000000000..61809b58f --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1003.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1004.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1004.xml new file mode 100644 index 000000000..832702984 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1004.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1005.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1005.xml new file mode 100644 index 000000000..0e1165f43 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1005.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1006.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1006.xml new file mode 100644 index 000000000..beaaa7e9f --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1006.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1007.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1007.xml new file mode 100644 index 000000000..10470a504 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1007.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1008.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1008.xml new file mode 100644 index 000000000..0e63fcfde --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1008.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1009.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1009.xml new file mode 100644 index 000000000..24db7f815 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1009.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1010.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1010.xml new file mode 100644 index 000000000..6d8e0c1ba --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1010.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1011.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1011.xml new file mode 100644 index 000000000..79d731de5 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1011.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1012.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1012.xml new file mode 100644 index 000000000..3839824fb --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1012.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1013.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1013.xml new file mode 100644 index 000000000..6f9c8e475 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1013.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1014.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1014.xml new file mode 100644 index 000000000..6a554c065 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1014.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1015.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1015.xml new file mode 100644 index 000000000..e94b8886a --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1015.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1016.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1016.xml new file mode 100644 index 000000000..4f856fc7b --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1016.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1017.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1017.xml new file mode 100644 index 000000000..b0e43a023 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1017.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1018.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1018.xml new file mode 100644 index 000000000..6d7071942 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1018.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1019.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1019.xml new file mode 100644 index 000000000..f23a95f4b --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/1019.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/brian.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/brian.xml new file mode 100644 index 000000000..05fe0c832 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/brian.xml @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/default.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/default.xml new file mode 100644 index 000000000..aa138f18d --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/default.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/example.com.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/example.com.xml new file mode 100644 index 000000000..42a33ddbf --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/example.com.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/skinny-example.xml b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/skinny-example.xml new file mode 100644 index 000000000..357eb72f1 --- /dev/null +++ b/data/tutorials/fs_json/freeswitch/etc/freeswitch/directory/default/skinny-example.xml @@ -0,0 +1,35 @@ + + + + + + + + + + +