48 Commits

Author SHA1 Message Date
Giovanni Maruzzelli
39dab176b2 skypiax: compiles on windows
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14341 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-24 14:03:23 +00:00
Giovanni Maruzzelli
6bd34fb9d2 skypiax: lot of changes to allow for the usage of multiple instances of the same skype username, eg: 10 instances of skypename 'Bob' and 10 instances of skypename 'alice'. Horrible hacks for deciding which instance answer an incoming call, which busy instance will transfer to another and when, etc... ;-) Let's hope it does not breaks havoc...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14340 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-24 13:36:43 +00:00
Giovanni Maruzzelli
9252320659 skypiax: updated config files and skype clients starting script
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14339 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-24 13:34:03 +00:00
Giovanni Maruzzelli
c039086b5b skypiax: updated config files and skype clients starting script
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14338 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-24 13:31:19 +00:00
Giovanni Maruzzelli
21a2cd5b41 skypiax: added directory 'configs/multiple-instance-same-skype-username', contains configuration file and script to launch Skype clients with multiple instances of the same skype user, eg: 10 instances of skypename 'Bob' and 10 instances of skypename 'alice'
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14337 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-24 13:22:43 +00:00
Giovanni Maruzzelli
d9c8fc7fae skypiax: added directory 'kernel', contains .config file for compilation of kernel 2.6.24.7 (64bit) tickless and 100HZ. Best for skypiax, solves high load problems on CentOS
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14336 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-24 12:16:22 +00:00
Giovanni Maruzzelli
6bb1bbfe18 skypiax: added directory 'alsa', contains customized snd-dummy ALSA driver, low load. Please use alsa-driver-1.0.20 sources from alsa-project.org to compile, older sources got a bug that causes kernel oops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14335 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-24 12:13:40 +00:00
Giovanni Maruzzelli
4d2a6927e5 skypiax: added XInitThreads() to configs/client.c, now is kind of a reliable tool
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14125 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-03 11:58:10 +00:00
Giovanni Maruzzelli
6303e249c0 skypiax: removed FARMING ifdefs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13810 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-17 11:12:58 +00:00
Giovanni Maruzzelli
0b0d4077c1 skypiax: now it manages the REMOTEHOLD status, when the remote party puts the call on-hold
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13667 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-06 23:59:27 +00:00
Giovanni Maruzzelli
e8a262b729 skypiax: insert the delay ONLY if the broken message is 'ERROR 92 CALL: Unrecognised identity': when repeatedly you try to connect to non-existing Skype account in a short period, the Skype client send you back the two halves of the message 'ERROR 92 CALL: Unrecognised identity' inverted in a way that breaks the flux of the API messages. Maybe an anti-spam feature? Anyway, let's try to work around it and restore sanity with a 1 second delay
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13666 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-06 20:31:01 +00:00
Giovanni Maruzzelli
8942627040 skypiax: the Skype client sends us BOTH inband and out_of_band DTMFs, no way to shut the inbands. Let's intercept the out_of_bands ONLY if we are not bridged (eg: IVR, so not to waste CPU in detecting inband), but not propagate the out_of_band DTMFs if we are bridged (inband ones will be propagated)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13664 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-06 18:15:26 +00:00
Giovanni Maruzzelli
0b18987f9e skypiax: when repeatedly you try to connect to non-existing Skype account in a short period, the Skype client send you back the two halves of the message 'ERROR 92 CALL: Unrecognised identity' inverted in a way that breaks the flux of the API messages. Maybe an anti-spam feature? Anyway, let's try to work around it and restore sanity with a 1 second delay
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13663 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-06 16:36:26 +00:00
Giovanni Maruzzelli
56596b4e88 skypiax: great startup speedup in Windows (using only one Broadcast sendmessage for each interface hunting)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13083 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-19 22:44:45 +00:00
Anthony Minessale
73fe7bfdcc FSCORE-352
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12987 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-10 20:14:02 +00:00
Anthony Minessale
ab6c4f1a6d change CS_DONE to CS_DESTROY and add state handler for destroy and tear down critical parts of the channel from this method which is not called until it's impossible for anything to be referencing the channel (after final write lock and before destroying the pool)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12986 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-10 17:43:18 +00:00
Anthony Minessale
68b0359cfb FSCORE-349 add flag to denote if a codec is init or not
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12961 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-09 17:17:12 +00:00
Giovanni Maruzzelli
f54561be0f skypiax: fixed assignment before declaration on Windows VC++: thx to Carlos Talbot
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12956 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-08 22:08:31 +00:00
Giovanni Maruzzelli
6192a3ab92 skypiax: modified configs/startskype.sh to specify which unix user will start the Skype client instance. Thx to mbrancaleoni@voismart.it
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12937 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-07 16:31:36 +00:00
Giovanni Maruzzelli
ba1a8ec241 skypiax: indent -gnu -ts4 -br -brs -cdw -lp -ce -nbfda -npcs -nprs -npsl -nbbo -saf -sai -saw -cs -bbo -nhnl -nut -sob -l90
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12833 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-29 09:21:07 +00:00
Giovanni Maruzzelli
3c206cfa22 skypiax: undeffing FARMING modifications, they're experinmantal
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12832 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-29 09:19:09 +00:00
Giovanni Maruzzelli
ab565bba44 skypiax: FARMING modifications
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12831 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-29 09:17:58 +00:00
Giovanni Maruzzelli
7fd9f69f26 skypiax: configs/client.c spawn netcats
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12830 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-29 08:18:10 +00:00
Giovanni Maruzzelli
aea2c1a6d6 skypiax: docs on configs/client.c
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12829 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-29 08:16:42 +00:00
Giovanni Maruzzelli
c4667335dd skypiax: found the way to use netcat to relay configs/client.c stdin and stdout, will be the basis for farming out. Instruction in the first lines of configs/client.c. As Young Frankenstein said: It... Could... Workcd /usr/src/freeswitch/src/mod/endpoints/mod_skypiax/configs! http://www.ladyofthecake.com/mel/frank/sounds/couldwrk.wav
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12826 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-28 20:01:03 +00:00
Giovanni Maruzzelli
dd55e006ae skypiax: added configs/client.c, will be the basis for farming out :-)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12825 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-28 18:03:33 +00:00
Giovanni Maruzzelli
f0bc6d07e1 skypiax: added another SWITCH_API_COMMANDS to send skype_api command to the named client: skypiax interface_name skype_API_msg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12799 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-26 22:02:32 +00:00
Giovanni Maruzzelli
504233345f skypiax: added SWITCH_API_COMMANDS: list || console || skype_API_msg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12796 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-26 19:37:10 +00:00
Giovanni Maruzzelli
07c2480ea4 skypiax: fixed transferred call to skype user busy in another call: was transferring using the interface name, not the skype_user. Fixed as per Jira: MODSKYPIAX-28
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12790 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-26 10:29:28 +00:00
Giovanni Maruzzelli
601a187096 skypiax: don't warns about TRANSFERRING and TRANSFERRED states
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12524 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-08 15:31:45 +00:00
Giovanni Maruzzelli
8ff3e74804 skypiax: Visual C: correcting the warning ' Potential comparison of a constant with another constant'
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12505 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-07 11:46:01 +00:00
Giovanni Maruzzelli
ff0ee26549 skypiax: Visual C: correcting a typo, was causing 'argument 1' might be '0': this does not adhere to the specification for the function 'CloseHandle'
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12504 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-07 11:41:54 +00:00
Giovanni Maruzzelli
292ac2ae88 skypiax: Visual C: use switch_string_copy instead of strncpy, fix the Release build (Release was lacking rpcrt4.lib in the linker command line of the mod_skypiax project)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12503 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-07 11:14:08 +00:00
Michael Jerris
47933a996c add skypiax to sln file and fix some warnings
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12502 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-07 09:33:39 +00:00
Giovanni Maruzzelli
a9fcad1aca skypiax: indent -gnu -ts4 -br -brs -cdw -lp -ce -nbfda -npcs -nprs -npsl -nbbo -saf -sai -saw -cs -bbo -nhnl -nut -sob -l90
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12416 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 20:18:37 +00:00
Giovanni Maruzzelli
a17e079b6f skypiax: better timing on loading/starting module (thanks to Jeff Lenk)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12413 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 19:36:02 +00:00
Giovanni Maruzzelli
11562cedf0 skypiax: do EARLY MEDIA when requested (mainly by skypeout calls)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12411 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 19:03:25 +00:00
Giovanni Maruzzelli
98b820af0d skypiax: fixed http://jira.freeswitch.org/browse/MODSKYPIAX-21 on linux too, and cosmetics
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12343 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-28 11:38:35 +00:00
Giovanni Maruzzelli
4e2ac5d51a skypiax: switch_sleep is behaving differently on Vista and XPvi mod_skypiax.c! Let's set for Vista now, will handle this in the future
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12342 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-28 10:39:50 +00:00
Giovanni Maruzzelli
4957a3ef69 skypiax: works on * too :-)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12322 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-27 13:54:07 +00:00
Giovanni Maruzzelli
031009a2d2 skypiax: fixed stupid mistake, works on linux too :-)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12321 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-27 11:38:52 +00:00
Giovanni Maruzzelli
f4bee1f375 skypiax: fixed http://jira.freeswitch.org/browse/MODSKYPIAX-21 on windows, let's check if it works on linux
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12320 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-27 11:08:23 +00:00
Mathieu Rene
c4787ffd48 Leaking on unload is strictly forbidden
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12251 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-23 19:17:24 +00:00
Anthony Minessale
9886f369c3 add direction col to sql db, add direction param to session_create, log dtmf digits to digits_dialed variable for cdr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12244 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-23 16:31:59 +00:00
Giovanni Maruzzelli
68743f3042 skypiax: ringback is ok now, early media in early stage (eg: not yet early media :-) )
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12174 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-20 01:26:20 +00:00
Giovanni Maruzzelli
32f4635068 skypiax: updated default.xml dialplan with skypiax inside
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12172 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-19 23:48:13 +00:00
Giovanni Maruzzelli
72f181a791 skypiax: Yay, on trunk! modified README
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12169 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-19 21:25:50 +00:00
Brian West
8c697d4c30 Move Skypiax into svn Trunk
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12167 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-19 20:57:36 +00:00