Commit Graph

30 Commits

Author SHA1 Message Date
Scott Hardin
1630e82c7f change ratio for estimating WAV sound length 2017-05-28 14:19:26 +02:00
Scott Hardin
75cafbfefe Add support for multiple caller pins
In config.ini, add the [pins] section, with key/value entries
for the expected pin and the channel regex to switch to when
the caller enters the pin. Here's an example:

[pins]
12345 = DevOps Team
23456 = Sales Team
2017-05-28 14:08:28 +02:00
Scott Hardin
d3213be149 clean up logging left over from hack sessions 2017-05-27 20:53:10 +02:00
Scott Hardin
18cd3cde13 Use SIP connect string as Mumble comment text 2017-05-27 20:53:10 +02:00
Scott Hardin
993c5f3988 initial multi-call support; improve channel joins 2017-05-27 15:11:11 +02:00
Scott Hardin
82015dc14c add playAudioFile() and caller menu skeleton
- playAudioFile() makes it possible to play a WAV file
to either the caller or the mumble channel

- menu skeleton has DTMF handling and is ready for
adding '*n' functions (like *5 = mute).
2017-05-23 21:38:44 +02:00
Scott Hardin
e0ae088c63 dtmf: squelch logging of keystrokes 2017-05-22 06:46:11 +02:00
Scott Hardin
dc77504338 add caller pin for entering mumble session
caller must enter pin before being unmuted/undeafened in mumble room
2017-05-21 23:12:14 +02:00
Scott Hardin
e0a3a67410 autodeaf: modify logic to cause less state chg
i.e. turning deaf on auto-mutes and turning mute automatically
turns off deafen
2017-05-21 19:42:56 +02:00
Scott Hardin
f112cca475 Add autodeaf so users in other groups see status
This causes the user to be self_mute and self_deaf when there
is no SIP call active. Users in other Mumble groups can then
see whether the user is active without moving to same group.

Note: this needs the updated mumlib with the self_mute and self_deaf
methods
2017-05-20 22:37:17 +02:00
Michał Słomkowski
c04ead2ff5 Add option to set frame length in PJSIP. #14 2016-04-18 02:12:27 +02:00
Michał Słomkowski
0e69e9cc94 Implement AudioFramesMixer class. #1 2015-11-18 02:20:35 +01:00
Michał Słomkowski
45f8536e09 Refactor current Mumble->SIP audio stream to separate AudioFramesMixer class. #1 2015-11-18 00:17:25 +01:00
Michał Słomkowski
0548fca0dd Update Mumlib audio callback and and 'override'. #1 2015-11-17 23:15:52 +01:00
Michał Słomkowski
bfbf646e24 Change to answer SERVICE_UNAVAILABLE for invalid URIs. 2015-11-09 01:48:36 +01:00
Michał Słomkowski
f6bf22bd15 Implement URI validator. 2015-11-09 01:42:04 +01:00
Michał Słomkowski
9d4da88e9f Add SIP URI validator. 2015-11-09 00:51:51 +01:00
Michał Słomkowski
904246ba64 Rewrite Pjsua class to use C++ API. 2015-11-07 16:32:21 +01:00
Michał Słomkowski
3267329a63 Refactor PJSUA callbacks. 2015-11-06 02:23:48 +01:00
Michał Słomkowski
c4e0ce5f14 Move add_port to call after incoming call. 2015-11-05 01:15:20 +01:00
Michał Słomkowski
b87e1f840d Clean up CMakeFiles.txt and includes. 2015-11-04 01:31:46 +01:00
Michał Słomkowski
058b8778cd Add text message call state info. 2015-11-04 00:53:52 +01:00
Michał Słomkowski
2771986f37 Fix toPjString function. 2015-11-03 23:39:41 +01:00
Michał Słomkowski
d4a01348e0 Clean up project. 2015-11-03 02:13:15 +01:00
Michał Słomkowski
0189d0f8ac Add working two-way channel. 2015-11-02 23:41:49 +01:00
Michał Słomkowski
da3000f1ad Add config file support. 2015-10-17 22:27:37 +02:00
Michał Słomkowski
690f95820c Disable SIP->Mumble channel. 2015-10-16 23:33:23 +02:00
Michał Słomkowski
2bd1ba3fd2 Refactor, not working properly. 2015-10-16 22:41:37 +02:00
Michał Słomkowski
0d162df380 Add working example (distorted audio). 2015-09-29 02:26:45 +02:00
Michał Słomkowski
171e6021d1 Add C++ version of PJSUA code divided into classes. 2015-09-27 23:25:22 +02:00