From bd5c190c2071af2e36ed3d4d733dd486e6bd5683 Mon Sep 17 00:00:00 2001 From: okhin Date: Thu, 4 Aug 2016 15:49:55 +0200 Subject: [PATCH] Adding a config.ini.sample file --- config.ini | 2 +- config.ini.sample | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 config.ini.sample diff --git a/config.ini b/config.ini index 99e95d5..256ee7e 100644 --- a/config.ini +++ b/config.ini @@ -14,7 +14,7 @@ app = piphone # What is the api_key associated to it key = piphone # What is the passowrd needed to connect to application -password = passpiphone +password = keXie1go # What SIP-context shoudl we use to make phone calls sip-context = forfait-kwaoo # What is the playback we want to play when a suer connects diff --git a/config.ini.sample b/config.ini.sample new file mode 100644 index 0000000..68a6ed5 --- /dev/null +++ b/config.ini.sample @@ -0,0 +1,35 @@ +[webservice] +# Where to connect the webservice +base_url = ws://ws.example.com:8088/ari/events + +[asterisk] +# Which protocol is used by the ARI server +protocol = http +# Where does the protocol lives +server = IP_ADRRESS_OF_ASTERISK:8088 +# Under which path is the api located +api_base = ari +# What is the name of the app to be used on the asterisk server +app = APP_NAME +# What is the api_key associated to it +key = APP_KEY +# What is the passowrd needed to connect to application +password = APP_PASSWORD +# What SIP-context should we use to make phone calls +sip-context = SIP_CONTEXT +# What is the playback we want to play when a user connects +playback = sound:mario + +[piphone] +# The path to the sqlite database +db = call.db +# The log file +log = call.log +# The log level +verbosity = debug + +[moh] +# Which music on hold class should we use +class = piphone +# What is the name of the moh bridge +name = piphone-moh -- GitLab