116 Commits

Author SHA1 Message Date
Giovanni Maruzzelli
67464ea79e skypiax: lower load by bigger TCP buffer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15635 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-23 22:22:15 +00:00
Giovanni Maruzzelli
b5435e918e skypiax: do not add delay when a sleep() or play() are executed by a script after answer() and before sending audio. MODSKYPIAX-29 MODSKYPIAX-58
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15585 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-20 23:46:45 +00:00
Anthony Minessale
2fa0c4910f refactor enterprise_originate
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15565 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-20 02:17:08 +00:00
Giovanni Maruzzelli
8e40f02891 skypiax: no more pipes for audio samples exchange between threads. Let's hope it does not breaks things around. Only other possible cause of audio delay is socket buffering. We'll check that too.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15541 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-19 14:20:53 +00:00
Giovanni Maruzzelli
a0e2b9a4fe skypiax: ooops, this is the correct /usr/src/freeswitch.trunk/src/mod/endpoints/mod_skypiax/kernel/dummy.c.skypiax
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15539 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-19 02:28:03 +00:00
Giovanni Maruzzelli
aebc2c7580 skypiax: updated /usr/src/freeswitch.trunk/src/mod/endpoints/mod_skypiax/kernel dummy.c
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15538 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-19 02:01:28 +00:00
Jeff Lenk
5314971b8c MODENDP-245 BIGENDIAN Windows Bug
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15410 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-10 17:28:39 +00:00
Giovanni Maruzzelli
b47f1f9348 skypiax: commented out 'XCloseDisplay' lines, seems to cause crashes...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15344 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-04 10:45:46 +00:00
Giovanni Maruzzelli
a697216119 skypiax: added 'report_incoming_chatmessages' configuration file per_interface setting. To activate it, put its value to '1' or 'true', any other value will be 'false'. Defualts to 'true'
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15343 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-04 09:52:55 +00:00
Giovanni Maruzzelli
5a16fd1cce skypiax: added one more 'PROTOCOL 7' command, because windows was not getting it. Now CHATMESSAGES will probably work on windows too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15342 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-04 09:06:25 +00:00
Giovanni Maruzzelli
f2fdcf6b6f skypiax: when sending a chatmessage, do not report it as an incoming message (eg: do not report the messages sent by myself)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15327 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-03 00:52:52 +00:00
Giovanni Maruzzelli
5f3d2ab2ff skypiax: corrected wrong interface name in 'default' dialplan
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15215 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-23 17:27:42 +00:00
Anthony Minessale
df7637f687 change switch_strlen_zero to zstr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-23 16:03:42 +00:00
Giovanni Maruzzelli
9a462e96a7 skypiax: usleep -> switch_sleep, thanks tusc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14890 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-16 20:28:48 +00:00
Giovanni Maruzzelli
82170c5f31 skypiax: now outbound chatmessages follow the standard path, you can send them with: chat,<proto>|<from>|<to>|<message> or with: skypiax_chat,<interfacename> <to> <text>. First form is the standard, will pick the first interface connected to the skypeusername 'from'. Second form is skypiax specific, let you choose which interface the message will be sent from (and implicitly the skypeusername [each interface is connected to one skypeusername - possibly many interfaces to the same skypeusername]
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14884 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-16 15:35:10 +00:00
Giovanni Maruzzelli
b01c665654 skypiax: now incoming CHATMESSAGE is transformed into a MESSAGE event, and sent to the ESL (fired) and, if we are in a call (if the session exists) is sent to the session too (from where you can get it eg: with inputcallbacks methods)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14876 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-15 19:41:22 +00:00
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