2
0

switch.conf.xml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <configuration name="switch.conf" description="Core Configuration">
  2. <cli-keybindings>
  3. <key name="1" value="$${function_key_1}"/>
  4. <key name="2" value="$${function_key_2}"/>
  5. <key name="3" value="$${function_key_3}"/>
  6. <key name="4" value="$${function_key_4}"/>
  7. <key name="5" value="$${function_key_5}"/>
  8. <key name="6" value="$${function_key_6}"/>
  9. <key name="7" value="$${function_key_7}"/>
  10. <key name="8" value="$${function_key_8}"/>
  11. <key name="9" value="$${function_key_9}"/>
  12. <key name="10" value="$${function_key_10}"/>
  13. <key name="11" value="$${function_key_11}"/>
  14. <key name="12" value="$${function_key_12}"/>
  15. </cli-keybindings>
  16. <settings>
  17. <!--Colorize the Console -->
  18. <param name="colorize-console" value="true"/>
  19. <!--Include full timestamps in dialplan logs -->
  20. <param name="dialplan-timestamps" value="false"/>
  21. <!--Most channels to allow at once -->
  22. <param name="max-sessions" value="1000"/>
  23. <!--Most channels to create per second -->
  24. <param name="sessions-per-second" value="30"/>
  25. <!-- Default Global Log Level - value is one of debug,info,notice,warning,err,crit,alert -->
  26. <param name="loglevel" value="debug"/>
  27. <!--Try to catch any crashes that can be recoverable (in the context of a call)-->
  28. <param name="crash-protection" value="false"/>
  29. <!--<param name="max_dtmf_duration" value="192000"/>-->
  30. <!--<param name="default_dtmf_duration" value="8000"/>-->
  31. <!--
  32. If you want to send out voicemail notifications via Windows you'll need to change the mailer-app
  33. variable to the setting below:
  34. <param name="mailer-app" value="msmtp"/>
  35. Donot change mailer-app-args.
  36. You will also need to download a sendmail clone for Windows (msmtp). This version works without issue:
  37. http://msmtp.sourceforge.net/index.html. Download and copy the .exe to %winddir%\system32.
  38. You'll need to create a small config file for smtp credentials (host name, authentication, tls, etc.) in
  39. %USERPROFILE%\Application Data\ called "msmtprc.txt". Below is a sample copy of this file:
  40. ###################################
  41. # The SMTP server of the provider.
  42. account provider
  43. host smtp.myisp.com
  44. from john@myisp.com
  45. auth login
  46. user johndoe
  47. password mypassword
  48. # Set a default account
  49. account default : provider
  50. ###################################
  51. -->
  52. <param name="mailer-app" value="sendmail"/>
  53. <param name="mailer-app-args" value="-t"/>
  54. <param name="dump-cores" value="yes"/>
  55. <!--RTP port range -->
  56. <!--<param name="rtp-start-port" value="16384"/>-->
  57. <!--<param name="rtp-end-port" value="32768"/>-->
  58. </settings>
  59. </configuration>