Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Skype interaction commands on skypiax


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
gmaruzz at celliax.org
Guest





PostPosted: Thu Apr 02, 2009 3:43 am    Post subject: [Freeswitch-users] Skype interaction commands on skypiax Reply with quote

Hi all,

background:
mod_skypiax is Skype compatible endpoint that allows incoming and
outbound calls to/from the Skype network and SkypeOut service. It's
seen by FS like other endpoints, so you can originate from sofia,
bridge to skypiax, and connect the call to a landline number via
SkypeOut service, for eg.
skypiax endpoint use a Skype client to interact with the Skype network
(see the wiki page for more details
http://wiki.freeswitch.org/wiki/Skypiax).

The news are:
now you can send commands to the skype client related to a skyiax
interface, both from the FS command line and programmatically
(socket/API/esl/whatever)
http://wiki.freeswitch.org/wiki/Skypiax#API_and_CLI_Commands

This allow you to use directly the entire power of the Skype API (
https://developer.skype.com/Docs/ApiDoc ), for eg to send chat
messages, interact with the buddy list, etc etc.
Typing "console loglevel 9" at the FS command line allows you to see
the Skype API answers from the Skype client instance.

So, in short: you bring loglevel to 9 (so you can see the Skype API
messages going back and forth), you use "sk" or "skypiax" to send
Skype API commands to the Skype client instance.

This way you can prototype extensions to the current mod_skypiax, that
can then be implemented in C directly into the mod_skypiax source
code.

Please, let me know of extensions you would like to be integrated into
the mod_skypiax code Wink.


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

_______________________________________________
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
Back to top
mbrancaleoni at voisma...
Guest





PostPosted: Tue Apr 07, 2009 3:24 am    Post subject: [Freeswitch-users] Skype interaction commands on skypiax Reply with quote

Ciao Giovanni,

I suggest to update the startskype.sh script by adding a "su username" statement,
in this way:

instead of starting skype as

echo "myskypeuser xxx" | DISPLAY=:101 /usr/bin/skype --pipelogin &

is better to do:

su unixusername -c "echo 'myskypeuser xxx' | DISPLAY=:101 /usr/bin/skype --pipelogin &"

for two reason:
you can easily put config into a non-root user
AND
the startskype.sh will work also if called from init.

in fact, a plain

echo "myskypeuser xxx" | DISPLAY=:101 /usr/bin/skype --pipelogin &

will not work when called from init script,
you have to do (even with root)

su root -c "echo 'myskypeuser xxx' | DISPLAY=:101 /usr/bin/skype --pipelogin &"

in any other way skype will not get the user home directory...

This is my 2c experience on centos 5.2.

regards,
matteo.

_______________________________________________
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
Back to top
gmaruzz at celliax.org
Guest





PostPosted: Tue Apr 07, 2009 11:56 am    Post subject: [Freeswitch-users] Skype interaction commands on skypiax Reply with quote

svn commit -m"skypiax: modified configs/startskype.sh to specify which
unix user will start the Skype client instance. Thx to
mbrancaleoni@voismart.it"
Sending configs/startskype.sh
Transmitting file data .
Committed revision 12937.

Smile

On Tue, Apr 7, 2009 at 10:13 AM, Matteo <mbrancaleoni@voismart.it> wrote:
Quote:
Ciao Giovanni,

I suggest to update the startskype.sh script by adding a "su username" statement,
in this way:

instead of starting skype as

echo "myskypeuser xxx" | DISPLAY=:101 /usr/bin/skype --pipelogin &

is better to do:

su unixusername -c "echo 'myskypeuser xxx' | DISPLAY=:101 /usr/bin/skype --pipelogin &"

for two reason:
you can easily put config into a non-root user
AND
the startskype.sh will work also if called from init.

in fact, a plain

echo "myskypeuser xxx" | DISPLAY=:101 /usr/bin/skype --pipelogin &

will not work when called from init script,
you have to do (even with root)

su root -c "echo 'myskypeuser xxx' | DISPLAY=:101 /usr/bin/skype --pipelogin &"

in any other way skype will not get the user home directory...

This is my 2c experience on centos 5.2.

regards,
matteo.

_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services