[Freeswitch-dev] Skype interaction commands on skypiax

dujinfang dujinfang at gmail.com
Thu Apr 2 05:21:37 PDT 2009


Greate Giovanni. I compiled 12835 a few days ago, now I just found the  
commands are just there. :)

It works well for me, however, I would like to see some other commands  
like this:

sk detach skypiax1 #by name
sk attach skypiax1
sk detach 1 #by id
sk attach 1
sk reattach/restart 1

so it is possible to restart one skype instance and re-attach to  
freeswitch if it run into problem. There's a jira related to skypiax  
still not assigned to you: http://jira.freeswitch.org/browse/MODENDP-208

Another feature, in addition to  the ANY interface, can you add  
another interface RR which would do a round robin select on call out?  
I had though to implement it because I think it must be need a mutex  
to avoid race condition.

It would be a good feature and you know the other day my 3rd skype  
instance run into problem so I cannot do more than 2 calls by using  
the ANY interface, but if there is a RR interface, only one call will  
cause problem on one loop without affecting the others.

Thanks a lot :)

On Apr 2, 2009, at 4:35 PM, Giovanni Maruzzelli wrote:

> 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 ;-).
>
>
> 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-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org




More information about the Freeswitch-dev mailing list