diff --git a/apier/v1/apier_local_test.go b/apier/v1/apier_local_test.go index bc9a86f51..24975d05b 100644 --- a/apier/v1/apier_local_test.go +++ b/apier/v1/apier_local_test.go @@ -56,7 +56,7 @@ var cfg *config.CGRConfig var rater *rpc.Client var testLocal = flag.Bool("local", false, "Perform the tests only on local test environment, not by default.") // This flag will be passed here via "go test -local" args -var dataDir = flag.String("data_dir", "/usr/share/cgrates/data", "CGR data dir path here") +var dataDir = flag.String("data_dir", "/usr/share/cgrates", "CGR data dir path here") var storDbType = flag.String("stordb_type", "mysql", "The type of the storDb database ") var waitRater = flag.Int("wait_rater", 300, "Number of miliseconds to wait for rater to start and cache") diff --git a/cdrc/cdrc.go b/cdrc/cdrc.go index a9fe8476d..1dee125a3 100644 --- a/cdrc/cdrc.go +++ b/cdrc/cdrc.go @@ -109,7 +109,7 @@ func (self *Cdrc) parseFieldIndexesFromConfig() error { // Takes the record out of csv and turns it into http form which can be posted func (self *Cdrc) cdrAsHttpForm(record []string) (url.Values, error) { - engine.Logger.Info(fmt.Sprintf("Processing record %v", record)) + // engine.Logger.Info(fmt.Sprintf("Processing record %v", record)) v := url.Values{} v.Set(utils.CDRSOURCE, self.cgrCfg.CdrcSourceId) for fldName, idx := range self.fieldIndxes { diff --git a/cdrc/cdrc_local_test.go b/cdrc/cdrc_local_test.go index 5d13449c3..e063cd209 100644 --- a/cdrc/cdrc_local_test.go +++ b/cdrc/cdrc_local_test.go @@ -48,7 +48,7 @@ README: var cfg *config.CGRConfig var testLocal = flag.Bool("local", false, "Perform the tests only on local test environment, not by default.") // This flag will be passed here via "go test -local" args -var dataDir = flag.String("data_dir", "/usr/share/cgrates/data", "CGR data dir path here") +var dataDir = flag.String("data_dir", "/usr/share/cgrates", "CGR data dir path here") var storDbType = flag.String("stordb_type", "mysql", "The type of the storDb database ") var waitRater = flag.Int("wait_rater", 300, "Number of miliseconds to wait for rater to start and cache") diff --git a/cmd/cgr-loader/cgr-loader.go b/cmd/cgr-loader/cgr-loader.go index 1d027d725..5b86626cb 100644 --- a/cmd/cgr-loader/cgr-loader.go +++ b/cmd/cgr-loader/cgr-loader.go @@ -61,7 +61,7 @@ var ( flush = flag.Bool("flushdb", false, "Flush the database before importing") tpid = flag.String("tpid", "", "The tariff plan id from the database") - dataPath = flag.String("path", ".", "The path to folder containing the data files") + dataPath = flag.String("path", "./", "The path to folder containing the data files") version = flag.Bool("version", false, "Prints the application version.") verbose = flag.Bool("verbose", false, "Enable detailed verbose logging output") dryRun = flag.Bool("dry_run", false, "When true will not save loaded data to dataDb but just parse it for consistency and errors.") @@ -132,8 +132,18 @@ func main() { log.Fatal(err, "\n\t", v.Message) } } - loader = engine.NewFileCSVReader(ratingDb, accountDb, ',', utils.DESTINATIONS_CSV, utils.TIMINGS_CSV, utils.RATES_CSV, utils.DESTINATION_RATES_CSV, utils.RATING_PLANS_CSV, utils.RATING_PROFILES_CSV, utils.ACTIONS_CSV, utils.ACTION_TIMINGS_CSV, utils.ACTION_TRIGGERS_CSV, utils.ACCOUNT_ACTIONS_CSV) - } + loader = engine.NewFileCSVReader(ratingDb, accountDb, ',', + path.Join(*dataPath, utils.DESTINATIONS_CSV), + path.Join(*dataPath, utils.TIMINGS_CSV), + path.Join(*dataPath, utils.RATES_CSV), + path.Join(*dataPath, utils.DESTINATION_RATES_CSV), + path.Join(*dataPath, utils.RATING_PLANS_CSV), + path.Join(*dataPath, utils.RATING_PROFILES_CSV), + path.Join(*dataPath, utils.ACTIONS_CSV), + path.Join(*dataPath, utils.ACTION_TIMINGS_CSV), + path.Join(*dataPath, utils.ACTION_TRIGGERS_CSV), + path.Join(*dataPath, utils.ACCOUNT_ACTIONS_CSV)) + } err = loader.LoadAll() if err != nil { log.Fatal(err) diff --git a/data/tutorials/fs_csv/README.md b/data/tutorials/fs_csv/README.md new file mode 100644 index 000000000..4eaad5ccf --- /dev/null +++ b/data/tutorials/fs_csv/README.md @@ -0,0 +1,18 @@ +Tutorial fs_prepaid_csv +======================= + +Scenario: +--------- + +* FreeSWITCH with default configuration. + + * Modified following users: 1001-prepaid, 1002-postpaid, 1003-pseudoprepaid, 1004-rated. + * Have added inside default dialplan CGR own extensions just before routing towards users. + * FreeSWITCH configured to generate default .csv CDRs, modified example template to add cgr_reqtype from user variables. + +* CGRateS with following components: + + * CGR-SM started as prepaid controller. + * CGR-CDRC component importing CDRs into CGR. + * CGR-CDRE exporting mediated CDRs + diff --git a/data/tutorials/fs_csv/cgrates/etc/cgrates/cgrates.cfg b/data/tutorials/fs_csv/cgrates/etc/cgrates/cgrates.cfg new file mode 100644 index 000000000..a5ccac8c6 --- /dev/null +++ b/data/tutorials/fs_csv/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 = true # 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/freeswitch/cdr-csv # 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 = 0 # Accounting id field identifier. Use index number in case of .csv cdrs. +# reqtype_field = 1 # Request type field identifier. Use index number in case of .csv cdrs. +# direction_field = 2 # Direction field identifier. Use index numbers in case of .csv cdrs. +# tenant_field = 3 # Tenant field identifier. Use index numbers in case of .csv cdrs. +# tor_field = 4 # Type of Record field identifier. Use index numbers in case of .csv cdrs. +# account_field = 5 # Account field identifier. Use index numbers in case of .csv cdrs. +# subject_field = 6 # Subject field identifier. Use index numbers in case of .csv CDRs. +# destination_field = 7 # Destination field identifier. Use index numbers in case of .csv cdrs. +# answer_time_field = 8 # Answer time field identifier. Use index numbers in case of .csv cdrs. +# duration_field = 9 # Duration field identifier. Use index numbers in case of .csv cdrs. +# extra_fields = 10:supplier,11:orig_ip # 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_csv/cgrates/etc/default/cgrates b/data/tutorials/fs_csv/cgrates/etc/default/cgrates new file mode 100644 index 000000000..4e7add309 --- /dev/null +++ b/data/tutorials/fs_csv/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_csv/cgrates/etc/init.d/cgrates b/data/tutorials/fs_csv/cgrates/etc/init.d/cgrates new file mode 100755 index 000000000..82e004b2c --- /dev/null +++ b/data/tutorials/fs_csv/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_csv/cgrates +ENGINE_OPTS=-config=$TUTFOLDER/etc/cgrates/cgrates.cfg +PIDFILE=/tmp/cgr-engine_tutfscsv.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 --name $NAME + 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_csv/cgrates/tariffplans/AccountActions.csv b/data/tutorials/fs_csv/cgrates/tariffplans/AccountActions.csv new file mode 100644 index 000000000..455f5318c --- /dev/null +++ b/data/tutorials/fs_csv/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_csv/cgrates/tariffplans/ActionTimings.csv b/data/tutorials/fs_csv/cgrates/tariffplans/ActionTimings.csv new file mode 100644 index 000000000..24f63c8a8 --- /dev/null +++ b/data/tutorials/fs_csv/cgrates/tariffplans/ActionTimings.csv @@ -0,0 +1,2 @@ +#Tag,ActionsTag,TimingTag,Weight +PREPAID_10,PREPAID_10,ASAP,10 diff --git a/data/tutorials/fs_csv/cgrates/tariffplans/ActionTriggers.csv b/data/tutorials/fs_csv/cgrates/tariffplans/ActionTriggers.csv new file mode 100644 index 000000000..2f7729eec --- /dev/null +++ b/data/tutorials/fs_csv/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_csv/cgrates/tariffplans/Actions.csv b/data/tutorials/fs_csv/cgrates/tariffplans/Actions.csv new file mode 100644 index 000000000..97cef134a --- /dev/null +++ b/data/tutorials/fs_csv/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_csv/cgrates/tariffplans/DestinationRates.csv b/data/tutorials/fs_csv/cgrates/tariffplans/DestinationRates.csv new file mode 100644 index 000000000..4513ad04e --- /dev/null +++ b/data/tutorials/fs_csv/cgrates/tariffplans/DestinationRates.csv @@ -0,0 +1,4 @@ +#Tag,DestinationsTag,RatesTag +DR_RETAIL,DST_1002,RT_20CNT +DR_RETAIL,DST_1003,RT_40CNT +DR_RETAIL,DST_FS,RT_10CNT diff --git a/data/tutorials/fs_csv/cgrates/tariffplans/Destinations.csv b/data/tutorials/fs_csv/cgrates/tariffplans/Destinations.csv new file mode 100644 index 000000000..1c19d97ea --- /dev/null +++ b/data/tutorials/fs_csv/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_csv/cgrates/tariffplans/README.md b/data/tutorials/fs_csv/cgrates/tariffplans/README.md new file mode 100644 index 000000000..f84eb28f6 --- /dev/null +++ b/data/tutorials/fs_csv/cgrates/tariffplans/README.md @@ -0,0 +1,14 @@ +CGRateS - FSGermanyPrep1 +========================== + +Scenario: +--------- + +* Create the necessary timings (always, asap). +* Configure 1 destination: FS_USERS. +* Calls to FreeSWITCH users will be rated with 10cents per minute for the first 60s(60s increments) then 5 cents per minute(1s increments). +* This rating profile will be valid for any rating subject. + +* Create 2 prepaid accounts (equivalent of 2 FreeSWITCH default test users - 1001, 1002). +* Add to each of the accounts a monetary balance of 10 units. +* 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 FS_USERS destination. diff --git a/data/tutorials/fs_csv/cgrates/tariffplans/Rates.csv b/data/tutorials/fs_csv/cgrates/tariffplans/Rates.csv new file mode 100644 index 000000000..4cfb2dd9e --- /dev/null +++ b/data/tutorials/fs_csv/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_csv/cgrates/tariffplans/RatingPlans.csv b/data/tutorials/fs_csv/cgrates/tariffplans/RatingPlans.csv new file mode 100644 index 000000000..a8f95d3b9 --- /dev/null +++ b/data/tutorials/fs_csv/cgrates/tariffplans/RatingPlans.csv @@ -0,0 +1,2 @@ +#Tag,DestinationRatesTag,TimingTag,Weight +RP_RETAIL,DR_RETAIL,ALWAYS,10 diff --git a/data/tutorials/fs_csv/cgrates/tariffplans/RatingProfiles.csv b/data/tutorials/fs_csv/cgrates/tariffplans/RatingProfiles.csv new file mode 100644 index 000000000..dae7a6391 --- /dev/null +++ b/data/tutorials/fs_csv/cgrates/tariffplans/RatingProfiles.csv @@ -0,0 +1,2 @@ +#Tenant,TOR,Direction,Subject,ActivationTime,RatingPlanTag,FallbackSubject +cgrates.org,call,*out,*any,2013-01-06T00:00:00Z,RP_RETAIL, diff --git a/data/tutorials/fs_csv/cgrates/tariffplans/Timings.csv b/data/tutorials/fs_csv/cgrates/tariffplans/Timings.csv new file mode 100644 index 000000000..f6c4a6ffb --- /dev/null +++ b/data/tutorials/fs_csv/cgrates/tariffplans/Timings.csv @@ -0,0 +1,3 @@ +#Tag,Years,Months,MonthDays,WeekDays,Time +ALWAYS,*any,*any,*any,*any,00:00:00 +ASAP,*any,*any,*any,*any,*asap diff --git a/data/tutorials/fs_csv/freeswitch/etc/default/freeswitch b/data/tutorials/fs_csv/freeswitch/etc/default/freeswitch new file mode 100755 index 000000000..752045062 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/default/freeswitch @@ -0,0 +1,2 @@ +# /etc/default/freeswitch +DAEMON_OPTS="-rp -nonat" diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/README_IMPORTANT.txt b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/README_IMPORTANT.txt new file mode 100644 index 000000000..8d82b404f --- /dev/null +++ b/data/tutorials/fs_csv/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_csv/freeswitch/etc/freeswitch/autoload_configs/abstraction.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/abstraction.conf.xml new file mode 100644 index 000000000..d4b1dfd27 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/abstraction.conf.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/acl.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/acl.conf.xml new file mode 100644 index 000000000..0c117d07b --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/acl.conf.xml @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/alsa.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/alsa.conf.xml new file mode 100644 index 000000000..e589acaac --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/alsa.conf.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/blacklist.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/blacklist.conf.xml new file mode 100644 index 000000000..a981ebbdb --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/blacklist.conf.xml @@ -0,0 +1,11 @@ + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/callcenter.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/callcenter.conf.xml new file mode 100644 index 000000000..a069413ac --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/callcenter.conf.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/cdr_csv.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/cdr_csv.conf.xml new file mode 100644 index 000000000..92f88c6c1 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/cdr_csv.conf.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/cdr_mongodb.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/cdr_mongodb.conf.xml new file mode 100644 index 000000000..ce366d1bd --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/cdr_mongodb.conf.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/cdr_pg_csv.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/cdr_pg_csv.conf.xml new file mode 100644 index 000000000..4fec817b4 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/cdr_pg_csv.conf.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/cdr_sqlite.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/cdr_sqlite.conf.xml new file mode 100644 index 000000000..872c04c4f --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/cdr_sqlite.conf.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/cepstral.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/cepstral.conf.xml new file mode 100644 index 000000000..cf4aa92f4 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/cepstral.conf.xml @@ -0,0 +1,12 @@ + + + + + + \ No newline at end of file diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/cidlookup.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/cidlookup.conf.xml new file mode 100644 index 000000000..a30f9f5c1 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/cidlookup.conf.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/conference.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/conference.conf.xml new file mode 100644 index 000000000..ee41f740d --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/conference.conf.xml @@ -0,0 +1,213 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/console.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/console.conf.xml new file mode 100644 index 000000000..2d9e3e8de --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/console.conf.xml @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/db.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/db.conf.xml new file mode 100644 index 000000000..abc6c0c15 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/db.conf.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/dialplan_directory.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/dialplan_directory.conf.xml new file mode 100644 index 000000000..e4edcd6b1 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/dialplan_directory.conf.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/dingaling.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/dingaling.conf.xml new file mode 100644 index 000000000..dd6c9a5da --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/dingaling.conf.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/directory.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/directory.conf.xml new file mode 100644 index 000000000..748b2337c --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/directory.conf.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/distributor.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/distributor.conf.xml new file mode 100644 index 000000000..a03b1ee81 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/distributor.conf.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/easyroute.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/easyroute.conf.xml new file mode 100644 index 000000000..350a50989 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/easyroute.conf.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/enum.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/enum.conf.xml new file mode 100644 index 000000000..b9813efa2 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/enum.conf.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/erlang_event.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/erlang_event.conf.xml new file mode 100644 index 000000000..62deb84f6 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/erlang_event.conf.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/event_multicast.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/event_multicast.conf.xml new file mode 100644 index 000000000..eac039260 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/event_multicast.conf.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml new file mode 100644 index 000000000..5ea2e0978 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/fax.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/fax.conf.xml new file mode 100644 index 000000000..c7d825665 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/fax.conf.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/fifo.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/fifo.conf.xml new file mode 100644 index 000000000..b1db4dd2b --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/fifo.conf.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/hash.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/hash.conf.xml new file mode 100644 index 000000000..95b792877 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/hash.conf.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/httapi.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/httapi.conf.xml new file mode 100644 index 000000000..50bbe78f4 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/httapi.conf.xml @@ -0,0 +1,127 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/http_cache.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/http_cache.conf.xml new file mode 100644 index 000000000..5d0294c66 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/http_cache.conf.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/ivr.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/ivr.conf.xml new file mode 100644 index 000000000..bd4e73ded --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/ivr.conf.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/java.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/java.conf.xml new file mode 100644 index 000000000..5f71553e3 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/java.conf.xml @@ -0,0 +1,8 @@ + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/lcr.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/lcr.conf.xml new file mode 100644 index 000000000..9d106d489 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/lcr.conf.xml @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/local_stream.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/local_stream.conf.xml new file mode 100644 index 000000000..94a566539 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/local_stream.conf.xml @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/logfile.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/logfile.conf.xml new file mode 100644 index 000000000..65bea552b --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/logfile.conf.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/lua.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/lua.conf.xml new file mode 100644 index 000000000..f50307ea8 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/lua.conf.xml @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/memcache.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/memcache.conf.xml new file mode 100644 index 000000000..dc0173f98 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/memcache.conf.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/modules.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/modules.conf.xml new file mode 100644 index 000000000..0ca6bc5b3 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/modules.conf.xml @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/mongo.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/mongo.conf.xml new file mode 100644 index 000000000..72fffafbb --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/mongo.conf.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/nibblebill.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/nibblebill.conf.xml new file mode 100644 index 000000000..043c98548 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/nibblebill.conf.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/opal.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/opal.conf.xml new file mode 100644 index 000000000..280b69304 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/opal.conf.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/oreka.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/oreka.conf.xml new file mode 100644 index 000000000..29eabd5c2 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/oreka.conf.xml @@ -0,0 +1,13 @@ + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/osp.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/osp.conf.xml new file mode 100644 index 000000000..b320dbba8 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/osp.conf.xml @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/perl.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/perl.conf.xml new file mode 100644 index 000000000..b2435000f --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/perl.conf.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/pocketsphinx.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/pocketsphinx.conf.xml new file mode 100644 index 000000000..3bf7d5e57 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/pocketsphinx.conf.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/portaudio.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/portaudio.conf.xml new file mode 100644 index 000000000..a715571c6 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/portaudio.conf.xml @@ -0,0 +1,221 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/post_load_modules.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/post_load_modules.conf.xml new file mode 100644 index 000000000..8f4e132fa --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/post_load_modules.conf.xml @@ -0,0 +1,4 @@ + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/presence_map.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/presence_map.conf.xml new file mode 100644 index 000000000..8a9d1dde5 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/presence_map.conf.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/python.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/python.conf.xml new file mode 100644 index 000000000..d3a8fdc75 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/python.conf.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/redis.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/redis.conf.xml new file mode 100644 index 000000000..1a1f47403 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/redis.conf.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/rss.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/rss.conf.xml new file mode 100644 index 000000000..f8c4f6d2b --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/rss.conf.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/rtmp.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/rtmp.conf.xml new file mode 100644 index 000000000..d5d278810 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/rtmp.conf.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/sangoma_codec.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/sangoma_codec.conf.xml new file mode 100644 index 000000000..eed9d673e --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/sangoma_codec.conf.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/shout.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/shout.conf.xml new file mode 100644 index 000000000..3f381e627 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/shout.conf.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/skinny.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/skinny.conf.xml new file mode 100644 index 000000000..6a878fcd7 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/skinny.conf.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/sofia.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/sofia.conf.xml new file mode 100644 index 000000000..a5e861432 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/sofia.conf.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/spandsp.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/spandsp.conf.xml new file mode 100644 index 000000000..0241c1f4d --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/spandsp.conf.xml @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/spidermonkey.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/spidermonkey.conf.xml new file mode 100644 index 000000000..2e6dc6a16 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/spidermonkey.conf.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/switch.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/switch.conf.xml new file mode 100644 index 000000000..ddf41f899 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/switch.conf.xml @@ -0,0 +1,168 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/syslog.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/syslog.conf.xml new file mode 100644 index 000000000..636a12c8c --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/syslog.conf.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/timezones.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/timezones.conf.xml new file mode 100644 index 000000000..397e9a979 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/timezones.conf.xml @@ -0,0 +1,551 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/translate.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/translate.conf.xml new file mode 100644 index 000000000..453ef3afb --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/translate.conf.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/tts_commandline.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/tts_commandline.conf.xml new file mode 100644 index 000000000..eb816431b --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/tts_commandline.conf.xml @@ -0,0 +1,15 @@ + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/unicall.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/unicall.conf.xml new file mode 100644 index 000000000..eeaa0782f --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/unicall.conf.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/unimrcp.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/unimrcp.conf.xml new file mode 100644 index 000000000..45dda798a --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/unimrcp.conf.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/voicemail.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/voicemail.conf.xml new file mode 100644 index 000000000..9e5e67ffa --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/voicemail.conf.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/voicemail_ivr.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/voicemail_ivr.conf.xml new file mode 100644 index 000000000..1cdf3c222 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/voicemail_ivr.conf.xml @@ -0,0 +1,211 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/xml_cdr.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/xml_cdr.conf.xml new file mode 100644 index 000000000..ac9b1f94d --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/xml_cdr.conf.xml @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/xml_curl.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/xml_curl.conf.xml new file mode 100644 index 000000000..30951d83c --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/xml_curl.conf.xml @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/xml_rpc.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/xml_rpc.conf.xml new file mode 100644 index 000000000..714a90990 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/xml_rpc.conf.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/xml_scgi.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/xml_scgi.conf.xml new file mode 100644 index 000000000..b9662d163 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/xml_scgi.conf.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/zeroconf.conf.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/zeroconf.conf.xml new file mode 100644 index 000000000..84c1a4617 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/autoload_configs/zeroconf.conf.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/chatplan/default.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/chatplan/default.xml new file mode 100644 index 000000000..b67bb638f --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/chatplan/default.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/config.FS0 b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/config.FS0 new file mode 100644 index 000000000..531014214 --- /dev/null +++ b/data/tutorials/fs_csv/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_csv/freeswitch/etc/freeswitch/dialplan/default.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default.xml new file mode 100644 index 000000000..8bc0ea41b --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default.xml @@ -0,0 +1,821 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/00_ladspa.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/00_ladspa.xml new file mode 100644 index 000000000..a26b193ef --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/00_ladspa.xml @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/00_pizza_demo.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/00_pizza_demo.xml new file mode 100644 index 000000000..e7fcca204 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/00_pizza_demo.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/01_Talking_Clock.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/01_Talking_Clock.xml new file mode 100644 index 000000000..bc5077053 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/01_Talking_Clock.xml @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/01_example.com.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/01_example.com.xml new file mode 100644 index 000000000..bd61cd278 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/01_example.com.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/ideasip.com.noload b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/ideasip.com.noload new file mode 100644 index 000000000..8b963e3bd --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/ideasip.com.noload @@ -0,0 +1,7 @@ + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/pulver.com.noload b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/pulver.com.noload new file mode 100644 index 000000000..7b86caa84 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/pulver.com.noload @@ -0,0 +1,7 @@ + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/sipbroker.com.noload b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/sipbroker.com.noload new file mode 100644 index 000000000..4f5e4f8c2 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/sipbroker.com.noload @@ -0,0 +1,7 @@ + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/sipphone.com.noload b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/sipphone.com.noload new file mode 100644 index 000000000..a6ea9e8d4 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/sipphone.com.noload @@ -0,0 +1,7 @@ + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/tollfreegateway.com.noload b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/tollfreegateway.com.noload new file mode 100644 index 000000000..b7526bf89 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/default/tollfreegateway.com.noload @@ -0,0 +1,7 @@ + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/features.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/features.xml new file mode 100644 index 000000000..b85cadc5f --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/features.xml @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/public.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/public.xml new file mode 100644 index 000000000..e44006e33 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/public.xml @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/public/00_inbound_did.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/public/00_inbound_did.xml new file mode 100644 index 000000000..d40b3ab2c --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/public/00_inbound_did.xml @@ -0,0 +1,18 @@ + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/skinny-patterns.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/skinny-patterns.xml new file mode 100644 index 000000000..b37d8eed8 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/skinny-patterns.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/skinny-patterns/20-Demo.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/skinny-patterns/20-Demo.xml new file mode 100644 index 000000000..f69658128 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/skinny-patterns/20-Demo.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/skinny-patterns/20-Local_extension.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/skinny-patterns/20-Local_extension.xml new file mode 100644 index 000000000..9ad565132 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/skinny-patterns/20-Local_extension.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/skinny-patterns/90-External.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/skinny-patterns/90-External.xml new file mode 100644 index 000000000..50d6c37f2 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/skinny-patterns/90-External.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/skinny-patterns/99-Default_Drop.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/skinny-patterns/99-Default_Drop.xml new file mode 100644 index 000000000..897fd8fb9 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/dialplan/skinny-patterns/99-Default_Drop.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default.xml new file mode 100644 index 000000000..95b75b40d --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default.xml @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1000.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1000.xml new file mode 100644 index 000000000..9bee406dd --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1000.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1001.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1001.xml new file mode 100644 index 000000000..de35469de --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1001.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1002.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1002.xml new file mode 100644 index 000000000..1068563d4 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1002.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1003.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1003.xml new file mode 100644 index 000000000..61809b58f --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1003.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1004.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1004.xml new file mode 100644 index 000000000..832702984 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1004.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1005.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1005.xml new file mode 100644 index 000000000..0e1165f43 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1005.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1006.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1006.xml new file mode 100644 index 000000000..beaaa7e9f --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1006.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1007.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1007.xml new file mode 100644 index 000000000..10470a504 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1007.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1008.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1008.xml new file mode 100644 index 000000000..0e63fcfde --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1008.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1009.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1009.xml new file mode 100644 index 000000000..24db7f815 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1009.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1010.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1010.xml new file mode 100644 index 000000000..6d8e0c1ba --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1010.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1011.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1011.xml new file mode 100644 index 000000000..79d731de5 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1011.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1012.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1012.xml new file mode 100644 index 000000000..3839824fb --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1012.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1013.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1013.xml new file mode 100644 index 000000000..6f9c8e475 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1013.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1014.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1014.xml new file mode 100644 index 000000000..6a554c065 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1014.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1015.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1015.xml new file mode 100644 index 000000000..e94b8886a --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1015.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1016.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1016.xml new file mode 100644 index 000000000..4f856fc7b --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1016.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1017.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1017.xml new file mode 100644 index 000000000..b0e43a023 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1017.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1018.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1018.xml new file mode 100644 index 000000000..6d7071942 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1018.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1019.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1019.xml new file mode 100644 index 000000000..f23a95f4b --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/1019.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/brian.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/brian.xml new file mode 100644 index 000000000..05fe0c832 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/brian.xml @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/default.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/default.xml new file mode 100644 index 000000000..aa138f18d --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/default.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/example.com.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/example.com.xml new file mode 100644 index 000000000..42a33ddbf --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/example.com.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/skinny-example.xml b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/skinny-example.xml new file mode 100644 index 000000000..357eb72f1 --- /dev/null +++ b/data/tutorials/fs_csv/freeswitch/etc/freeswitch/directory/default/skinny-example.xml @@ -0,0 +1,35 @@ + + + + + + + + + + +