Aucune description

Michał Słomkowski b01c8a767e Merge pull request #10 from fstern/uri_validation il y a 8 ans
.gitignore 3267329a63 Refactor PJSUA callbacks. il y a 8 ans
AudioFramesMixer.cpp 0e69e9cc94 Implement AudioFramesMixer class. #1 il y a 8 ans
AudioFramesMixer.hpp 0e69e9cc94 Implement AudioFramesMixer class. #1 il y a 8 ans
CMakeLists.txt 4ba63178b3 Allow joining specific channel on start il y a 8 ans
Configuration.cpp b87e1f840d Clean up CMakeFiles.txt and includes. il y a 8 ans
Configuration.hpp b87e1f840d Clean up CMakeFiles.txt and includes. il y a 8 ans
IncomingConnectionValidator.cpp 413ecbe4ad Match international phone numbers starting with +XX il y a 8 ans
IncomingConnectionValidator.hpp b6de7842b8 Use boost::regex instead of std::regex il y a 8 ans
LICENSE 47ecacab4b Add license and README. il y a 8 ans
MumbleChannelJoiner.cpp fc917fca7d Forgot MumbleChannelJoiner component il y a 8 ans
MumbleChannelJoiner.hpp fc917fca7d Forgot MumbleChannelJoiner component il y a 8 ans
MumbleCommunicator.cpp 4ba63178b3 Allow joining specific channel on start il y a 8 ans
MumbleCommunicator.hpp 4ba63178b3 Allow joining specific channel on start il y a 8 ans
PjsuaCommunicator.cpp 0e69e9cc94 Implement AudioFramesMixer class. #1 il y a 8 ans
PjsuaCommunicator.hpp 45f8536e09 Refactor current Mumble->SIP audio stream to separate AudioFramesMixer class. #1 il y a 8 ans
README.md f6bf22bd15 Implement URI validator. il y a 8 ans
config.ini.example 94932e3159 Add start channel field to example config il y a 8 ans
main.cpp cfec9f354c Fix irrelevant stack dump when no commandline arguments specified. il y a 8 ans

README.md

mumsi - SIP to Mumble gateway

SIP to Mumble gateway based on PJSIP stack and mumlib library. It registers to SIP registrar and listens for incoming connections on the SIP account.

This enables the user to participate in Mumble conference using SIP client or perhaps ordinary telephone, by VoIP provider.

Dependencies

Build and usage

  • Install all needed dependencies

  • Clone and compile Mumlib library. Since it doesn't have any installer, clone it to common directory:

    mkdir mumsi-dist && cd mumsi-dist
    git clone https://github.com/slomkowski/mumlib.git
    mkdir mumlib/build && cd mumlib/build
    cmake ..
    make
    cd -
    
  • Then clone and build Mumsi:

    git clone https://github.com/slomkowski/mumsi.git
    mkdir mumsi/build && cd mumsi/build
    cmake ..
    make
    
  • Copy example config.ini file and edit it according to your needs:

    cp config.ini.example config.ini
    

Remember to add URIs which you want to make calls from. Calls from other URIs won't be answered.

  • To run the service, type:

    ./mumsi config.ini
    

Issues

  • remember to allow incoming connections on port 5060 UDP in your firewall

  • PJSIP packages in some distributions require to have a sound card in your system, which can be an issue on the server. In this case, use snd-dummy sound module.

TODO:

  • multiple simultaneous connections
  • outgoing connections
  • text chat commands

Credits

2015 Michał Słomkowski. The code is published under the terms of Apache License 2.0.