Skypiax (Skype Network endpoint) for FreeSWITCH
Hello FreeSWITCHers, mod_skypiax is available for testing, feature requests, bug hunting. I would like to ask the help of you all to make Skypiax robust and feature full on FreeSWITCH, and particularly of Massimo Cetra (CtRiX on IRC), that has developed mod_airpe (another Skype endpoint). I've written a first documentation on Skypiax installation and usage at: http://wiki.freeswitch.org/wiki/Skypiax and there is a Jira module at: http://jira.freeswitch.org/browse/MODSKYPIAX So, please, test the software, edit the wiki page both for style and content, file bug reports and feature requests. FreeSWITCH is now the platform of first development for me, so the FreeSWITCH part of Skypiax is more tested (if any) and the code is more readable compared to the Asterisk part where lot of legacy from my other projects clutter the code. But Skypiax strive to be available as a Skype compatible endpoint for all the opensource telephony community, and in the near time the Asterisk part will be cleaned much more, and documented. As you will see, the code is made by skypiax_protocol.c (the interaction with Skype client), mod_skypiax.c (the interaction with FreeSWITCH), chan_skypiax.c (the interaction with Asterisk). Please consider me available for all infos, clarifications, discussions, etc. I would like to thanks all the peoples that helped me via mail and IRC (so bad to have different timezones, isn't?), the *very early adopters*, the testers, the patchers, and you all. Particularly Anthony Minessale, Michael Jerris, Brian West, Michael Collins, Ken Rice, Seven Du, Clif Cox, Hristo Trendev, Rehan Allah Wala, Jason Garland and Antonio Gallo.
From the wiki page (http://wiki.freeswitch.org/wiki/Skypiax):
WHAT IS SKYPIAX This software (Skypiax) uses the Skype API but is not endorsed, certified or otherwise approved in any way by Skype. Skypiax is an endpoint (channel driver) that uses the Skype client as an interface to the Skype network, and allows incoming and outgoing Skype calls to/from FreeSWITCH (that can be bridged, originated, answered, etc. as in all other endpoints, e.g. sofia/SIP). Skypiax works in FreeSWITCH (FS) on both Linux and Windows, at both 8khz and 16khz (Skype client has 16khz audio I/O). Skypiax works on Asterisk too, at 8khz, on Linux and Windows (through CygWin). Think of Skypiax as similar to OpenZAP for analog lines. For each channel you need an interface (a Skype client). So, for example, two concurrent calls would need two channels, and therefor two Skype clients running on your FreeSWITCH server. If your Skype client(s) have Skype credits, then Skypiax works for SkypeOut calls as well. Sincerely, Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039 On Thu, Jan 15, 2009 at 6:39 PM, Giovanni Maruzzelli <gmaruzz@celliax.org> wrote:
Hi FreeSWITCH developers
I would like to propose to the community my plans, so we can discuss and coordinate efforts.
I developed a couple of channel drivers for Asterisk in the past (works on both Linux and Windows), and I would like to port them to FS and further enhance them.
The two endpoints are: - Skypiax, Skype compatible, makes and receives calls to/from Skype network and Skypeout service, using the Skype client as interface. - Celliax, GSM and SMS endpoint, makes and receives voice calls and SMSs to/from the GSM/CDMA network, using second hand cellphones and/or embedded professional devices as interfaces
My aims are:
a) port both endpoints from Asterisk to FreeSWITCH b) have both endpoints continue to support at least Linux and Windows on FS c) I would like better having most of the endpoints code working for both FreeSWITCH and Asterisk, maintaining separated the code that interface with the GSM and Skype network, from the code that interface with the core.
Skypiax, the skype compatible endpoint, is a fork of celliax, the GSM endpoint, and they share the same skeleton and logic, so porting celliax after having ported skypiax will be easier and faster :-).
Current situation and next steps: 1) skypiax (http://wiki.freeswitch.org/wiki/Skypiax) is now available for testing and debugging, needs to be polished and cleaned 2) starting mid next week (I'll be back in office), I want to integrate into skypiax the code and ideas from mod_airpe of Massimo (ctrix), that has developed an alternative Skype compatible module, and coordinate any future development with him and any other interested developer 3) begin the porting of celliax to FS, aiming at a pre-beta release for Linux and Windows during February. 4) coordinate further development of celliax with any other developer interested in GSM, SMSs, CDMA, IDEN, AT commands, FBUS commands, embedded devices, audio sampling
I am gmaruzz on #freeswitch and #freeswitch-dev, you can find more info at www.celliax.org.
Sincerely,
Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039
Giovannia, great work on mod_skypiax. I've been testing it under Windows and it sounds great including PSTN calls. I plan to include it as part of the Windows MSI build. One question I have, is ringback suppose to work with mod_skypiax? Whenever I dial a number I get a few seconds of dead air before the call is answered. I've tried adding ringback and transfer_ringback into the dialplan just before the bridge command but no go. Am I missing something? Thanks. regards, Carlos
Thats one I think Anthm will need to chime in on... maybe skypiax isn't sending the right indications to cause the core to trigger the ringback. /b On Feb 18, 2009, at 8:53 PM, Carlos Talbot wrote:
Giovannia,
great work on mod_skypiax. I've been testing it under Windows and it sounds great including PSTN calls. I plan to include it as part of the Windows MSI build.
One question I have, is ringback suppose to work with mod_skypiax? Whenever I dial a number I get a few seconds of dead air before the call is answered. I've tried adding ringback and transfer_ringback into the dialplan just before the bridge command but no go. Am I missing something? Thanks.
regards,
Carlos
On Wed, Feb 18, 2009 at 6:57 PM, Brian West <brian@freeswitch.org> wrote:
Thats one I think Anthm will need to chime in on... maybe skypiax isn't sending the right indications to cause the core to trigger the ringback.
/b
Out of curiosity, you might try this trick: <action application="set" data="instant_ringback=true"/> See also: http://wiki.freeswitch.org/wiki/Channel_Variables#instant_ringback I'm curious to know how that works with your setup. -MC
That did it! I had to add both lines below in order for it to work: <action application="set" data="instant_ringback=true"/> <action application="set" data="ringback=${us-ring}"/> Now, suppose I call a number that's busy...do I hear a ringback followed by a busy signal? On Wed, Feb 18, 2009 at 11:39 PM, Michael Collins <msc@freeswitch.org>wrote:
On Wed, Feb 18, 2009 at 6:57 PM, Brian West <brian@freeswitch.org> wrote:
Thats one I think Anthm will need to chime in on... maybe skypiax isn't sending the right indications to cause the core to trigger the ringback.
/b
Out of curiosity, you might try this trick: <action application="set" data="instant_ringback=true"/> See also: http://wiki.freeswitch.org/wiki/Channel_Variables#instant_ringback
I'm curious to know how that works with your setup. -MC
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Carlos, Maybe the solution Michael is suggesting could work. For sure you are not missing anything' Brian is right: rimgback and early media are to be added to skypiax. They're on the TODO section of the wiki :-) I'll be all day at a customer's premise, I'll add it this evening, late afternoon for you. Would be *very* nice to have skypiax in MSI, thank you! On 2/19/09, Michael Collins <msc@freeswitch.org> wrote:
On Wed, Feb 18, 2009 at 6:57 PM, Brian West <brian@freeswitch.org> wrote:
Thats one I think Anthm will need to chime in on... maybe skypiax isn't sending the right indications to cause the core to trigger the ringback.
/b
Out of curiosity, you might try this trick: <action application="set" data="instant_ringback=true"/> See also: http://wiki.freeswitch.org/wiki/Channel_Variables#instant_ringback
I'm curious to know how that works with your setup. -MC
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sent from my mobile device Sincerely, Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039
It has to be in trunk to be in the MSI... I don't want to cause confusion ... Now that 1.0.3 is tagged we can put it in trunk? /b On Feb 19, 2009, at 12:07 AM, Giovanni Maruzzelli wrote:
Would be *very* nice to have skypiax in MSI, thank you!
Yes, I'd like it in trunk. There are still some rough edges, but I'll iron out in the trunk. Sincerely, Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039 On Thu, Feb 19, 2009 at 7:52 AM, Brian West <brian@freeswitch.org> wrote:
It has to be in trunk to be in the MSI... I don't want to cause confusion ... Now that 1.0.3 is tagged we can put it in trunk?
/b
On Feb 19, 2009, at 12:07 AM, Giovanni Maruzzelli wrote:
Would be *very* nice to have skypiax in MSI, thank you!
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Thu, Feb 19, 2009 at 3:53 AM, Carlos Talbot <carlos.talbot@gmail.com> wrote:
One question I have, is ringback suppose to work with mod_skypiax? Whenever I dial a number I get a few seconds of dead air before the call is answered. I've tried adding ringback and transfer_ringback into the dialplan just before the bridge command but no go. Am I missing something? Thanks.
Carlos, ringback now works without tricks, and Skypiax is in trunk. Both remote ringing and early media are treated as remote ringing right now (eg: no early media, just ringing). I'll add early media support in the near future. Thanks a lot for testing and exercising skypiax, and please let me know any hint, suggestion, feature request, etc Sincerely, Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039 On Thu, Feb 19, 2009 at 3:53 AM, Carlos Talbot <carlos.talbot@gmail.com> wrote:
Giovannia,
great work on mod_skypiax. I've been testing it under Windows and it sounds great including PSTN calls. I plan to include it as part of the Windows MSI build.
One question I have, is ringback suppose to work with mod_skypiax? Whenever I dial a number I get a few seconds of dead air before the call is answered. I've tried adding ringback and transfer_ringback into the dialplan just before the bridge command but no go. Am I missing something? Thanks.
regards,
Carlos
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thanks Giovanni. Were you planning to check in the sample skype.conf.xml into the default FreeSWITCH conf folder? If so, just be aware the default config causes freeswitch to hang right after a "load mod_skypiax" (if you do not have skype running or specify a nonexistant skype user). regards, Carlos On Thu, Feb 19, 2009 at 7:32 PM, Giovanni Maruzzelli <gmaruzz@celliax.org>wrote:
On Thu, Feb 19, 2009 at 3:53 AM, Carlos Talbot <carlos.talbot@gmail.com> wrote:
One question I have, is ringback suppose to work with mod_skypiax? Whenever I dial a number I get a few seconds of dead air before the call is answered. I've tried adding ringback and transfer_ringback into the dialplan just before the bridge command but no go. Am I missing something? Thanks.
Carlos,
ringback now works without tricks, and Skypiax is in trunk.
Both remote ringing and early media are treated as remote ringing right now (eg: no early media, just ringing).
I'll add early media support in the near future.
Thanks a lot for testing and exercising skypiax, and please let me know any hint, suggestion, feature request, etc
Sincerely,
Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039
On Thu, Feb 19, 2009 at 3:53 AM, Carlos Talbot <carlos.talbot@gmail.com> wrote:
Giovannia,
great work on mod_skypiax. I've been testing it under Windows and it sounds great including PSTN calls. I plan to include it as part of the Windows MSI build.
One question I have, is ringback suppose to work with mod_skypiax? Whenever I dial a number I get a few seconds of dead air before the call is answered. I've tried adding ringback and transfer_ringback into the dialplan just before the bridge command but no go. Am I missing something? Thanks.
regards,
Carlos
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Mon, Feb 23, 2009 at 5:26 PM, Carlos Talbot <carlos.talbot@gmail.com> wrote:
Were you planning to check in the sample skype.conf.xml into the default FreeSWITCH conf folder? If so, just be aware the default config causes freeswitch to hang right after a "load mod_skypiax" (if you do not have skype running or specify a nonexistant skype user).
Carlos, many thanks for reporting! I'll fix this this evening, if you have time to file a Jira for it would be wonderful. ciao for now, giovanni
regards,
Carlos On Thu, Feb 19, 2009 at 7:32 PM, Giovanni Maruzzelli <gmaruzz@celliax.org> wrote:
On Thu, Feb 19, 2009 at 3:53 AM, Carlos Talbot <carlos.talbot@gmail.com> wrote:
One question I have, is ringback suppose to work with mod_skypiax? Whenever I dial a number I get a few seconds of dead air before the call is answered. I've tried adding ringback and transfer_ringback into the dialplan just before the bridge command but no go. Am I missing something? Thanks.
Carlos,
ringback now works without tricks, and Skypiax is in trunk.
Both remote ringing and early media are treated as remote ringing right now (eg: no early media, just ringing).
I'll add early media support in the near future.
Thanks a lot for testing and exercising skypiax, and please let me know any hint, suggestion, feature request, etc
Sincerely,
Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039
On Thu, Feb 19, 2009 at 3:53 AM, Carlos Talbot <carlos.talbot@gmail.com> wrote:
Giovannia,
great work on mod_skypiax. I've been testing it under Windows and it sounds great including PSTN calls. I plan to include it as part of the Windows MSI build.
One question I have, is ringback suppose to work with mod_skypiax? Whenever I dial a number I get a few seconds of dead air before the call is answered. I've tried adding ringback and transfer_ringback into the dialplan just before the bridge command but no go. Am I missing something? Thanks.
regards,
Carlos
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (4)
-
Brian West
-
Carlos Talbot
-
Giovanni Maruzzelli
-
Michael Collins