[Freeswitch-users] NEW skypopen installer and easy Skype client download, Skype calls on FreeSWITCH in one minute
zohair raza
engineerzuhairraza at gmail.com
Sun May 1 23:12:08 MSD 2011
Wow That is great Sir,
i would like to add how i am passing caller id
i am using xml curl and in my php file i added this :
<?php
$calld = $_REQUEST['Caller-Destination-Number'];
$cally =str_replace("skype3439","",$calld) ; ( I am sending skype id like
'skype3439remoteskypeid' so here i am removing skype3439)
$callsk = $_REQUEST['Caller-Caller-ID-Number'];
$zr= ' api_result=${skypopen(interface1 MESSAGE '.$cally.' (mp) Call from
'.$callsk.')}';
header("Content-type: text/xml");
$response = "
<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>
<document type=\"freeswitch/xml\">
<section name=\"dialplan\" description=\"example_curl_dialplan\">
<context name=\"public\">
<extension name=\"skype\">
<condition field=\"destination_number\"
expression=\"^skype3439(.*)$\">
<action application=\"set\" data=\"skype_get_inband_dtmf=false\"/>
<action application=\"set\" data=\"$zr\"/>
<action application=\"set\" data=\"instant_ringback=true\"/>
<action application=\"bridge\" data=\"skypopen/RR/$1\"/>
</condition>
</extension>
</context>
</section>
</document>
";
echo $response;
exit;
?>
This way caller id will be sent before the call as a skype chat message
which will only work if remoteskypeid has added the skype id which you are
using, otherwise it won't work.
On Sat, Apr 30, 2011 at 1:31 PM, Giovanni Maruzzelli <gmaruzz at gmail.com>wrote:
> Dear FreeSWITCHers,
>
> after a fair amount of effort, I ended up with a new way to install
> and use mod_skypopen on Linux.
>
> No more looking around the internet for the lost 2.0.0.72 Skype client for
> ALSA.
>
> First, we can use the readily available Skype client for OSS.
>
> (added benefit: no more need for ALSA driver. I wrote skypopen.ko OSS
> driver, that's very easy to compile and install, and do not need to
> mess with the operating system installation.)
>
> Second, I wrote an installer that automatically do all the tedious
> work for you: download and install the skype client, create the config
> directory for Skype clients, create the config file for mod_skypopen,
> create the script that launches the Skype clients.
>
> I hope those improvements will lower the barriers for Skype calls on
> FreeSWITCH.
>
> Actually is ludicrously simple now, and after you compile FreeSWITCH,
> mod_skypopen and the skypopen.ko OSS driver it will take like less
> than one minute to have a complete installation of mod_skypopen ready
> to make and receive calls.
>
> All automatic, no more need to fiddle around with the Skype client
> download, configurations, authorization, etc.
>
> Is all well tested, but maybe there are still some bugs, and maybe the
> docs are not clear/easy enough.
>
> Please have a look at the new and improved wiki page and let me know
> what do you think about (and maybe test the procedures).
>
> http://wiki.freeswitch.org/wiki/Mod_skypopen_Skype_Endpoint_and_Trunk
> http://wiki.freeswitch.org/wiki/Mod_skypopen_Skype_Endpoint_and_Trunk#Linux
>
> http://wiki.freeswitch.org/wiki/Mod_skypopen_Skype_Endpoint_and_Trunk#Interactive_INSTALLER_and_CONFIGURATOR
>
> You must update to the latest git to have all the goodies.
>
> Thank you all for your support,
>
> -giovanni
>
> --
> Sincerely,
>
> Giovanni Maruzzelli
> Cell : +39-347-2665618
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
--
Regards,
Zohair Raza
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110502/67479d69/attachment.html
More information about the FreeSWITCH-users
mailing list