100 Commits

Author SHA1 Message Date
Giovanni Maruzzelli
88b15b9e09 skypiax: added skypiax_chat command. SYNTAX: skypiax_chat interface remote_skypename TEXT
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14857 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-14 22:13:00 +00:00
Brian West
357c93b999 fix vim format line
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14856 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-14 22:03:37 +00:00
Giovanni Maruzzelli
9d28cd1e6e skypiax: fires a custom event when an incoming CHATMESSAGE arrives. In the headers are chatmessage id, chatname, from_handle, from_dispname. You want to answer to from_handle. In the body of the event is the chatmessage body. Heh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14845 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-14 18:02:05 +00:00
Giovanni Maruzzelli
8b9d979f3d skypiax: Linux (XWin signaling actually) now manages the case when a 'continue' atom(s) is received before the 'begin' atom. That's in preparation for managing IM chatting
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14843 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-14 12:40:09 +00:00
Giovanni Maruzzelli
b90d6ec470 skypiax: now it accepts a max of 1 call from the same skypename to the same skypename (multiple instances of user A calling multiple instances of user B) each 1.5 seconds - before was each 0.5 seconds, but the last Skypiax Beta for Linux is slower
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14834 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-12 21:53:38 +00:00
Giovanni Maruzzelli
c7091138e9 skypiax: added case on receiving AUDIO_SYNC message, will be used in future, maybe
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14712 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-01 13:57:14 +00:00
Giovanni Maruzzelli
797998f014 skypiax: fixed end of line on skypiax.h
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14635 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-25 19:27:54 +00:00
Giovanni Maruzzelli
d9e1d18fb6 skypiax: fixed problem with different storage between linux and windoz for tcp ports (int to unsigned short). Thanks Sergey for reporting
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14629 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-25 03:34:23 +00:00
Giovanni Maruzzelli
d9deb2327c skypiax: beginning to avoid crashes when Skype clients die, XWindows related
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14610 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-24 00:41:24 +00:00
Giovanni Maruzzelli
ed49550460 skypiax: avoid memory leaks and overhead by reusing the same audiothreads spawned with first call (they no more exit at call end)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14594 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-22 06:14:38 +00:00
Giovanni Maruzzelli
ff295194b8 skypiax: MODSKYPIAX-48 manage interface_status==CALLFLOW_STATUS_REMOTEHOLD when getting hupall
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14577 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-20 10:21:49 +00:00
Giovanni Maruzzelli
f4167d727f skypiax: patch from Seven Du: channel naming when using 'RR' and 'ANY' interfaces, interface statistics 'sk list' totals
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14576 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-20 09:30:29 +00:00
Giovanni Maruzzelli
24c732a9c1 skypiax: interface_state=UP when remote goes from earlymedia->inprogress
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14575 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-20 09:03:27 +00:00
Giovanni Maruzzelli
6fb1ab0cfd skypiax: better printk 'signature' from custom snd-dummy ALSA driver
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14570 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-19 16:08:26 +00:00
Giovanni Maruzzelli
d8f0754765 skypiax: kernel/config* naming
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14569 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-19 14:25:46 +00:00
Giovanni Maruzzelli
974c06bbab skypiax: kernel/config* naming
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14568 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-19 14:25:13 +00:00
Giovanni Maruzzelli
30cb51eee8 skypiax: kernel README correction
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14567 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-19 13:45:51 +00:00
Giovanni Maruzzelli
9b93b1dc8b skypiax: added files in mod_skypiax/kernel/ directory, eg: how to make a kernel for centos
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14566 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-19 13:42:46 +00:00
Giovanni Maruzzelli
1582200142 skypiax: indent
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14534 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-15 15:38:46 +00:00
Giovanni Maruzzelli
e3095522c2 skypiax: more stability, no dangling channels, MODSKYPIAX-42, added 'sk list' statistics (thanks Seven Du) MODENDP-236
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14533 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-15 15:37:44 +00:00
Giovanni Maruzzelli
f32e37990d skypiax: compile on windoz, not yet tested
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14521 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-14 21:00:02 +00:00
Giovanni Maruzzelli
f11f9aab52 skypiax: cosmetics
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14519 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-14 17:20:42 +00:00
Giovanni Maruzzelli
f1134fdd5b skypiax: indent
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14518 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-14 17:14:40 +00:00
Giovanni Maruzzelli
fd2bf49b7c skypiax: ubermegapatch, more stability, robustness, scalability. Memory leaks not yet investigated, we'll do next
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14517 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-14 17:12:09 +00:00
Michael Jerris
55bfb7d55a fix windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14458 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-04 20:17:47 +00:00
Giovanni Maruzzelli
4c88f9cf00 skypiax: better MODSKYPIAX-42
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14454 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-01 12:27:19 +00:00
Giovanni Maruzzelli
b9280a2158 skypiax: MODSKYPIAX-42
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14453 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-01 12:22:45 +00:00
Giovanni Maruzzelli
9f5552524e skypiax: indented
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14446 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-01 03:41:58 +00:00
Giovanni Maruzzelli
49ce35823e skypiax: close the pipes when shutdown the module. Thx anthm
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14445 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-01 03:36:01 +00:00
Anthony Minessale
1c3978a4e7 MODSKYPIAX-35 (part1)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14444 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-01 02:47:35 +00:00
Michael Jerris
9b1f190bac fix msvc code analysis warnings (multiple null deref bugs.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14440 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-31 19:29:39 +00:00
Michael Jerris
27e823839a add mod_skypiax to 2008 express build and fix release build linking
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14439 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-31 19:14:56 +00:00
Giovanni Maruzzelli
fe1cdabb0b skypiax: reviewed locking of globals, added lock on outbound interface selection and call, revamped 'RR' IDLE interface selection
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14437 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-31 07:17:08 +00:00
Giovanni Maruzzelli
5284180a4b skypiax: changed skypiax.conf.xml to be less confusing (now interface_name != skype_username)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14421 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-29 20:38:58 +00:00
Giovanni Maruzzelli
4476386ecc skypiax: README now redirects to wiki page
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14420 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-29 20:13:46 +00:00
Giovanni Maruzzelli
45f38f17eb skypiax: switch_xml_free() the configuration if module failed to load, because otherwise reloadxml will stuck forever (reported by Seven Du)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14415 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-29 18:32:33 +00:00
Giovanni Maruzzelli
1296896264 skypiax: now interprets correctly the_interface whichever it is: interface_id, interface_name, skype_username. And reload works too :-)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14414 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-29 15:43:04 +00:00
Giovanni Maruzzelli
19bb4d410a skypiax: patch from Carlos Talbot, interface is a reserved word on Windows VC++
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14413 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-29 15:14:06 +00:00
Giovanni Maruzzelli
0bb1b8c7d7 skypiax: cosmetics
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14412 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-29 11:46:23 +00:00
Giovanni Maruzzelli
e929cd96a0 skypiax: fixed crash when you set an interface as 'sk' console, then remove the interface, then use the 'sk' command to send a message to the API (it try to use a non-existing interface)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14411 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-29 11:07:46 +00:00
Giovanni Maruzzelli
506d3768a1 skypiax: patch from Seven Du for hunting IDLE channels in a round-robin way (RR interface vs ANY interface). patch from Seven Du for removing interface as #'interface_id' and #'interface_name'. gmaruzz (meh) patch interface_remove() not to alter the global 'running' variable (it would cause all running signaling and API thread to exit) but to use a newly added tech_pvt->running variable. Also, changed behavior of interface_exists() for correct identification when using #interface_name and #interface_id. PLEASE TEST IT HEAVILY
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14410 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-29 09:08:31 +00:00
Giovanni Maruzzelli
d6f9544be3 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@14375 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-27 15:56:07 +00:00
Giovanni Maruzzelli
44875f02c4 skypiax: cosmetics
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14374 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-27 15:51:03 +00:00
Giovanni Maruzzelli
49d14d9934 skypiax: manage the 'WAITING_REDIAL_COMMAND' call status message (skypeout: remote PSTN party has rejected us, our outbound call is failed)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14372 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-27 13:12:12 +00:00
Giovanni Maruzzelli
f9003db784 skypiax: manage the 'BUSY' call status message (skypeout: remote PSTN party is busy, our outbound call is failed)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14371 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-27 12:53:06 +00:00
Giovanni Maruzzelli
ff1ae27a9d skypiax: compiles and run (very well indeed, very short latency) on Windoz
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14370 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-27 09:37:06 +00:00
Giovanni Maruzzelli
708391a12d skypiax: let's drain the audiopipe to empty, each time we read from it. This avoid accumulation of unread samples in the pipe buffer (was cause of delays?). Anyway, now latency is lower. Let's check if it breaks on windoz
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14369 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-27 09:08:28 +00:00
Giovanni Maruzzelli
d3ea1130c1 skypiax: patch from Muhammad Shahzad for adding and removing interfaces on the fly: It basically adds two sk commands, sk reload => this re-reads Skypiax configuration file skypiax.conf.xml and adds ONLY new interfaces it found in conf. All existing interfaces are not touched. sk remove <skype-user> => this remove skypiax interface associated with given Skype user account, if it is idle.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14367 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-26 23:45:27 +00:00
Giovanni Maruzzelli
e0fbc0c343 skypiax: fixed Visual Studio project, now compiles on Release too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14363 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-25 20:36:08 +00:00
Giovanni Maruzzelli
b5260cab3e Oooops!
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14360 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-25 15:28:25 +00:00