Commit Graph
100 Commits
Author SHA1 Message Date
Giovanni Maruzzelli 4706d3946d skypopen: performance improvements in skypopen_protocol.c and alsa/dummy.c . Added pcm*c to alsa/. Let's hope the larger period in dummy.c does not make problems on ubuntu 2010-11-02 22:52:51 -05:00
Giovanni Maruzzelli f3ae4d10d7 skypopen: callflow display reshuffle 2010-11-02 02:19:18 -05:00
Giovanni Maruzzelli 04f9b8c6f4 skypopen: very nice formatted debug output (ok, I go get a life) 2010-11-01 19:12:03 -05:00
Giovanni Maruzzelli cda952083f skypopen: nice formatted debug output (I feel so stupid when I use one full hour for things like this, but I like it ;) ) 2010-11-01 18:48:28 -05:00
Giovanni Maruzzelli 5f91e46914 skypopen: modifying Makefile.am and skypopen.h to report in revision tag of debug lines the last commit of both mod_skypopen.c and skypopen_protocol.c (so you can have your own commits in the same dir) 2010-11-01 16:41:23 -05:00
Giovanni Maruzzelli faa1636905 skypopen: modifying Makefile.am to report on last commit in skypopen directory 2010-11-01 16:14:16 -05:00
Giovanni Maruzzelli 3c66b497d6 skypopen: fix FS-2784, missing incoming calls to one interfacename 2010-10-29 01:58:31 -05:00
Giovanni Maruzzelli 3a3c5d261f skypopen: sk list the DEAD state 2010-10-28 13:47:15 -05:00
Giovanni Maruzzelli aea12d1f9f skypopen: indented 2010-10-28 13:27:01 -05:00
Giovanni Maruzzelli 182da3c128 skypopen: fixed management of skype clients crash 2010-10-28 13:27:01 -05:00
Giovanni Maruzzelli 38215f9d5c skypopen: indented 2010-10-28 13:27:01 -05:00
Giovanni Maruzzelli bc067ebc69 skypopen: cosmetics 2010-10-28 13:27:01 -05:00
Giovanni Maruzzelli f4a6a07edc skypopen: select only IDLE interfaces, destroy the codec after the audio threads, cosmetics 2010-10-28 13:27:01 -05:00
Giovanni Maruzzelli a1ada3e2a9 skypopen: windows compile 2010-10-27 12:10:00 -05:00
Giovanni Maruzzelli 5472923024 skypopen: cosmetics 2010-10-27 09:44:52 -05:00
Giovanni Maruzzelli a5045b1ab0 skypopen: interface DOWN during hangup, cosmetics 2010-10-27 09:44:52 -05:00
Giovanni Maruzzelli 99b14db491 skypopen: manage ERROR 36 Not online, cosmetics, put the interface DOWN when no session and when beginning to destroy 2010-10-27 09:44:52 -05:00
Giovanni Maruzzelli 145a7a4b31 skypopen: manage failed ALTER I/O (sockets), LOCALHOLD, ANSWER. Use only IDLE interfaces to answer 2010-10-27 09:44:51 -05:00
Giovanni Maruzzelli 0499be4acd skypopen: locking flags 2010-10-27 09:44:51 -05:00
Giovanni Maruzzelli 01d0f1bd2a skypopen: better management of 'hupall' and KILL 2010-10-27 09:44:51 -05:00
Giovanni Maruzzelli 5d03777fe5 skypopen: cleanup continues 2010-10-27 09:44:51 -05:00
Giovanni Maruzzelli 758254ad42 skypopen: cleanup begin 2010-10-27 09:44:51 -05:00
Giovanni Maruzzelli 9274deeabb skypopen: fixed crash on closing XDisplay before is used by interface shutdown/remove 2010-10-27 09:44:51 -05:00
Giovanni Maruzzelli 7d7f23cebb skypopen: indented 2010-10-27 09:44:51 -05:00
Giovanni Maruzzelli 994cdbd183 skypopen: lot of improvements in locking and hangup handling 2010-10-27 09:44:51 -05:00
Giovanni Maruzzelli 01fb67aeca skypopen: better checking audio buffers not destroyed 2010-10-27 09:44:51 -05:00
Giovanni Maruzzelli f04322e9bb skypopen: CLOUDTREE patch with some modifications 2010-10-27 09:44:50 -05:00
Giovanni Maruzzelli 567dab9376 gsmopen: fix alsa_nogsmlib_nocplusplus/mod_gsmopen/Makefile 2010-10-19 12:01:43 -05:00
Giovanni Maruzzelli 355c0dbb8f gsmopen: fix FS-2793, compilation stops 2010-10-19 12:01:43 -05:00
Giovanni Maruzzelli f6065262ff skypopen: cosmetics
Signed-off-by: Giovanni Maruzzelli <gmaruzz@gmail.com>
2010-08-27 18:51:41 -05:00
Giovanni Maruzzelli 67845680ba skypopen: let's manage correctly the transfer to another interface with a different skypename
Signed-off-by: Giovanni Maruzzelli <gmaruzz@gmail.com>
2010-08-27 18:36:51 -05:00
Giovanni Maruzzelli ef14b78a8a skypopen: ignore early media sent by channels to be bridged before our channel is answered
Signed-off-by: Giovanni Maruzzelli <gmaruzz@gmail.com>
2010-08-27 11:58:20 -05:00
Giovanni Maruzzelli 45c6c4d3e4 skypopen: now answer a call only when directed to do it (before was trying to answer any incoming call). Lot of changes to a messy part, so maybe some problem will come out...
Signed-off-by: Giovanni Maruzzelli <gmaruzz@gmail.com>
2010-08-13 16:20:09 -05:00
Giovanni Maruzzelli 5c2fa74f50 let's use XFlush instead of XSync, helps broken XLib
Signed-off-by: root <root@server1.celliax.org>
2010-07-20 11:12:22 -05:00
Giovanni 5c5d260bc7 Merge branch 'master' of git.freeswitch.org:freeswitch 2010-04-22 13:29:07 +02:00
Giovanni 70ab76902e skypopen: updating Windows solution 2010-04-22 13:28:23 +02:00
Giovanni 1d993d3aa2 Merge branch 'master' of git.freeswitch.org:freeswitch 2010-04-06 17:55:58 +02:00
Giovanni ce882fb6f1 skypopen: alsa/dummy.c, the snd-summy custom alsa driver, now do not spin_lock_bh() on timer loop 2010-04-06 17:54:32 +02:00
Giovanni ea8f69fd77 skypopen: reversed previous commit of alsa/dummy.c (I like to have it in a separate commit) 2010-04-06 17:52:40 +02:00
Giovanni 7b7a063693 skypopen: better X11 interaction with a select on XEvents, no more setsockopt by default (tcp buffer size and TCP_NODELAY), setsockopt in config file 2010-04-06 17:48:18 +02:00
Giovanni Maruzzelli cf10ffa849 skypopen: changed definition of SKYPOPEN_SVN_VERSION in Makefile.am, because the present one does not works with the git output 2010-04-02 17:20:56 +02:00
Giovanni aaae4c652d skypopen: making XEvents to works when EARLYMEDIA, and correctly manage threads death 2010-03-31 16:22:25 +02:00
Giovanni d46a1ca701 skypopen: revert test git 2010-03-31 16:20:00 +02:00
Giovanni a8518f28ba skypopen: test git 2010-03-31 16:17:31 +02:00
Giovanni Maruzzelli 3bd8bcc39b skypopen: snd-dummy ALSA driver, hopefully lower cpu load
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17083 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-23 17:40:04 +00:00
Giovanni Maruzzelli 36f1cd4957 skypiax: finishing off renaming to mod_skypopen
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16991 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-14 23:40:32 +00:00
Giovanni Maruzzelli df18a0d499 skypiax: finishing off renaming to mod_skypopen
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16990 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-14 23:36:14 +00:00
Giovanni Maruzzelli 3c2e8b348f skypiax: preparing for renaming to mod_skypopen
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16987 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-14 15:45:57 +00:00
Giovanni Maruzzelli 2a58973096 skypiax: preparing for renaming to mod_skypopen
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16986 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-14 13:34:20 +00:00
Giovanni Maruzzelli 28e266bc2b skypiax: preparing for renaming to mod_skypopen
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16985 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-14 13:21:45 +00:00
Giovanni Maruzzelli 17a378d6a4 skypiax: preparing for renaming to mod_skypopen
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16984 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-14 12:39:54 +00:00
Giovanni Maruzzelli 218badc69f skypiax: preparing for renaming to mod_skypopen
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16983 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-14 10:38:56 +00:00
Giovanni Maruzzelli 494f8570fe skypiax: fix release build in VC++ - MODSKYPIAX-74
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16977 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-12 18:33:37 +00:00
Giovanni Maruzzelli 8111b4beb4 skypiax: commented out the debug print on writing silence packet while idle
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16920 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-05 22:05:27 +00:00
Giovanni Maruzzelli 2a479a75f9 skypiax: when trying to specify the use of an already busy interface for originating an outbound call, return SWITCH_CAUSE_NORMAL_CIRCUIT_CONGESTION instead of DESTINATION_OUT_OF_ORDER. Like in openzap. Would be better to return SWITCH_CAUSE_REQUESTED_CHAN_UNAVAIL ???
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16893 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-04 15:04:57 +00:00
Giovanni Maruzzelli de7fa863cd skypiax: write_silence_when_idle in config, general configuration code reshuffle
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16891 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-04 01:10:19 +00:00
Giovanni Maruzzelli 13336a930b skypiax: fixed MODSKYPIAX-73, and manage when REMOTEHOLD hangs up
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16877 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-03 07:58:43 +00:00
Giovanni Maruzzelli 87f46f0e88 skypiax: ooops, forgot to 'demote' debug output
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16868 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-02 20:40:07 +00:00
Giovanni Maruzzelli d82d868ffe skypiax: works well again on Virtual Machines
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16867 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-02 20:35:49 +00:00
Giovanni Maruzzelli 265c79a5bf skypiax: Synching audio
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16851 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-01 13:25:04 +00:00
Giovanni Maruzzelli 7cd8180f4a skypiax: tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16849 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-01 09:53:11 +00:00
Giovanni Maruzzelli 4214698ec1 skypiax: cleaning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16848 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-28 20:48:13 +00:00
Giovanni Maruzzelli a50e12040e skypiax: #ifdeffed out netinet/tcp.h from skypiax.h for windows, it get its own automatically
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16847 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-28 20:08:45 +00:00
Giovanni Maruzzelli f9013440e0 skypiax: tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16846 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-28 11:50:35 +00:00
Giovanni Maruzzelli 70c203c7dc skypiax: snd-dummy alsa driver, make it ready (need to be edited before compilation) for alsa-1.0.22 still works on 1.0.20 and compatible with old alsa versions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16837 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-26 17:52:36 +00:00
Giovanni Maruzzelli d75f7d75d4 skypiax: new snd-dummy.c
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16835 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-26 10:47:32 +00:00
Giovanni Maruzzelli 183a1ada6b skypiax: new snd-dummy.c don't care no more about HZ in kernel
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16834 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-26 10:44:41 +00:00
Giovanni Maruzzelli 1207c64a5a skypiax: cleaning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16829 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-25 19:21:20 +00:00
Giovanni Maruzzelli 305821a94a skypiax: cleaning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16828 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-25 19:18:21 +00:00
Giovanni Maruzzelli dea13352a7 skypiax: cleaning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16826 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-25 18:38:41 +00:00
Giovanni Maruzzelli a15fd5a9a0 skypiax: indenting
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16824 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-25 18:17:38 +00:00
Giovanni Maruzzelli 60e8100b48 skypiax: removed debugging with invis
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16822 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-25 15:53:57 +00:00
Giovanni Maruzzelli 8102752fd3 skypiax: debugging with invis
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16821 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-25 15:51:34 +00:00
Giovanni Maruzzelli 45c5e7fbef skypiax: let's the API thread die on unload module on win32
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16818 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-25 13:56:11 +00:00
Giovanni Maruzzelli 13c38b26c9 skypiax: tweakings for windows, still don't know how to make the API thread to die on windows at module unload
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16812 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-25 12:43:06 +00:00
Giovanni Maruzzelli 4a89537070 skypiax: timing and load tweaking, let's see if compile on windoz
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16810 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-25 10:29:19 +00:00
Giovanni Maruzzelli 1bc16199a5 skypiax: silent_mode in config file, now it works well. DelphiWorld asked for it, and will be useful to all :)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16731 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-23 14:32:52 +00:00
Giovanni Maruzzelli b2157456f5 skypiax: do the audio timers synch each 20secs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16730 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-23 12:26:03 +00:00
Giovanni Maruzzelli 3cc72e256a skypiax: shut up windows compiler
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16729 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-23 02:31:37 +00:00
Giovanni Maruzzelli 20334f3ab6 skypiax: no more tcp ports in config, cleaning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16726 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-22 22:48:50 +00:00
Giovanni Maruzzelli 17176ff6fa skypiax: no more tcp ports in config, timing tweakings
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16724 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-22 22:13:59 +00:00
Giovanni Maruzzelli c92c970644 skypiax: 'SET WINDOWSTATE HIDDEN'
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16716 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-22 07:38:54 +00:00
Giovanni Maruzzelli 1b80ea6c37 skypiax: 'SILENT_MODE' is a stupid joke, removed
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16714 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-21 14:50:08 +00:00
Giovanni Maruzzelli 97d3f93c07 skypiax: try not to show windows, run the skype client hidden in system tray, special feat for DelphiWorld
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16713 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-21 14:17:08 +00:00
Giovanni Maruzzelli 33b4550658 skypiax: shorter audio buffers, sync read and write audio timers each second
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16712 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-21 11:01:05 +00:00
Giovanni Maruzzelli 87ad320bfd skypiax: completely new audio threads, shut up compiler
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16710 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-20 13:28:42 +00:00
Giovanni Maruzzelli 05f23d981a skypiax: new audio threading works on windoz, little cleaning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16709 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-20 13:18:04 +00:00
Giovanni Maruzzelli 48b0043ebd skypiax: completely new audio threads, let's see how it works on windoz
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16708 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-20 12:32:10 +00:00
Giovanni Maruzzelli f15c9f8f02 skypiax:I can't understand why, but at least on my winxp 32bit if I memset 255 the audio frames to be sent when no frames have been given by channel_write_frame() but the timer_write has expired, it sounds bad. It sounds better, perfect let's say, if I resend the last frame. Go figure...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16700 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-19 01:04:14 +00:00
Giovanni Maruzzelli df4b1f5968 skypiax: hihihi, forgot to silencing the frames sent as silence fillers
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16693 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-18 17:47:54 +00:00
Giovanni Maruzzelli d914adb78c skypiax: modified VC++ solution so to include libspandsp includes and lib
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16691 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-18 17:25:02 +00:00
Giovanni Maruzzelli f53c1cbf19 skypiax: MODSKYPIAX-66 added channel variable 'skype_get_inband_dtmf', you set it to 'true' if you want to mod_skypiax to detect inband DTMFs coming from skype, eg: skypein/skypeout calls
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16690 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-18 16:24:07 +00:00
Giovanni Maruzzelli 28f88fc758 skypiax: added channel variabls 'skype_user', set to the skypename of the interface, and 'initial_skype_user', set to the skypename that originally received the call and then transferred it to another skypename
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16685 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-18 11:03:12 +00:00
Giovanni Maruzzelli 1d45f2a572 skypiax: debug print on failed write on audio socket
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16680 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-17 20:22:33 +00:00
Giovanni Maruzzelli fdf2c82c3f skypiax: If you DO want to relay DTMFs out of band when bridged too, on top of audio DTMFs, set the channel variable 'skype_add_outband_dtmf_also_when_bridged=true'
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16678 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-17 18:01:05 +00:00
Giovanni Maruzzelli 8cb7897654 skypiax: small change in reacting to 'ERROR 559 CALL', action failed, in case we are in the process of answering
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16677 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-17 15:56:27 +00:00
Giovanni Maruzzelli ba4fd4a895 skypiax: cleaning some debug print leftover
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16676 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-17 11:35:12 +00:00
Giovanni Maruzzelli 445b04ac68 skypiax: cleaning some debug print leftover
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16675 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-17 11:29:31 +00:00
Giovanni Maruzzelli f0c8ba7479 skypiax: let's have short tcp bufsize in windows too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16672 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-17 03:09:21 +00:00
Giovanni Maruzzelli bd5c3efc0b skypiax: create the threads with the detach bit UNset
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16671 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-17 02:50:24 +00:00