2008-03-05 20:57:16 +00:00
<configuration name= "switch.conf" description= "Core Configuration" >
<cli-keybindings >
<key name= "1" value= "help" />
<key name= "2" value= "status" />
<key name= "3" value= "show channels" />
<key name= "4" value= "show calls" />
<key name= "5" value= "sofia status" />
<key name= "6" value= "reloadxml" />
<key name= "7" value= "console loglevel 0" />
<key name= "8" value= "console loglevel 7" />
2008-05-08 21:59:29 +00:00
<key name= "9" value= "sofia status profile internal" />
2009-04-07 19:30:07 +00:00
<key name= "10" value= "sofia profile internal siptrace on" />
<key name= "11" value= "sofia profile internal siptrace off" />
2008-03-05 20:57:16 +00:00
<key name= "12" value= "version" />
</cli-keybindings>
2010-11-30 18:28:14 +00:00
<default-ptimes >
2011-01-05 16:08:55 +00:00
<!-- set this to override the 20ms assumption of various codecs in the sdp with no ptime defined -->
2010-11-30 18:28:14 +00:00
<!-- <codec name="G729" ptime="40"/> -->
</default-ptimes>
2007-01-23 01:12:47 +00:00
<settings >
2008-07-11 14:35:08 +00:00
<!-- Colorize the Console -->
<param name= "colorize-console" value= "true" />
2011-02-04 19:11:31 +00:00
<!-- minimum idle CPU before refusing calls -->
2011-02-09 15:32:17 +00:00
<!-- <param name="min - idle - cpu" value="25"/> -->
2011-02-04 19:11:31 +00:00
2010-12-28 20:00:17 +00:00
<!--
Max number of sessions to allow at any given time.
NOTICE: If you're driving 28 T1's in a single box you should set this to 644*2 or 1288
this will ensure you're able to use the entire DS3 without a problem. Otherwise you'll
be 144 channels short of always filling that DS3 up which can translate into waste.
-->
2007-01-23 01:12:47 +00:00
<param name= "max-sessions" value= "1000" />
2007-10-03 16:53:18 +00:00
<!-- Most channels to create per second -->
<param name= "sessions-per-second" value= "30" />
2007-12-10 19:16:50 +00:00
<!-- Default Global Log Level - value is one of debug,info,notice,warning,err,crit,alert -->
2007-10-05 18:59:18 +00:00
<param name= "loglevel" value= "debug" />
2009-12-14 16:39:15 +00:00
<!-- The min - dtmf - duration specifies the minimum DTMF duration to use on
2009-09-16 21:24:22 +00:00
outgoing events. Events shorter than this will be increased in duration
to match min_dtmf_duration. You cannot configure a dtmf duration on a
profile that is less than this setting. You may increase this value,
but cannot set it lower than 400. This value cannot exceed
2009-12-14 16:39:15 +00:00
max-dtmf-duration. -->
<!-- <param name="min - dtmf - duration" value="400"/> -->
<!-- The max - dtmf - duration caps the playout of a DTMF event at the specified
2009-09-16 21:24:22 +00:00
duration. Events exceeding this duration will be truncated to this
duration. You cannot configure a duration on a profile that exceeds
this setting. This setting can be lowered, but cannot exceed 192000.
This setting cannot be set lower than min_dtmf_duration. -->
2009-12-14 16:39:15 +00:00
<!-- <param name="max - dtmf - duration" value="192000"/> -->
2009-09-16 21:24:22 +00:00
<!-- The default_dtmf_duration specifies the DTMF duration to use on
originated DTMF events or on events that are received without a
duration specified. This value can be increased or lowered. This
value is lower-bounded by min_dtmf_duration and upper-bounded by
2009-12-14 16:39:15 +00:00
max-dtmf-duration\. -->
<!-- <param name="default - dtmf - duration" value="2000"/> -->
2008-07-10 15:35:35 +00:00
<!--
If you want to send out voicemail notifications via Windows you'll need to change the mailer-app
variable to the setting below:
<param name= "mailer-app" value= "msmtp" />
2010-06-25 19:10:49 +00:00
Do not change mailer-app-args.
2008-07-10 15:35:35 +00:00
You will also need to download a sendmail clone for Windows (msmtp). This version works without issue:
http://msmtp.sourceforge.net/index.html. Download and copy the .exe to %winddir%\system32.
You'll need to create a small config file for smtp credentials (host name, authentication, tls, etc.) in
%USERPROFILE%\Application Data\ called "msmtprc.txt". Below is a sample copy of this file:
###################################
# The SMTP server of the provider.
account provider
host smtp.myisp.com
from john@myisp.com
auth login
user johndoe
password mypassword
# Set a default account
account default : provider
2010-06-25 19:10:49 +00:00
###################################
2008-07-10 15:35:35 +00:00
-->
2007-11-05 18:45:26 +00:00
<param name= "mailer-app" value= "sendmail" />
<param name= "mailer-app-args" value= "-t" />
2007-12-20 01:10:17 +00:00
<param name= "dump-cores" value= "yes" />
2010-04-27 21:52:29 +00:00
<!-- enable verbose - channel - events to dump every detail about a channel on every event -->
<!-- <param name="verbose - channel - events" value="no"/> -->
2007-04-07 03:07:43 +00:00
<!-- RTP port range -->
<!-- <param name="rtp - start - port" value="16384"/> -->
<!-- <param name="rtp - end - port" value="32768"/> -->
2009-05-20 23:05:28 +00:00
<param name= "rtp-enable-zrtp" value= "true" />
2009-12-02 18:07:09 +00:00
<!-- <param name="core - db - dsn" value="dsn:username:password" /> -->
2011-02-15 06:49:41 +00:00
<!-- Allow to specify the sqlite db at a different location (In this example, move it to ramdrive for better performance on most linux distro (note, you loose the data if you reboot)) -->
<!-- <param name="core - db - name" value="/dev/shm/core.db" /> -->
2010-08-23 21:13:28 +00:00
<!-- The system will create all the db schemas automatically, set this to false to avoid this behaviour -->
2010-08-04 14:58:14 +00:00
<!-- <param name="auto - create - schemas" value="true"/> -->
2010-11-30 18:28:14 +00:00
<!-- <param name="core - dbtype" value="MSSQL"/> -->
2007-01-23 01:12:47 +00:00
</settings>
2008-06-25 20:56:01 +00:00
2007-01-23 01:12:47 +00:00
</configuration>