Richard Fuchs
e01692c297
add basic locking to callmaster struct
13 years ago
Richard Fuchs
2b63e794df
Prepare for multi-threaded operation
...
Introduce generic "objects" with reference counting primitives and automatic
resource deallocation when no refs are left ("garbage collection"). Overhaul
poller framework to make extensive use of these objects to allow for future
thread-concurrent operation.
No locking added anywhere yet except in poller. Poller is still not 100%
thread safe, but close.
Valgrind reports no errors or memleaks.
13 years ago
Richard Fuchs
f775df551c
separate redis code from main code - modularize!(tm)
13 years ago
Richard Fuchs
7b6c8db4f5
add --b2b-url CLI parameter
13 years ago
Richard Fuchs
241d479de2
Push viabranch info into redis and restore it as well
13 years ago
Richard Fuchs
b3d6729e10
Remove packaged libhiredis
13 years ago
Richard Fuchs
49be46b41c
let's try a different approach to via-branch handling, reverting most of andi's changes
13 years ago
Andreas Granig
7b51c0bc30
Implement viabranch-based call-list.
13 years ago
Andreas Granig
fb72957594
Cleanup regex result indexing and add via branch.
...
- Use defines to index regex results.
- Add optional viabranch suffixed to call-id (WIP).
13 years ago
Richard Fuchs
1b93bdb9b7
fix handling of calls with multiple concurrent media streams
14 years ago
Richard Fuchs
0c23b07db6
ignore user-supplied addresses and use proxy-supplied hints as only determining factor between ipv4 and ipv6
14 years ago
Richard Fuchs
4c508f28ee
support the internal/external flags for ipv4/ipv6 hints
14 years ago
Richard Fuchs
b917ac0e71
move everything to mapped-ipv4-in-ipv6 API
14 years ago
Richard Fuchs
d05f5831d4
add the ipv6 logic to the userspace daemon.
...
problems with this:
1) not pretty
2) most certainly doesn't work
3) only compiles with no-redis
4) not pretty and most certainly doesn't work
14 years ago
Richard Fuchs
b0ef0da1e7
change the daemon to the new interface, this should make jenkins happy again
14 years ago
Richard Fuchs
2b37826e46
Reworked port re-use logic and adapted test scripts to accomodate for the changes.
...
All tests seem to be OK so far, but this is EXPERIMENTAL code - do not use in production.
14 years ago
Richard Fuchs
0fd9e0dae4
Create compile-time option ("make no-redis") to eliminate all redis-related code from binary
14 years ago
Richard Fuchs
9ef47a4906
slightly revised the testing routing; added "dump everything to redis" function
14 years ago
Richard Fuchs
16d54a3427
move to slice allocator; remember UUID for restored calls
14 years ago
Richard Fuchs
9b036f8ccf
implement call restore logic - needs testing
14 years ago
Richard Fuchs
f4a773ba6c
Push the call and stream information into redis - WIP
14 years ago
Richard Fuchs
cffb385bcf
rudimentary redis handling and some die message fixes
14 years ago
Richard Fuchs
3ae125aa91
introduce --advertised-ip parameter
...
clear up some of the --help text
make callmaster creation more consistent
14 years ago
Richard Fuchs
fd623f2754
add port-min and port-max parameters
...
integrate into init script and provide basic defaults script
14 years ago
Richard Fuchs
c3ad30063d
implement delete UDP command
14 years ago
Richard Fuchs
b6370bf556
First step in implementation of UDP control protocol - untested/unfinished
14 years ago
Richard Fuchs
593121d551
create tags and branches
14 years ago