<html><body bgcolor="#FFFFFF"><div>Anthm,</div><div><br class="webkit-block-placeholder"></div><div>I actually compiled ESL on PHP but wasnt able to figure out how to use it, too little documentation. Can any one throw more light on ESL?<br><br>Regards,<div>Mitul Limbani,</div><div>Founder & CEO,</div><div>Enterux Solutions Pvt Ltd,</div><div>The Enterprise Linux Company(r),</div><div><a href="http://www.enterux.com/">http://www.enterux.com/</a></div><div><br class="webkit-block-placeholder"></div></div><div><br>On 15-Jun-09, at 19:29, Anthony Minessale <<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>Did you actually use ESL with the php wrapper when you tried?<br>You can do all those things from outbound event socket fairly easily.<br><br>That mod_php you saw, never worked it was just a stub and it didn't actually ever work<br>
when the guy who added it totally disappeared, I removed it from tree.<br><br>And you can still do event socket over localhost on the same box if you so choose.<br><br>If you really want a mod_php it's entirely possible but it would probably cost you upwards<br>
of 5k in development costs.<br><br><br><div class="gmail_quote">2009/6/15 Christian Löschenkohl <span dir="ltr"><<a href="mailto:christian.loeschenkohl@xpirio.com"><a href="mailto:christian.loeschenkohl@xpirio.com">christian.loeschenkohl@xpirio.com</a></a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi<br>
<br>
thank you very much for your input<br>
i can say for me that i realy tried hard to use the event socket library,<br>
but untill now i can't use it like i used all the agi scripts or even mod_perl now.<br>
<br>
what i do most - in examples, if the server get's an incomming call<br>
<br>
- find the right user for the number (not that easy because of did in austria),<br>
from database or file<br>
- build the right dial string for the bridge application (here i miss all the php<br>
string functions most)<br>
- unsing mod_php functions like setVariable, getVariable, answer, transfer, sleep<br>
(i don't see how to do this with the php esl)<br>
- or i check if the number is part of a conferencing product and build the right<br>
conference setup<br>
<br>
i think this would also be possible with lua and luasql, but i developed years with<br>
phpagi und i'm very used to php in every kind of scripting or how-to-get-a-solution<br>
situation (since over 10 years now).<br>
<br>
for me in our setup it's also the highest goal to get the servers mostly independent<br>
of each other. i think nobody of our costumers should be unreachable because a central<br>
scripting/event server or also database server has gone away (as developers this happens<br>
more often as we would like it to :-))<br>
<br>
do not get me wrong, freeswitch is very powerfull and in the near future it will replace<br>
nearly all of our asterisk servers.<br>
<br>
in combination with php the freeswitch plattform would be heaven for me<br>
<br>
i also thought Brian Fertig has some source written (as posted on <a href="http://wiki.freeswitch.org/wiki/Mod_php" target="_blank"><a href="http://wiki.freeswitch.org/wiki/Mod_php">http://wiki.freeswitch.org/wiki/Mod_php</a></a>),<br>
in combination of the mod_python rewrite (page was last modified in june 2007).<br>
<br>
br<br>
<div><div></div><div class="h5"><br>
<br>
On 2009-06-14 01:15, Nik Middleton wrote:<br>
> I couldn’t agree more. We’re working with a group that are developing a<br>
> massive PHP based music application. They are experts in PHP and MySQL<br>
> but not in VOIP/Telephony. By tuning an abstraction layer that uses PHP<br>
> to communicate with the FS event socket, allows them to work on the<br>
> areas they know best and not worry about the telephony side too much.<br>
> We went the lua route, and don’t use the dial plan at all. My view is<br>
> to keep all db access and processing out of FS as much as possible. With<br>
> the event socket you simply don’t need to embed anything apart from the<br>
> essentials.<br>
><br>
> We are now processing 100,000+ call setups a day (4 hours) per server<br>
> all using php scripts to drive the application. We may well ultimately<br>
> use C++ instead of PHP for the event socket comms, but right now PHP<br>
> does just fine.<br>
><br>
> Regards<br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> *From:* <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org"><a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a></a><br>
> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org"><a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a></a>] *On Behalf Of<br>
> *Michael Collins<br>
> *Sent:* 13 June 2009 21:57<br>
> *To:* <a href="mailto:freeswitch-users@lists.freeswitch.org"><a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a></a><br>
> *Subject:* Re: [Freeswitch-users] mod_php needed<br>
><br>
> Perhaps you should look at controlling calls via the FreeSWITCH event<br>
> socket instead of from the dialplan. The nice thing about the event<br>
> socket is that your call control can happen on a separate machine. There<br>
> is a PHP module for the ESL (event socket library) and it would be<br>
> relatively easy for you to get going. Here are some links to get you<br>
> started:<br>
><br>
> <a href="http://wiki.freeswitch.org/wiki/PHP_Event_Socket" target="_blank"><a href="http://wiki.freeswitch.org/wiki/PHP_Event_Socket">http://wiki.freeswitch.org/wiki/PHP_Event_Socket</a></a><br>
> <a href="http://wiki.freeswitch.org/wiki/Event_Socket" target="_blank"><a href="http://wiki.freeswitch.org/wiki/Event_Socket">http://wiki.freeswitch.org/wiki/Event_Socket</a></a><br>
><br>
> If you absolutely MUST have call control with scripts inside of the<br>
> dialplan then there simply is no better choice than Lua. You can learn<br>
> Lua in a few hours, but getting mod_php finished and debugged will take<br>
> time, money, and other resources that no one seems willing to spend.<br>
> Here is some information to consider:<br>
><br>
> <a href="http://wiki.freeswitch.org/wiki/Mod_lua" target="_blank"><a href="http://wiki.freeswitch.org/wiki/Mod_lua">http://wiki.freeswitch.org/wiki/Mod_lua</a></a><br>
><br>
> Come join us on IRC (#freeswitch on <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a><br>
</div></div>> <<a href="http://irc.freenode.net" target="_blank"><a href="http://irc.freenode.net">http://irc.freenode.net</a></a>>) if you want to discuss this further.<br>
<div class="im">><br>
> -MC (IRC: mercutioviz)<br>
><br>
> 2009/6/13 Christian Löschenkohl <<a href="mailto:christian.loeschenkohl@xpirio.com"><a href="mailto:christian.loeschenkohl@xpirio.com">christian.loeschenkohl@xpirio.com</a></a><br>
</div>> <mailto:<a href="mailto:christian.loeschenkohl@xpirio.com"><a href="mailto:christian.loeschenkohl@xpirio.com">christian.loeschenkohl@xpirio.com</a></a>>><br>
<div><div></div><div class="h5">><br>
> hello<br>
><br>
> i am working for an austrian voip carrier.<br>
> for a few months i work with freeswitch and it is simply great.<br>
> it solves our needs in many places (high volume, flexible, stable).<br>
> the only thing i really miss is the avalibilty of php as a call control<br>
> language.<br>
> mod_php or mod_freehp are not compiling anymore and my c++ knowledge isn't<br>
> that good (or even there :-) ).<br>
> i know there is perl, i also implemented some applications (conference<br>
> system with provisioning,<br>
> inbound call routing to our application servers, some tests as pbx), but<br>
> what should i say -<br>
> perl and me aren't compatible in the end.<br>
><br>
> the greatest thing for us would be that mod_php comes alive again with<br>
> the functional state<br>
> of mod_perl<br>
> (<a href="http://wiki.freeswitch.org/wiki/Mod_perl_functions_and_classes" target="_blank"><a href="http://wiki.freeswitch.org/wiki/Mod_perl_functions_and_classes">http://wiki.freeswitch.org/wiki/Mod_perl_functions_and_classes</a></a>).<br>
> there is also a bounty entry about mod_php, to pay for this would also<br>
> be an option and<br>
> could be discussed.<br>
><br>
> keep on with the excellent work and greetings from austria<br>
><br>
> --<br>
> Ing. Christian Löschenkohl<br>
> Technische Leitung, Forschung& Entwicklung VoIP<br>
><br>
> xpirio<br>
> Telekommunikation& Service GmbH<br>
> Lakeside B04<br>
> 9020 Klagenfurt<br>
> Austria<br>
><br>
> T +43 (0) 5 77 11 - 1000<br>
> F +43 (0) 5 77 11 - 1002<br>
> E <a href="mailto:christian.loeschenkohl@xpirio.com"><a href="mailto:christian.loeschenkohl@xpirio.com">christian.loeschenkohl@xpirio.com</a></a><br>
</div></div>> <mailto:<a href="mailto:christian.loeschenkohl@xpirio.com"><a href="mailto:christian.loeschenkohl@xpirio.com">christian.loeschenkohl@xpirio.com</a></a>><br>
<div class="im">><br>
><br>
> _______________________________________________<br>
> Freeswitch-users mailing list<br>
> <a href="mailto:Freeswitch-users@lists.freeswitch.org"><a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a></a><br>
</div>> <mailto:<a href="mailto:Freeswitch-users@lists.freeswitch.org"><a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a></a>><br>
<div class="im">> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br>
> <a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>
><br>
><br>
</div>> ------------------------------------------------------------------------<br>
<div class="im">><br>
> _______________________________________________<br>
> Freeswitch-users mailing list<br>
> <a href="mailto:Freeswitch-users@lists.freeswitch.org"><a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a></a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br>
> <a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>
<br>
</div>--<br>
<div><div></div><div class="h5">Ing. Christian Löschenkohl<br>
Technische Leitung, Forschung & Entwicklung VoIP<br>
<br>
xpirio<br>
Telekommunikation & Service GmbH<br>
Lakeside B04<br>
9020 Klagenfurt<br>
Austria<br>
<br>
T +43 (0) 5 77 11 - 1000<br>
F +43 (0) 5 77 11 - 1002<br>
E <a href="mailto:christian.loeschenkohl@xpirio.com"><a href="mailto:christian.loeschenkohl@xpirio.com">christian.loeschenkohl@xpirio.com</a></a><br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org"><a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a></a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br>
<a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/"><a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a></a><br>ClueCon <a href="http://www.cluecon.com/"><a href="http://www.cluecon.com/">http://www.cluecon.com/</a></a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:<a href="mailto:anthony_minessale@hotmail.com">anthony_minessale@hotmail.com</a></a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a></a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:<a href="mailto:888@conference.freeswitch.org">888@conference.freeswitch.org</a></a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:<a href="mailto:guest@conference.freeswitch.org">guest@conference.freeswitch.org</a>/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:<a href="mailto:conf+888@conference.freeswitch.org">conf+888@conference.freeswitch.org</a></a><br>pstn:213-799-1400<br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Freeswitch-users mailing list</span><br><span><a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>