###############################################################################
## dtmfbox v0.4.1 sample configuration
###############################################################################
[general]
loglevel=4 # Loglevel: 0 (no log) - 5 (all)
scriptfile=script.bat # Scriptfile
delimiter=poundkey # 0-9 / poundkey / asterisk / none
adjust_priority=0 # Dynamically adjust process priority?
###############################################################################
## Audio settings
###############################################################################
[audio]
conf_clockrate=8000 # Conference bridge clockrate
null_sound=1 # No soundcard?
bidirectional_sound=1 # Use bidirectional sound?
snd_clockrate=8000 # Soundcard clockrate (default: 8000hz, gets resampled to conf_clockrate)
snd_play=-1 # Soundcard player id (-1=auto)
snd_rec=-1 # Soundcard recorder id (-1=auto)
snd_ec_tail=0 # Echo canceller tail length for soundcard
con_ec_tail=0 # Echo canceller tail length for connections
mixer_tx_volume=100 # Default TX volume
mixer_rx_volume=100 # Default RX volume
mixer_talkover=0 # Talkover active as default?
earlyb3_ring=1 # Play ringtone (default: 1)?
###############################################################################
## VoIP settings
###############################################################################
[voip]
voip=1 # VoIP (1=active, 0=inactive)
voip_registrar=0 # Registrar-Mode: use dtmfbox as registrar
voip_max_clients=4 # Registrar-Mode: No. of clients, that can connect (registrar-mode) (max. 10, default: 8)
voip_realm= # Registrar-Mode: VoIP realm (ip-address or hostname)
voip_udp_port=5060 # UDP port (default: 5060)
voip_rtp_start=4000 # RTP/RTCP port start (default: 4000). 40 ports are created (two for each possible connection).
voip_register_interval=600 # Re-register interval to SIP-registrar (default: 3600 sec)
voip_keep_alive=200 # Send keep alive message every xx sec (default: 180 sec)
voip_use_vad=0 # Use silcence detector?
voip_codecs=g711,gsm,ilbc,speex,l16 # Codec order
voip_allow_unknown=0 # Allow unknown accounts?
voip_ip_addr= # (optional) IP address or hostname
voip_stun=stun.1und1.de # (optional) STUN server
voip_stun_port=3478 # (optional) STUN server port
voip_ice=1 # (optional) Use ICE?
voip_nameserver= # (optional) Nameservers for SRV record resolution (max. 4, comma separated)
###############################################################################
## CAPI settings
###############################################################################
[capi]
capi_controller_1=1 # 1. Controller for LISTEN_REQ (0=OFF, *=all)
capi_controller_2=4 # 2. Controller for LISTEN_REQ (0=OFF, *=all)
capi_controller_3=0 # 3. Controller for LISTEN_REQ (0=OFF, *=all)
capi_controller_4=0 # 4. Controller for LISTEN_REQ (0=OFF, *=all)
capi_controller_5=0 # 5. Controller for LISTEN_REQ (0=OFF, *=all)
capi_ulaw=0 # use alaw (1) or ulaw (0) encoding
capi_int_prefix= # International prefix (country code with 00)
capi_nat_prefix= # National prefix (without 0)
capi_allow_unknown=1 # Allow unknown accounts?
###############################################################################
## 1. Account (CAPI)
###############################################################################
[acc1]
active=0 # Account active (1=active, 0=inactive)
name=isdn1 # Name (any)
number=12345 # MSN for account (analog: 'unknown')
type=capi # ISDN/analog: 'capi', VoIP: 'voip'
capi_controller_out=1 # CAPI: default capi controller to use for outgoing connections
registrar_active=1 # Registrar-Mode: client can register with this account and dial out
registrar_user=12345 # Registrar-Mode: Username
registrar_pass=secret # Registrar-Mode: Password
###############################################################################
## 2. Account (VoIP)
###############################################################################
[acc2]
active=1 # Account active?
name=xxxxxxxxxxx # Name (any)
number=xxxxxxxxxx # Internet phone number
type=voip # ISDN/analog: 'capi', VoIP: 'voip'
voip_registrar=sip.1und1.de # Registrar (hostname or ip-address)
voip_realm=1und1.de # Realm
voip_user=XXXXXXXX # Username
voip_pass=XXXXXXXX # Password
voip_proxy= # (optional) Proxy
voip_contact= # (optional) Contact-Header
[email protected] # (optional) ID-Header
registrar_active=0 # Registrar-Mode: client can register with this account and dial out
registrar_user=00033543210 # Registrar-Mode: Username
registrar_pass=secret # Registrar-Mode: Password
###############################################################################
## 3. Account to 10. Account
###############################################################################
# ....