diff --git a/conf/minimal/README.md b/conf/minimal/README.md new file mode 100644 index 0000000000..5a4654fa16 --- /dev/null +++ b/conf/minimal/README.md @@ -0,0 +1,32 @@ +## Minimal FreeSWITCH Configuration + +The default "vanilla" configuration that comes with FreeSWITCH has +been designed as a showcase of the configurability of the myriad of +features that FreeSWITCH comes with out of the box. While it is very +helpful in tinkering with FreeSWITCH, it has a lot of extraneous stuff +enabled/configured for use in a production system. This configuration +aims to take the reverse stance -- it attempts to be a starting point +for configuring a new system by "adding" required features (instead of +removing them as one would do if one starts with the default +configuration). + +This folder also includes the corresponding `modules.conf` that lists +the modules that are required to get this configuration working. + +### Test + +This configuration was tested by sending an INVITE (without +registration) using the `siprtp` example program that comes with +PJSIP, and verifying that the info dump is produced on the FreeSWITCH +console. + + $ ./siprtp -q -p 1234 "sip:stub@$(my_ip):5080" + +### Upstream + +The configuration in this folder comes from +[mx4492/freeswitch-minimal-conf](https://github.com/mx4492/freeswitch-minimal-conf/commit/270941d6f2dca279f1bb8762d072940273d5ae11). + +### Other Minimal Configurations + +* [voxserv/freeswitch_conf_minimal](https://github.com/voxserv/freeswitch_conf_minimal) diff --git a/conf/minimal/autoload_configs/acl.conf.xml b/conf/minimal/autoload_configs/acl.conf.xml new file mode 100644 index 0000000000..7e1ef4df53 --- /dev/null +++ b/conf/minimal/autoload_configs/acl.conf.xml @@ -0,0 +1,15 @@ + + + + + + + + diff --git a/conf/minimal/autoload_configs/cdr_csv.conf.xml b/conf/minimal/autoload_configs/cdr_csv.conf.xml new file mode 100644 index 0000000000..a4dd837275 --- /dev/null +++ b/conf/minimal/autoload_configs/cdr_csv.conf.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/conf/minimal/autoload_configs/conference.conf.xml b/conf/minimal/autoload_configs/conference.conf.xml new file mode 100644 index 0000000000..3a55f7f436 --- /dev/null +++ b/conf/minimal/autoload_configs/conference.conf.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/conf/minimal/autoload_configs/console.conf.xml b/conf/minimal/autoload_configs/console.conf.xml new file mode 100644 index 0000000000..0c3345d950 --- /dev/null +++ b/conf/minimal/autoload_configs/console.conf.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/conf/minimal/autoload_configs/db.conf.xml b/conf/minimal/autoload_configs/db.conf.xml new file mode 100644 index 0000000000..712fdcce35 --- /dev/null +++ b/conf/minimal/autoload_configs/db.conf.xml @@ -0,0 +1,3 @@ + + + diff --git a/conf/minimal/autoload_configs/event_socket.conf.xml b/conf/minimal/autoload_configs/event_socket.conf.xml new file mode 100644 index 0000000000..112124c11d --- /dev/null +++ b/conf/minimal/autoload_configs/event_socket.conf.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/conf/minimal/autoload_configs/logfile.conf.xml b/conf/minimal/autoload_configs/logfile.conf.xml new file mode 100644 index 0000000000..55e010cc87 --- /dev/null +++ b/conf/minimal/autoload_configs/logfile.conf.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + diff --git a/conf/minimal/autoload_configs/modules.conf.xml b/conf/minimal/autoload_configs/modules.conf.xml new file mode 100644 index 0000000000..37ece9d202 --- /dev/null +++ b/conf/minimal/autoload_configs/modules.conf.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/conf/minimal/autoload_configs/sofia.conf.xml b/conf/minimal/autoload_configs/sofia.conf.xml new file mode 100644 index 0000000000..496df7c8a1 --- /dev/null +++ b/conf/minimal/autoload_configs/sofia.conf.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/conf/minimal/autoload_configs/switch.conf.xml b/conf/minimal/autoload_configs/switch.conf.xml new file mode 100644 index 0000000000..3020e9b56d --- /dev/null +++ b/conf/minimal/autoload_configs/switch.conf.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/conf/minimal/autoload_configs/timezones.conf.xml b/conf/minimal/autoload_configs/timezones.conf.xml new file mode 100644 index 0000000000..757d16c19d --- /dev/null +++ b/conf/minimal/autoload_configs/timezones.conf.xml @@ -0,0 +1,1850 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/conf/minimal/autoload_configs/xml_rpc.conf.xml b/conf/minimal/autoload_configs/xml_rpc.conf.xml new file mode 100644 index 0000000000..97c4ec5e95 --- /dev/null +++ b/conf/minimal/autoload_configs/xml_rpc.conf.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/conf/minimal/dialplan/default.xml b/conf/minimal/dialplan/default.xml new file mode 100644 index 0000000000..07c3ce89cb --- /dev/null +++ b/conf/minimal/dialplan/default.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/conf/minimal/dialplan/public.xml b/conf/minimal/dialplan/public.xml new file mode 100644 index 0000000000..71e092e960 --- /dev/null +++ b/conf/minimal/dialplan/public.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/conf/minimal/dialplan/public/00_stub.xml b/conf/minimal/dialplan/public/00_stub.xml new file mode 100644 index 0000000000..1be7a82d61 --- /dev/null +++ b/conf/minimal/dialplan/public/00_stub.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/conf/minimal/freeswitch.xml b/conf/minimal/freeswitch.xml new file mode 100644 index 0000000000..7661b438b3 --- /dev/null +++ b/conf/minimal/freeswitch.xml @@ -0,0 +1,12 @@ + + + + +
+ +
+ +
+ +
+
diff --git a/conf/minimal/modules.conf b/conf/minimal/modules.conf new file mode 100644 index 0000000000..c49f4e96ba --- /dev/null +++ b/conf/minimal/modules.conf @@ -0,0 +1,17 @@ +applications/mod_commands +applications/mod_conference +applications/mod_db +applications/mod_dptools +applications/mod_esf +applications/mod_expr +applications/mod_hash +dialplans/mod_dialplan_xml +endpoints/mod_loopback +endpoints/mod_sofia +event_handlers/mod_cdr_csv +event_handlers/mod_event_socket +formats/mod_native_file +formats/mod_sndfile +loggers/mod_console +loggers/mod_logfile +xml_int/mod_xml_rpc diff --git a/conf/minimal/sip_profiles/external.xml b/conf/minimal/sip_profiles/external.xml new file mode 100644 index 0000000000..f1417c2383 --- /dev/null +++ b/conf/minimal/sip_profiles/external.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/conf/minimal/sip_profiles/external/stub.xml b/conf/minimal/sip_profiles/external/stub.xml new file mode 100644 index 0000000000..d27458ec1e --- /dev/null +++ b/conf/minimal/sip_profiles/external/stub.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/conf/minimal/sip_profiles/internal.xml b/conf/minimal/sip_profiles/internal.xml new file mode 100644 index 0000000000..f9d1f56338 --- /dev/null +++ b/conf/minimal/sip_profiles/internal.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/conf/minimal/vars.xml b/conf/minimal/vars.xml new file mode 100644 index 0000000000..d2cdb3ffa2 --- /dev/null +++ b/conf/minimal/vars.xml @@ -0,0 +1,9 @@ + + + + + + + + +