Commit Graph

502 Commits

Author SHA1 Message Date
Daniel O'Connor
ee72e69e29 Add PA setup and FIFO code (still not plumbed into the main program) 2012-04-23 16:32:47 +09:30
gardners
953e836ba6 fixed bug introduced in adding codec hints. 2012-04-23 13:55:17 +09:30
gardners
0cff6b5abf making a vomp call now requires a registerest listener to call
state information.
when registering a listener you can also specify a list of codecs
that are supported.  These are included in the initial 3-way
call initiation process so that each party knows which codecs
the other supports.
2012-04-23 13:30:22 +09:30
gardners
801d55dc00 removed some debug output. 2012-04-23 13:30:12 +09:30
Andrew Bettison
551f22092f Make javac and jni.h optional in ./configure 2012-04-23 12:05:00 +09:30
gardners
44e9449988 added beginnings of portaudio based phone interface for testing
VoMP.
2012-04-23 08:24:39 +09:30
gardners
38941d92af added portaudio checks. 2012-04-23 07:37:25 +09:30
gardners
b3cc3eb644 changed poll behaviour in vomp monitor so that it avoids poll/select
bug on OSX and thus doesn't use 100% CPU.
2012-04-22 20:17:32 +09:30
gardners
e8eaa32227 modified neighbour structure to include record of when route metrics
were last updated, so that we can avoid excessive updating and thus
wasting of CPU/energy.
2012-04-22 20:16:48 +09:30
gardners
ae3715ae99 Fixed excessive CPU usage when no neighbours. 2012-04-22 20:16:24 +09:30
gardners
458ff3665b fixed poll/select issue that was causing 100% cpu utilisation on mac. 2012-04-22 20:15:57 +09:30
gardners
84a237406d ending a call now works properly with both end realising it has
ended and freeing up their call descriptors.
2012-04-22 19:15:55 +09:30
gardners
40bb0ab14b monitor commandline app now basically works.
State changes get shown, and current conditions get repeated
every tick.  Eventually we may need to squelch the ticks to make
life simpler for the phone application.
2012-04-22 19:00:36 +09:30
gardners
76a1bec84e Added initial work towards a call status monitoring commandline
option.
2012-04-22 18:47:24 +09:30
gardners
2a24f3e137 revamped mdp client unix domain socket system to use unique names
so that multiple clients can connect to the same server.
(on linux we should use abstract name space unix domain sockets
 so that we never have stale socket files hanging around).
2012-04-22 18:46:14 +09:30
gardners
c894d51c24 fixed type in client socket name. 2012-04-22 16:45:27 +09:30
gardners
29b8454a94 vomp pickup and hangup commandline apps in place and working. 2012-04-22 12:51:58 +09:30
gardners
f45288ccc1 vomp status now shows details for each live call descriptor. 2012-04-22 08:48:23 +09:30
gardners
28cbbb9a67 vomp status now displays nominal call information. 2012-04-22 08:31:19 +09:30
gardners
56ab28b475 fixed a relevant_bytes calculation bug, and generally improved
error handling.
2012-04-22 08:25:48 +09:30
gardners
21cb1d9206 some refinement to dial request commandline utility.
MDP reply to dial request is sometimes not forthcoming, but
if tried again, does solicit a response.  very weird.
2012-04-22 07:16:18 +09:30
gardners
19538216f6 Fixed call session matching bug that was causing duplicated
call contexts when faced with retransmissions of initial call
setup stage.
2012-04-22 07:08:33 +09:30
gardners
07d2c41224 finally got around to proper initialisation of random number generator. 2012-04-22 06:39:33 +09:30
gardners
ead3e8cb95 cleaned out some debug info. 2012-04-22 06:29:10 +09:30
gardners
9b409c2891 Got VoMP ticks to update call state running. 2012-04-21 21:21:26 +09:30
gardners
db68286426 Various VoMP state machinery fixes. Call can now progress to
ringing at each end.
2012-04-21 20:36:26 +09:30
gardners
68b2778c93 fixed bug in call state control with newly created slots not
having last activity time recorded at creation.
2012-04-21 09:09:01 +09:30
gardners
6713ff67cb progress towards VoMP. State control stuff is still up the creek. 2012-04-21 09:07:36 +09:30
gardners
30859a2bc6 fixed session number generation bug.
Some debugging added.
2012-04-21 08:15:48 +09:30
gardners
397ea4279a fixed return code processing of stowSid(), and also added more
informative error messages.
2012-04-21 08:15:10 +09:30
gardners
ec94f6c12f fixed bug in queue handling.
removed some debugging.
2012-04-20 19:26:25 +09:30
gardners
c8968bacef disabled paranoid malloc debugging 2012-04-20 19:26:08 +09:30
gardners
f4886d0a0a added conditionality to JNI code in commandline.c 2012-04-20 17:21:03 +09:30
gardners
3059a5c3e9 still tracking blasted memory corruption bug. 2012-04-20 17:14:04 +09:30
gardners
5c52c8e274 trying to find memory corruption bug, probably queue handling
related.
2012-04-20 17:14:04 +09:30
gardners
788cef0201 sqlite3.o no longer depends on serval.h for faster recompiles
when changing serval.h
2012-04-20 17:14:04 +09:30
gardners
d843e59bd5 vomp status and vomp dial command line apps added.
now debugging dial operation.
2012-04-20 17:12:44 +09:30
gardners
028b24261f fixed another relevant byte calculation bug. 2012-04-20 17:12:44 +09:30
gardners
971f402360 more fixing of relevant byte calculation. 2012-04-20 17:12:44 +09:30
gardners
44ad4db147 fixed MDP frame relevent byte calculation to work regardless of what
weird alignment foo the compiler decides to do.
2012-04-20 17:12:44 +09:30
Andrew Bettison
90a1317822 First cut of JNI entry point to command line 2012-04-20 17:02:29 +09:30
Andrew Bettison
36c7e492e8 Native build now supports JNI code on GNU/Linux
- ./configure detects if javac and JDK are present
- Makefile default target builds libservald.so
- probably doesn't work on Mac OS X (yet)
2012-04-20 16:57:36 +09:30
gardners
c52e91ef46 added code to send VoMP notifications to local listeners and to the
far end.  Ready to start making command line tools to enquire and
manipulate call state.
2012-04-20 08:02:03 +09:30
gardners
1625ca24aa implemented some outstanding call state management functions. 2012-04-20 05:55:58 +09:30
gardners
a34b86d5a1 improved VOMPEVENT_CALLINFO call to return summary list even
when provided with an invalid call session token.
2012-04-20 05:47:31 +09:30
gardners
ddeb316421 Added VOMPEVENT_CALLINFO MDP message flag to get info on
specified call (if present), and summary of all valid calls
(session token + state)
2012-04-20 05:44:51 +09:30
gardners
cbb4df7c11 Added call info enquiry MDP message. 2012-04-20 05:38:45 +09:30
gardners
ea372aece2 Added VoMP call-pickup message handling. 2012-04-20 05:25:48 +09:30
gardners
57be9bef32 Further work on VoMP. MDP message to create a call should now
do something.
2012-04-20 05:19:42 +09:30
gardners
b1a7ccd32f Further work on getting VoMP together. Added MDP messages to add
and remove a client from being interested in the phone-call state.
2012-04-19 21:54:37 +09:30