forked from Mirrors/freeswitch
0f873e692b
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8997 d0543943-73ff-0310-b7d9-9358b9ac24b2
67 lines
2.6 KiB
XML
67 lines
2.6 KiB
XML
<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"/>
|
|
<key name="9" value="sofia status profile internal"/>
|
|
<key name="10" value="fsctl pause"/>
|
|
<key name="11" value="fsctl resume"/>
|
|
<key name="12" value="version"/>
|
|
</cli-keybindings>
|
|
|
|
<settings>
|
|
<!--Colorize the Console -->
|
|
<param name="colorize-console" value="true"/>
|
|
<!--Most channels to allow at once -->
|
|
<param name="max-sessions" value="1000"/>
|
|
<!--Most channels to create per second -->
|
|
<param name="sessions-per-second" value="30"/>
|
|
<!-- Default Global Log Level - value is one of debug,info,notice,warning,err,crit,alert -->
|
|
<param name="loglevel" value="debug"/>
|
|
<!--Try to catch any crashes that can be recoverable (in the context of a call)-->
|
|
<param name="crash-protection" value="false"/>
|
|
<!--<param name="max_dtmf_duration" value="192000"/>-->
|
|
<!--<param name="default_dtmf_duration" value="8000"/>-->
|
|
<!--
|
|
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"/>
|
|
|
|
Donot change mailer-app-args.
|
|
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
|
|
###################################
|
|
|
|
-->
|
|
<param name="mailer-app" value="sendmail"/>
|
|
<param name="mailer-app-args" value="-t"/>
|
|
<param name="dump-cores" value="yes"/>
|
|
<!--RTP port range -->
|
|
<!--<param name="rtp-start-port" value="16384"/>-->
|
|
<!--<param name="rtp-end-port" value="32768"/>-->
|
|
</settings>
|
|
|
|
</configuration>
|
|
|