config.ini.example 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. [general]
  2. # valid values for log level are: ERROR, WARN, NOTICE, INFO, DEBUG
  3. logLevel = NOTICE
  4. [sip]
  5. # list of valid SIP URIs for incoming connections separated by space
  6. # supported wildcards: *
  7. # if you want to allow calls from any URI, write *@*
  8. validUriExpression = *@sip.example.com *@127.0.0.1
  9. host = sip.example.org
  10. port = 5060
  11. user = mumsi
  12. password = foobar
  13. # length of single voice frame in ms. Valid values are 10, 20, 40, 60 ms.
  14. # Adjust it if you need to meet the specific bandwidth requirements of Murmur server
  15. frameLength = 40
  16. # Set the maximum number of SIP calls to allow simultaneously. This should be <= 32.
  17. # If you need more, recompile PJSUA LIB and also modify the define in main.hpp.
  18. max_calls = 1
  19. [mumble]
  20. host = example.org
  21. port = 64738
  22. user = mumsi
  23. password = foobar
  24. channelNameExpression =
  25. # When here is no SIP connection, the mumble state is set to self_mute/self_deaf
  26. # so the other users can easily see whether the SIP is connected even when not
  27. # in the same group
  28. autodeaf = 1
  29. # Bitrate of Opus encoder in B/s
  30. # Adjust it if you need to meet the specific bandwidth requirements of Murmur server
  31. opusEncoderBitrate = 16000
  32. # Set to 1 to use client certificates. The certs must be named <user>-cert.pem and
  33. # the private keys <user>-key.pem.
  34. use_certs = 0
  35. [app]
  36. # Caller PIN needed to authenticate the phone call itself. The caller presses
  37. # the PIN, followed by the hash '#' key. On success, the caller is
  38. # unmuted/undeafened. On failure, the SIP call is hung up.
  39. pin = 4321
  40. [files]
  41. # These files are used for the caller and mumble channel audio clips.
  42. # The paths below assume that you are running ./mumsi in the build/ dir.
  43. welcome = ../media/welcome.wav
  44. prompt_pin = ../media/prompt-pin.wav
  45. entering_channel = ../media/entering-channel.wav
  46. announce_new_caller = ../media/announce-new-caller.wav
  47. invalid_pin = ../media/invalid-pin.wav
  48. goodbye = ../media/goodbye.wav
  49. mute_on = ../media/mute-on.wav
  50. mute_off = ../media/mute-off.wav
  51. menu = ../media/menu.wav