<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">Wow That is great Sir, <div>
<br></div><div>i would like to add how i am passing caller id </div><div><div><br></div><div>i am using xml curl and in my php file i added this :</div><div><br></div><div><div><?php</div></div><div><br></div><div><div>
$calld = $_REQUEST['Caller-Destination-Number'];</div><div> $cally =str_replace("skype3439","",$calld) ; ( I am sending skype id like 'skype3439remoteskypeid' so here i am removing skype3439)</div>
<div> $callsk = $_REQUEST['Caller-Caller-ID-Number'];</div><div><div> $zr= ' api_result=${skypopen(interface1 MESSAGE '.$cally.' (mp) Call from '.$callsk.')}';</div></div><div><br></div>
<div><div>header("Content-type: text/xml");</div></div><div><div>$response = "</div><div><?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?></div><div><document type=\"freeswitch/xml\"></div>
<div> <section name=\"dialplan\" description=\"example_curl_dialplan\"></div><div> <context name=\"public\"></div></div><div><br></div><div> <extension name=\"skype\"></div>
<div> <condition field=\"destination_number\" expression=\"^skype3439(.*)$\"></div><div> <action application=\"set\" data=\"skype_get_inband_dtmf=false\"/></div>
<div> <action application=\"set\" data=\"$zr\"/> </div><div> <action application=\"set\" data=\"instant_ringback=true\"/></div><div> <action application=\"bridge\" data=\"skypopen/RR/$1\"/> </div>
<div> </condition></div><div> </extension></div><div><br></div><div><div> </context></div><div> </section></div><div></document></div><div>";</div></div><div><div>echo $response;</div>
</div><div><div>exit;</div></div><div>?></div><div><br></div><div><br></div><div>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. <br>
</div></div></div></span></span><br><br><div class="gmail_quote">On Sat, Apr 30, 2011 at 1:31 PM, Giovanni Maruzzelli <span dir="ltr"><<a href="mailto:gmaruzz@gmail.com">gmaruzz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Dear FreeSWITCHers,<br>
<br>
after a fair amount of effort, I ended up with a new way to install<br>
and use mod_skypopen on Linux.<br>
<br>
No more looking around the internet for the lost 2.0.0.72 Skype client for ALSA.<br>
<br>
First, we can use the readily available Skype client for OSS.<br>
<br>
(added benefit: no more need for ALSA driver. I wrote skypopen.ko OSS<br>
driver, that's very easy to compile and install, and do not need to<br>
mess with the operating system installation.)<br>
<br>
Second, I wrote an installer that automatically do all the tedious<br>
work for you: download and install the skype client, create the config<br>
directory for Skype clients, create the config file for mod_skypopen,<br>
create the script that launches the Skype clients.<br>
<br>
I hope those improvements will lower the barriers for Skype calls on FreeSWITCH.<br>
<br>
Actually is ludicrously simple now, and after you compile FreeSWITCH,<br>
mod_skypopen and the skypopen.ko OSS driver it will take like less<br>
than one minute to have a complete installation of mod_skypopen ready<br>
to make and receive calls.<br>
<br>
All automatic, no more need to fiddle around with the Skype client<br>
download, configurations, authorization, etc.<br>
<br>
Is all well tested, but maybe there are still some bugs, and maybe the<br>
docs are not clear/easy enough.<br>
<br>
Please have a look at the new and improved wiki page and let me know<br>
what do you think about (and maybe test the procedures).<br>
<br>
<a href="http://wiki.freeswitch.org/wiki/Mod_skypopen_Skype_Endpoint_and_Trunk" target="_blank">http://wiki.freeswitch.org/wiki/Mod_skypopen_Skype_Endpoint_and_Trunk</a><br>
<a href="http://wiki.freeswitch.org/wiki/Mod_skypopen_Skype_Endpoint_and_Trunk#Linux" target="_blank">http://wiki.freeswitch.org/wiki/Mod_skypopen_Skype_Endpoint_and_Trunk#Linux</a><br>
<a href="http://wiki.freeswitch.org/wiki/Mod_skypopen_Skype_Endpoint_and_Trunk#Interactive_INSTALLER_and_CONFIGURATOR" target="_blank">http://wiki.freeswitch.org/wiki/Mod_skypopen_Skype_Endpoint_and_Trunk#Interactive_INSTALLER_and_CONFIGURATOR</a><br>
<br>
You must update to the latest git to have all the goodies.<br>
<br>
Thank you all for your support,<br>
<br>
-giovanni<br>
<br>
--<br>
Sincerely,<br>
<br>
Giovanni Maruzzelli<br>
Cell : <a href="tel:%2B39-347-2665618" value="+393472665618">+39-347-2665618</a><br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Zohair Raza<br><br>