2006-02-24 11:47:22 -05:00
|
|
|
; Unified Config file
|
|
|
|
; each section denoted with a + could also be in it's own file
|
|
|
|
|
2006-04-12 13:51:47 -04:00
|
|
|
;---- CONSOLE LOGGER
|
|
|
|
;--------------------------------------------------------------------------------
|
|
|
|
[+console.conf]
|
|
|
|
[mappings]
|
|
|
|
; pick a file name, a function name or 'all'
|
|
|
|
; map as many as you need for specific debugging
|
|
|
|
;mod_exosip.c => DEBUG
|
|
|
|
;log_event => DEBUG
|
|
|
|
;all => DEBUG
|
|
|
|
|
2006-02-24 11:47:22 -05:00
|
|
|
;---- MODULES
|
|
|
|
;--------------------------------------------------------------------------------
|
|
|
|
[+modules.conf]
|
|
|
|
[modules]
|
|
|
|
|
2006-04-11 17:13:44 -04:00
|
|
|
; Loggers (I'd load these first)
|
|
|
|
load => mod_console
|
2006-04-18 17:32:43 -04:00
|
|
|
;load => mod_syslog
|
2006-02-24 11:47:22 -05:00
|
|
|
|
|
|
|
; Event Handlers
|
|
|
|
;load => mod_event_multicast
|
|
|
|
;load => mod_event_test
|
|
|
|
;load => mod_zeroconf
|
|
|
|
;load => mod_xmpp_event
|
|
|
|
|
|
|
|
; Directory Interfaces
|
2006-03-30 18:06:47 -05:00
|
|
|
;load => mod_ldap
|
2006-02-24 11:47:22 -05:00
|
|
|
|
|
|
|
; Endpoints
|
|
|
|
load => mod_exosip
|
|
|
|
load => mod_iax
|
|
|
|
;load => mod_portaudio
|
|
|
|
;load => mod_woomera
|
2006-02-24 16:00:33 -05:00
|
|
|
;load => mod_wanpipe
|
2006-03-31 14:38:09 -05:00
|
|
|
;load => mod_dingaling
|
2006-02-24 11:47:22 -05:00
|
|
|
|
|
|
|
; Applications
|
|
|
|
load => mod_bridgecall
|
2006-03-30 18:06:47 -05:00
|
|
|
load => mod_echo
|
|
|
|
;load => mod_ivrtest
|
2006-02-24 11:47:22 -05:00
|
|
|
load => mod_playback
|
2006-04-04 18:03:59 -04:00
|
|
|
load => mod_commands
|
2006-04-18 17:32:43 -04:00
|
|
|
;load => mod_commands
|
2006-02-24 11:47:22 -05:00
|
|
|
|
|
|
|
; Dialplan Interfaces
|
|
|
|
load => mod_dialplan_demo
|
2006-03-30 18:06:47 -05:00
|
|
|
;load => mod_dialplan_directory
|
2006-02-24 11:47:22 -05:00
|
|
|
load => mod_pcre
|
|
|
|
|
|
|
|
; Codec Interfaces
|
|
|
|
load => mod_g711
|
|
|
|
load => mod_gsm
|
|
|
|
load => mod_l16
|
2006-03-30 18:06:47 -05:00
|
|
|
;load => mod_speex
|
2006-04-19 15:05:44 -04:00
|
|
|
;load => mod_ilbc
|
2006-02-24 11:47:22 -05:00
|
|
|
|
|
|
|
; File Format Interfaces
|
|
|
|
load => mod_sndfile
|
|
|
|
|
|
|
|
; Timers
|
|
|
|
load => mod_softtimer
|
|
|
|
|
2006-03-07 21:18:35 -05:00
|
|
|
; Languages
|
|
|
|
;load => mod_spidermonkey
|
|
|
|
;load => mod_perl
|
|
|
|
|
|
|
|
; ASR /TTS
|
2006-03-07 21:38:38 -05:00
|
|
|
;load => mod_cepstral
|
2006-03-07 21:18:35 -05:00
|
|
|
|
2006-04-14 12:45:31 -04:00
|
|
|
;---- SYSLOG
|
|
|
|
;--------------------------------------------------------------------------------
|
|
|
|
; emerg - system is unusable
|
|
|
|
; alert - action must be taken immediately
|
|
|
|
; crit - critical conditions
|
|
|
|
; err - error conditions
|
|
|
|
; warning - warning conditions
|
|
|
|
; notice - normal, but significant, condition
|
|
|
|
; info - informational message
|
|
|
|
; debug - debug-level message
|
|
|
|
;
|
|
|
|
[+syslog.conf]
|
|
|
|
[settings]
|
|
|
|
ident => freeswitch
|
|
|
|
facility => user
|
|
|
|
format => ${time} - ${message}
|
|
|
|
level => debug,info,warning-alert
|
2006-03-07 21:18:35 -05:00
|
|
|
|
2006-02-24 11:47:22 -05:00
|
|
|
|
|
|
|
;---- IAX PROTOCOL
|
|
|
|
;--------------------------------------------------------------------------------
|
|
|
|
[+iax.conf]
|
|
|
|
[settings]
|
|
|
|
debug => 0
|
2006-04-12 21:05:47 -04:00
|
|
|
;ip => 1.2.3.4
|
2006-02-24 11:47:22 -05:00
|
|
|
port => 4569
|
|
|
|
dialplan => demo
|
|
|
|
codec_prefs => PCMU,PCMA,speex,L16
|
|
|
|
codec_master => us
|
|
|
|
codec_rates=8
|
|
|
|
|
|
|
|
;---- SIP PROTOCOL
|
|
|
|
;--------------------------------------------------------------------------------
|
|
|
|
[+exosip.conf]
|
|
|
|
[settings]
|
|
|
|
port => 5060
|
2006-02-24 16:00:33 -05:00
|
|
|
dialplan => pcre
|
|
|
|
dtmf_duration => 100
|
2006-04-06 21:40:12 -04:00
|
|
|
; pick one (default if not specified is 'guess');
|
2006-04-19 22:09:14 -04:00
|
|
|
rtp-ip => guess
|
|
|
|
;rtp-ip => 10.0.0.1
|
|
|
|
; leave commented or 0.0.0.0 for all ip
|
|
|
|
;sip-ip => 127.0.0.1
|
2006-04-06 21:40:12 -04:00
|
|
|
|
|
|
|
; optional ;
|
2006-04-19 22:09:14 -04:00
|
|
|
;ext-rtp-ip => stun:stun.server.com
|
|
|
|
;ext-rtp-ip => 100.101.102.103
|
2006-02-24 11:47:22 -05:00
|
|
|
|
2006-04-10 18:03:38 -04:00
|
|
|
; specify 'myrealm' with certian key
|
|
|
|
; use !myrealm! at beginning of url to activate
|
|
|
|
; exosip/!myrealm!1000@dest
|
|
|
|
;srtp:myrealm => ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
|
|
|
|
|
|
|
2006-02-24 11:47:22 -05:00
|
|
|
;---- WOOMERA PROTOCOL
|
|
|
|
;--------------------------------------------------------------------------------
|
|
|
|
[+woomera.conf]
|
|
|
|
[settings]
|
|
|
|
debug=0
|
|
|
|
|
|
|
|
;---- WANPIPE PRI
|
|
|
|
;--------------------------------------------------------------------------------
|
|
|
|
[+wanpipe.conf]
|
|
|
|
[settings]
|
2006-02-24 16:00:33 -05:00
|
|
|
debug => 1
|
|
|
|
dialplan => pcre
|
|
|
|
mtu => 160
|
|
|
|
dtmf_on => 800
|
|
|
|
dtmf_off => 100
|
|
|
|
supress_dtmf_tone => yes
|
2006-02-24 11:47:22 -05:00
|
|
|
|
|
|
|
[span]
|
|
|
|
span => 1
|
|
|
|
node => cpe
|
2006-02-24 16:00:33 -05:00
|
|
|
|
|
|
|
;switch => ni2
|
|
|
|
switch => dms100
|
|
|
|
;switch => lucent5e
|
|
|
|
;switch => att4ess
|
|
|
|
;switch => euroisdn
|
|
|
|
;switch => gr303eoc
|
|
|
|
;switch => gr303tmc
|
|
|
|
|
|
|
|
dp => national
|
|
|
|
;dp => international
|
|
|
|
;dp => local
|
|
|
|
;dp => private
|
|
|
|
;dp => unknown
|
|
|
|
|
|
|
|
l1 => ulaw
|
|
|
|
;l1 => alaw
|
|
|
|
|
2006-02-24 11:47:22 -05:00
|
|
|
bchan => 1-23
|
|
|
|
dchan => 24
|
2006-02-24 16:00:33 -05:00
|
|
|
dialplan => pcre
|
2006-02-24 11:47:22 -05:00
|
|
|
|
|
|
|
|
|
|
|
;---- SOUND CARD CHANNEL
|
|
|
|
;--------------------------------------------------------------------------------
|
|
|
|
[+portaudio.conf]
|
|
|
|
[settings]
|
|
|
|
debug => 2
|
|
|
|
dialplan => demo
|
|
|
|
|
|
|
|
; partial string match on something in the name or the device #
|
|
|
|
indev => USB
|
|
|
|
outdev => USB
|
|
|
|
|
|
|
|
cid_name => FreeSwitch
|
|
|
|
cid_num => 5555551212
|
|
|
|
|
|
|
|
;--- ZEROCONF
|
|
|
|
;--------------------------------------------------------------------------------
|
|
|
|
[+zeroconf.conf]
|
|
|
|
[settings]
|
|
|
|
|
|
|
|
publish => yes
|
|
|
|
browse => _sip._udp
|
|
|
|
|
|
|
|
;---- XMPP EVENT
|
|
|
|
;--------------------------------------------------------------------------------
|
|
|
|
[+xmpp_event.conf]
|
|
|
|
[settings]
|
|
|
|
|
|
|
|
#debug => 1
|
|
|
|
jid => freeswitch@my.jabber.com/me
|
|
|
|
passwd => mypass
|
|
|
|
|
|
|
|
target_jid => freeswitch@reader.org/him
|
|
|
|
|
|
|
|
;---- LDAP DIALPLAN
|
|
|
|
;--------------------------------------------------------------------------------
|
|
|
|
[+dialplan_directory.conf]
|
|
|
|
[settings]
|
|
|
|
|
|
|
|
directory_name => ldap
|
|
|
|
host => ldap.freeswitch.org
|
|
|
|
dn => cn=Manager,dc=freeswitch,dc=org
|
|
|
|
pass => test
|
|
|
|
base => dc=freeswitch,dc=org
|
|
|
|
|
|
|
|
;----REGULAR EXPRESSION DIALPLAN
|
|
|
|
;--------------------------------------------------------------------------------
|
|
|
|
[+regextensions.conf]
|
|
|
|
|
|
|
|
; any extension starting with a '4'
|
|
|
|
; strip the '4' and consider the rest a numeric filename
|
|
|
|
[playfile]
|
|
|
|
regex => ^4(\d+)
|
|
|
|
match => playback /var/sounds/$1.raw
|
|
|
|
|
|
|
|
; send everything to wanpipe isdn
|
|
|
|
[gateway]
|
|
|
|
regex => (.*)
|
|
|
|
match => bridge wanpipe/a/a/$1
|
|
|
|
|
|
|
|
; ordniary extension
|
|
|
|
[plain_old_extension]
|
|
|
|
regex => 9999
|
|
|
|
match => playback /var/sounds/beep.gsm
|
|
|
|
|
|
|
|
;---- BASIC EXTENSIONS
|
|
|
|
;--------------------------------------------------------------------------------
|
|
|
|
[+extensions.conf]
|
|
|
|
[extensions]
|
|
|
|
|
|
|
|
1000 => playback /var/sounds/beep.raw
|
|
|
|
|
|
|
|
; to time from a timer instead of from the input stream use
|
|
|
|
; 1000 => playback /var/sounds/beep.raw soft
|
|
|
|
|
|
|
|
; call the freeswitch conference
|
|
|
|
888 => bridge iax/guest@66.250.68.194/888
|
|
|
|
|
2006-03-31 14:38:09 -05:00
|
|
|
[+dingaling.conf]
|
|
|
|
[settings]
|
|
|
|
debug => 0
|
|
|
|
codec_prefs => PCMU
|
|
|
|
|
2006-04-14 14:10:24 -04:00
|
|
|
; *NOTE* your resource (after the /) MUST contain the string "talk" (upper or lower case is ok)
|
|
|
|
|
2006-03-31 14:38:09 -05:00
|
|
|
[interface]
|
|
|
|
name => google
|
2006-04-14 14:10:24 -04:00
|
|
|
login => myjabberid@myjabberserver.com/talk
|
2006-03-31 14:38:09 -05:00
|
|
|
password => mypass
|
|
|
|
dialplan => demo
|
|
|
|
message => Jingle all the way
|
2006-04-19 22:14:09 -04:00
|
|
|
rtp-ip => 0.0.0.0
|
2006-04-05 16:22:05 -04:00
|
|
|
; or ;
|
2006-04-19 22:14:09 -04:00
|
|
|
;rtp-ip => my_lan_ip
|
|
|
|
;ext-rtp-ip => stun:stun.server.com
|
2006-03-31 14:38:09 -05:00
|
|
|
exten => 1000
|