Files

41 lines
1.3 KiB
YAML

---
# SIP client configuration for incoming calls
sip:
host: sip.example.com
port: 5060
transport: udp # not used for now, UDP is the only option
username: 'exampleuser'
password: 'examplepass123'
rtpPortLow: 10000
rtpPortHigh: 20000
# TTS engine configuration
tts:
cmd: 'espeak -v us-mbrola-2 -a 70 -p 60 -s 130 -w %s "%s"' # parameter order: filename, text
phrases: # key is the clip name, value is the text
passprompt: 'Please enter your pin followed by pound after the beep.'
cmd: 'Please enter your command, ending with pound.'
invalidpass: 'Invalid pin, bye!'
nocmd: 'Command not found.'
# static audio clips configuration
clips:
dir: './clips'
files: # in addition to the ones generated from phrases
beep: 'beep.wav'
# IVR configuration
ivr:
auth: true # set to false to disable user PINs and go straight to actions (not recommended)
authpromptclips: [passprompt, beep] # sequence of authentication prompt audio clips
authfailclips: [invalidpass]
cmdfailclips: [nocmd]
cmdpromptclips: [cmd]
users: # user PINs and supported actions, '*' means all
'3105': '*'
'3246': ['32']
actions: # all registered actions: command => script filename
'32': './actions/echobeep.py'
'22': './actions/echobeep.py'
'24': './actions/echobeep.py'