mirror of https://github.com/sipwise/sems.git
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1517 8eb893ce-cfd4-0310-b710-fb5ebe64c474sayer/1.4-spce2.6
parent
f5f4672db4
commit
ff7a6c8a76
@ -0,0 +1,8 @@
|
||||
announce_path=${SEMS_AUDIO_PREFIX}/sems/audio/
|
||||
default_announce=default_en.wav
|
||||
|
||||
# if you add custom announcement for
|
||||
# ann_b2b module change path to
|
||||
# announce_path=${SEMS_AUDIO_PREFIX}/sems/audio/ann_b2b
|
||||
#
|
||||
|
||||
@ -0,0 +1,7 @@
|
||||
#CFGOPTION_SEMS_ANNOUNCEPATH
|
||||
announce_path=${SEMS_AUDIO_PREFIX}/sems/audio/
|
||||
#ENDCFGOPTION
|
||||
|
||||
#CFGOPTION_SEMS_ANNOUNCEMENT
|
||||
default_announce=default_en.wav
|
||||
#ENDCFGOPTION
|
||||
@ -0,0 +1,7 @@
|
||||
#CFGOPTION_SEMS_ANNOUNCEPATH
|
||||
announce_path=${SEMS_AUDIO_PREFIX}/sems/audio/
|
||||
#ENDCFGOPTION
|
||||
|
||||
#CFGOPTION_SEMS_ANNOUNCEMENT
|
||||
default_announce=default_en.wav
|
||||
#ENDCFGOPTION
|
||||
@ -0,0 +1,25 @@
|
||||
announce_path=${SEMS_AUDIO_PREFIX}/sems/audio/
|
||||
default_announce=default_en.wav
|
||||
beep=${SEMS_AUDIO_PREFIX}/sems/audio/beep.wav
|
||||
|
||||
# prompts
|
||||
|
||||
#"Welcome to iptel dot org voip service."
|
||||
welcome=${SEMS_AUDIO_PREFIX}/sems/audio/annrecorder/welcome.wav
|
||||
|
||||
# "Your auto attendant greeting sounds like this: -"
|
||||
your_prompt=${SEMS_AUDIO_PREFIX}/sems/audio/annrecorder/your_prompt.wav
|
||||
|
||||
# "To record a new auto attendant greeting, press any key.
|
||||
# End recording with any key. -"
|
||||
to_record=${SEMS_AUDIO_PREFIX}/sems/audio/annrecorder/to_record.wav
|
||||
|
||||
# "Press one to keep the new greeting, or two to record a new one. -"
|
||||
confirm=${SEMS_AUDIO_PREFIX}/sems/audio/annrecorder/confirm.wav
|
||||
|
||||
# "Your new auto attendant greeting has been set."
|
||||
greeting_set=${SEMS_AUDIO_PREFIX}/sems/audio/annrecorder/greeting_set.wav
|
||||
|
||||
# "Thank you for using the iptel dot org service. Good Bye. - "
|
||||
bye=${SEMS_AUDIO_PREFIX}/sems/audio/annrecorder/bye.wav
|
||||
|
||||
@ -0,0 +1,18 @@
|
||||
# "please type in the number you want to call, followed by the pund key"
|
||||
welcome_prompt=${SEMS_AUDIO_PREFIX}/sems/audio/webconference/pin_prompt.wav
|
||||
|
||||
digits_dir=${SEMS_AUDIO_PREFIX}/sems/audio/webconference/
|
||||
|
||||
playout_type=adaptive_playout
|
||||
|
||||
# regexp of allowed cb numbers
|
||||
accept_caller_re=016213*
|
||||
|
||||
# n sec wait before calling back
|
||||
cb_wait=10
|
||||
|
||||
# GW used to call back
|
||||
gw_user=somegwuser
|
||||
gw_domain=sparvoip.de
|
||||
auth_pwd=somesecret
|
||||
#auth_user=neededifdifferentfromgw_user
|
||||
@ -0,0 +1,7 @@
|
||||
announce_path=${SEMS_AUDIO_PREFIX}/sems/audio/
|
||||
default_announce=default_en.wav
|
||||
|
||||
# relay_early_media=[yes|no]
|
||||
# sends early media from callee leg into caller leg
|
||||
# default: yes
|
||||
relay_early_media=yes
|
||||
@ -0,0 +1,35 @@
|
||||
# These are needed if you keep audio files in file system
|
||||
audio_path=${SEMS_AUDIO_PREFIX}/sems/audio/conference
|
||||
default_announce=first_participant.wav
|
||||
join_sound=beep.wav
|
||||
drop_sound=beep.wav
|
||||
|
||||
# These are needed if you keep audio files in MySQL
|
||||
#mysql_host=localhost
|
||||
#mysql_user=sems
|
||||
#mysql_passwd=sems
|
||||
#mysql_db=sems
|
||||
|
||||
dialout_suffix=@iptel.org
|
||||
|
||||
# playout_type : select playout mechanism
|
||||
# adaptive_playout : Adaptive Playout buffer (default, recommended)
|
||||
# adaptive_jb : Adaptive Jitter buffer
|
||||
# simple : simple (fifo) playout buffer
|
||||
#
|
||||
playout_type=adaptive_playout
|
||||
|
||||
# Maximum number of participants in a conference
|
||||
# default = 0 (unlimited)
|
||||
#max_participants=10
|
||||
|
||||
# use_rfc4240_rooms=[yes|no]
|
||||
#
|
||||
# RFC4240 specifies for Conference service that the conference
|
||||
# room is specified in the user part of the Request URI as:
|
||||
# sip:conf=uniqueIdentifier@mediaserver.example.net
|
||||
# If the conference-id is empty, a 404 is returned.
|
||||
#
|
||||
#default:
|
||||
# use_rfc4240_rooms=no
|
||||
#
|
||||
@ -0,0 +1,75 @@
|
||||
|
||||
# diagrams (DSM descriptions)
|
||||
diag_path=${SEMS_EXEC_PREFIX}/${SEMS_LIBDIR}/sems/dsm/
|
||||
load_diags=inbound_call,outbound_call
|
||||
|
||||
# register these diagrams as 'application' in SEMS
|
||||
# so it can be used in application= in sems.conf
|
||||
#register_apps=inbound_call,outbound_call
|
||||
|
||||
# for import(mod_name)
|
||||
mod_path=${SEMS_EXEC_PREFIX}/${SEMS_LIBDIR}/sems/dsm/
|
||||
|
||||
# preload modules which have a preload (init) function
|
||||
#preload_mods=uri
|
||||
|
||||
|
||||
# DSM to start for in/outbound call if application to execute=dsm
|
||||
# (from application=xyz in sems.conf, either application=dsm or
|
||||
# application=$(apphdr)/$(ruriparam) etc)
|
||||
#
|
||||
# use $(mon_select) to search for call info from monitoring
|
||||
# e.g. inbound_start_diag=$(mon_select) and see
|
||||
# below monitor_select options
|
||||
#
|
||||
inbound_start_diag=inbound_call
|
||||
outbound_start_diag=outbound_call
|
||||
|
||||
# prompts files (for prompt collection
|
||||
load_prompts=${SEMS_CFG_PREFIX}/etc/sems/etc/dsm_in_prompts.conf,${SEMS_CFG_PREFIX}/etc/sems/etc/dsm_out_prompts.conf
|
||||
|
||||
# prompts which must be loaded (or else...)
|
||||
#required_prompts=welcome,error
|
||||
|
||||
#load prompt sets config from this path
|
||||
#prompts_sets_path=${SEMS_CFG_PREFIX}/etc/sems/etc/
|
||||
|
||||
# load files with this name (+.conf), e.g. mydomain.conf
|
||||
#load_prompts_sets=mydomain
|
||||
|
||||
# if run_invite_event is set to "yes", an "invite" event is run
|
||||
# before the session is started. can be used e.g. for early media
|
||||
# of delaying final reply
|
||||
#
|
||||
#run_invite_event=yes
|
||||
|
||||
# set_param_variables controls whether application parameters
|
||||
# from the P-App-Param header are set as variables in the DSM
|
||||
# dialog. Default: no
|
||||
#
|
||||
#set_param_variables=yes
|
||||
|
||||
# monitor_select_use_caller=[no|from|pai]
|
||||
#
|
||||
# for $(mon_select) application selection from monitoring:
|
||||
# select application by caller?
|
||||
# from: caller==remote_uri.user (From URI user part)
|
||||
# pai: caller==P-Asserted-Identity user part
|
||||
# no: caller not regarded
|
||||
#
|
||||
# Default: from
|
||||
#
|
||||
#monitor_select_use_caller=no
|
||||
|
||||
# monitor_select_use_callee=[no|ruri|to]
|
||||
#
|
||||
# for $(mon_select) application selection from monitoring:
|
||||
# select application by callee?
|
||||
# ruri: callee==r_uri.user (request URI user part)
|
||||
# to: callee==local_uri.user (To URI user part)
|
||||
# no: callee not regarded
|
||||
#
|
||||
# Default: ruri
|
||||
#
|
||||
#monitor_select_use_callee=no
|
||||
|
||||
@ -0,0 +1,6 @@
|
||||
1=${SEMS_AUDIO_PREFIX}/sems/audio/webconference/1.wav
|
||||
2=${SEMS_AUDIO_PREFIX}/sems/audio/webconference/2.wav
|
||||
3=${SEMS_AUDIO_PREFIX}/sems/audio/webconference/3.wav
|
||||
4=${SEMS_AUDIO_PREFIX}/sems/audio/webconference/4.wav
|
||||
5=${SEMS_AUDIO_PREFIX}/sems/audio/webconference/5.wav
|
||||
6=${SEMS_AUDIO_PREFIX}/sems/audio/webconference/6.wav
|
||||
@ -0,0 +1,3 @@
|
||||
1=${SEMS_AUDIO_PREFIX}/sems/audio/webconference/1.wav
|
||||
2=${SEMS_AUDIO_PREFIX}/sems/audio/webconference/2.wav
|
||||
3=${SEMS_AUDIO_PREFIX}/sems/audio/webconference/3.wav
|
||||
@ -0,0 +1,15 @@
|
||||
#CFGOPTION_SEMS_ANNOUNCEPATH
|
||||
announce_path=${SEMS_AUDIO_PREFIX}/sems/audio/
|
||||
#ENDCFGOPTION
|
||||
|
||||
#CFGOPTION_SEMS_ANNOUNCEMENT
|
||||
default_announce=default_en.wav
|
||||
#ENDCFGOPTION
|
||||
|
||||
#
|
||||
# continue the call in B2BUA mode ? [yes | no | app-param]
|
||||
# if continue_b2b=app-param, continuation is controlled by
|
||||
# 'B2B' app param, e.g. P-App-Param: B2B=yes
|
||||
#
|
||||
# default:
|
||||
# continue_b2b=no
|
||||
@ -0,0 +1 @@
|
||||
script_path=${SEMS_EXEC_PREFIX}/${SEMS_LIBDIR}/sems/ivr/
|
||||
@ -0,0 +1,4 @@
|
||||
# file played (predef definition file only, which references
|
||||
# the actual audio files for the payloads)
|
||||
#
|
||||
announcement_file=${SEMS_AUDIO_PREFIX}/sems/audio/precoded_announce/test.predef
|
||||
@ -0,0 +1,41 @@
|
||||
#
|
||||
#
|
||||
# Prompt sets are searched under this directory:
|
||||
#
|
||||
prompt_base_path=${SEMS_AUDIO_PREFIX}/sems/audio/voicebox/
|
||||
|
||||
#
|
||||
# under the prompt_base_path, all domain/language combinations
|
||||
# are searched, e.g.
|
||||
# ${SEMS_AUDIO_PREFIX}/sems/audio/voicebox/iptel.org/english
|
||||
# ${SEMS_AUDIO_PREFIX}/sems/audio/voicebox/iptel.org/german
|
||||
# ${SEMS_AUDIO_PREFIX}/sems/audio/voicebox/iptel.org/
|
||||
# ${SEMS_AUDIO_PREFIX}/sems/audio/voicebox/otherdomain.org/english
|
||||
# ...
|
||||
#
|
||||
# specific prompts for these domains will be supported:
|
||||
#
|
||||
domains=iptel.org
|
||||
|
||||
#
|
||||
# a language may have single digits to follow the tens if spoken
|
||||
# (digits=right), or the single digits come first (digits=left).
|
||||
# Examples: English is digits=right. German is digits=left.
|
||||
#
|
||||
# specific prompts for these languages will be supported:
|
||||
#
|
||||
languages=english(digits=right);
|
||||
|
||||
|
||||
#
|
||||
# default language (if not set in App-Params)
|
||||
#
|
||||
default_language=english
|
||||
|
||||
#
|
||||
# keys config (optional)
|
||||
#
|
||||
# repeat_key=1
|
||||
# save_key=2
|
||||
# delete_key=3
|
||||
# startover_key=4
|
||||
@ -0,0 +1,83 @@
|
||||
#
|
||||
# optional parameter: smtp_server=<hostname>
|
||||
#
|
||||
# - sets address of smtp server
|
||||
#
|
||||
# Default: localhost
|
||||
#smtp_server=mail
|
||||
|
||||
# optional parameter: smtp_port=<port>
|
||||
#
|
||||
# - sets port of smtp server
|
||||
#
|
||||
# Default: 25
|
||||
#smtp_port=25
|
||||
|
||||
# if set, this overrides the email address, meaning that
|
||||
# the voicemail will always be sent to that address.
|
||||
# email_address = blub@mail.domain.net
|
||||
#
|
||||
|
||||
# These are needed if you keep audio and template files in file system:
|
||||
#
|
||||
# path from which announcements are played:
|
||||
announce_path=${SEMS_AUDIO_PREFIX}/sems/audio/voicemail/
|
||||
#
|
||||
# announcement played if no user/domain specific prompt found
|
||||
default_announce=default_en.wav
|
||||
#
|
||||
# path for email templates:
|
||||
email_template_path=${SEMS_CFG_PREFIX}/etc/sems/
|
||||
|
||||
# These are needed if you keep audio and template files in MySQL database:
|
||||
#mysql_host=localhost
|
||||
#mysql_user=sems
|
||||
#mysql_passwd=sems
|
||||
#mysql_db=sems
|
||||
|
||||
# These are independent on where audio and template files are kept:
|
||||
|
||||
#
|
||||
# maximum voicemail message length, in seconds.
|
||||
# After the maximum time, the call is ended by SEMS.
|
||||
#
|
||||
max_record_time=30
|
||||
|
||||
#
|
||||
# optional: minimum voicemail message length, in milliseconds
|
||||
# no voicemail is sent if the recorded message is shorter than
|
||||
# or equal to the value set here.
|
||||
# example - do not send voicemail shorter than 1.5s:
|
||||
# min_record_time=1500
|
||||
# default: 0
|
||||
#min_record_time=0
|
||||
|
||||
# rec_file_ext : extension to recorded file, determines file
|
||||
# format (wav, mp3; need mp3 plugin loaded for mp3)
|
||||
# default is 'wav'
|
||||
#
|
||||
# example:
|
||||
# rec_file_ext=mp3
|
||||
#
|
||||
|
||||
# try_personal_greeting=[yes|no]
|
||||
# optional: try to get a personal greeting from msg_storage mod?
|
||||
# these can be recorded with annrecorder app
|
||||
#
|
||||
# Default:
|
||||
# try_personal_greeting=no
|
||||
|
||||
# mail_header_vars=var1;var2;var3;...
|
||||
#
|
||||
# Variables that are substituted in the email template with
|
||||
# values from App-Param header (comma-separated list).
|
||||
#
|
||||
# Example:
|
||||
# mail_header_vars=msg_count;sender_count
|
||||
#
|
||||
# P-App-Param: user=...;eml=...;msg_count=10;sender_count=2
|
||||
#
|
||||
# email.template: In your voicebox are %msg_count% messages,
|
||||
# %sender_count% from this sender.
|
||||
#
|
||||
# Default: none
|
||||
@ -0,0 +1,108 @@
|
||||
|
||||
# configure the various announcements here
|
||||
first_participant=${SEMS_AUDIO_PREFIX}/sems/audio/webconference/first_participant.wav
|
||||
join_sound=${SEMS_AUDIO_PREFIX}/sems/audio/webconference/beep.wav
|
||||
drop_sound=${SEMS_AUDIO_PREFIX}/sems/audio/webconference/beep.wav
|
||||
enter_pin=${SEMS_AUDIO_PREFIX}/sems/audio/webconference/pin_prompt.wav
|
||||
wrong_pin=${SEMS_AUDIO_PREFIX}/sems/audio/webconference/wrong_pin.wav
|
||||
entering_conference=${SEMS_AUDIO_PREFIX}/sems/audio/webconference/entering_conference.wav
|
||||
|
||||
#
|
||||
# Say the PIN after entry?
|
||||
# Possible values: 'yes'/'no'
|
||||
#
|
||||
tell_pin=yes
|
||||
|
||||
# digits to play the room number
|
||||
# must contain the files 0.wav, 1.wav, ..., 9.wav
|
||||
digits_dir=${SEMS_AUDIO_PREFIX}/sems/audio/webconference/
|
||||
|
||||
#
|
||||
# Use * key instead of # to finish PIN entry?
|
||||
#
|
||||
star_finishes_pin=yes
|
||||
|
||||
#
|
||||
# direct_room_re specifies a regexp which, if matched on
|
||||
# the user of an incoming call, connects the caller directly to
|
||||
# the conference room, without asking for the PIN.
|
||||
#
|
||||
direct_room_re=000777.*
|
||||
#
|
||||
# direct_room_strip specifies the number of digits to strip
|
||||
# from the user part of the request uri to get the conference
|
||||
# room number on direct room dial in.
|
||||
# e.g. direct_room_strip=5, called 000777123 => room 123
|
||||
direct_room_strip=6
|
||||
|
||||
#
|
||||
# master_password sets optionally a master password which can be used to
|
||||
# retreive a room's password with the getRoomPassword function
|
||||
#
|
||||
# master_password=verysecret
|
||||
|
||||
# ignore_pin sets whether room admin PINs are checked when
|
||||
# accessing rooms. If you are for example trust anyone who
|
||||
# can access the interface, this could be set to "yes" to allow
|
||||
# all to look into all conference rooms.
|
||||
#
|
||||
# default: no
|
||||
#
|
||||
# ignore_pin=yes
|
||||
|
||||
#
|
||||
#
|
||||
# feedback and statistics
|
||||
feedback_file=/var/log/sems-webconference-feedback.txt
|
||||
|
||||
stats_dir=/var/log/sems-webconference/
|
||||
|
||||
#
|
||||
# if set, this URL will be added to SDP (u line), so clever user agents
|
||||
# can display the conference control page right away.
|
||||
#
|
||||
# (room number and admin pin is embedded into the URL)
|
||||
#
|
||||
#webconference_urlbase=https://webconference.iptel.org/openRoom.py?action=openRoom
|
||||
|
||||
|
||||
#
|
||||
# participants_expire = [yes | no]
|
||||
#
|
||||
# if set to no, participants do not expire from conference rooms
|
||||
#
|
||||
# default:
|
||||
# participants_expire=yes
|
||||
|
||||
# delay after which a participant whose call has ended is removed from the
|
||||
# conference room view. Only active if participants_expire=yes
|
||||
#
|
||||
# default:
|
||||
# participants_expire_delay = 10
|
||||
#
|
||||
|
||||
#
|
||||
# rooms_expire = [yes | no]
|
||||
#
|
||||
# if set to no, empty rooms do not expire
|
||||
#
|
||||
# default:
|
||||
# rooms_expire=yes
|
||||
|
||||
# delay after which an empty room vanishes, in seconds.
|
||||
# Only active if rooms_expire=yes
|
||||
#
|
||||
# default:
|
||||
# rooms_expire_delay=7200
|
||||
#
|
||||
|
||||
# Only active if rooms_expire=yes
|
||||
#
|
||||
# default:
|
||||
# rooms_expire_delay=7200
|
||||
#
|
||||
|
||||
# look for expired conference rooms every n times, createRoom
|
||||
# or dialout is called
|
||||
#
|
||||
# room_sweep_interval=10
|
||||
@ -0,0 +1,14 @@
|
||||
FOREACH (config_file ${sems_module_name} ${sems_config_files})
|
||||
# Check whether we providing a template for this config
|
||||
FIND_PATH(SEMS_${sems_module_name}_CONFIG_${config_file}_TEMPLATE ${config_file}.conf.cmake PATHS ./etc)
|
||||
|
||||
IF (SEMS_${sems_module_name}_CONFIG_${config_file}_TEMPLATE)
|
||||
# If we do provide a template, then process it and create real
|
||||
# config
|
||||
CONFIGURE_FILE (./etc/${config_file}.conf.cmake ./etc/${config_file}.conf)
|
||||
ENDIF (SEMS_${sems_module_name}_CONFIG_${config_file}_TEMPLATE)
|
||||
|
||||
INSTALL(
|
||||
FILES ./etc/${config_file}.conf DESTINATION ${SEMS_CFG_PREFIX}/etc/sems/etc/
|
||||
)
|
||||
ENDFOREACH()
|
||||
Loading…
Reference in new issue