[Freeswitch-users] mod_php needed

Nik Middleton nik.middleton at noblesolutions.co.uk
Sat Jun 13 16:15:53 PDT 2009


I couldn't agree more.  We're working with a group that are developing a massive PHP based music application.  They are experts in PHP and MySQL but not in VOIP/Telephony.  By tuning an abstraction layer that uses PHP to communicate with the FS event socket, allows them to work on the areas they know best and not worry about the telephony side too much.  We went the lua route, and don't use the dial plan at all.  My view is to keep all db access and processing out of FS as much as possible. With the event socket you simply don't need to embed anything apart from the essentials.

 

We are now processing 100,000+ call setups a day (4 hours) per server all using php scripts to drive the application.  We may well ultimately use C++ instead of PHP for the event socket comms, but right now PHP does just fine.

 

 

Regards

 

 

________________________________

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Collins
Sent: 13 June 2009 21:57
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] mod_php needed

 

Perhaps you should look at controlling calls via the FreeSWITCH event socket instead of from the dialplan. The nice thing about the event socket is that your call control can happen on a separate machine. There is a PHP module for the ESL (event socket library) and it would be relatively easy for you to get going. Here are some links to get you started:

http://wiki.freeswitch.org/wiki/PHP_Event_Socket
http://wiki.freeswitch.org/wiki/Event_Socket

If you absolutely MUST have call control with scripts inside of the dialplan then there simply is no better choice than Lua. You can learn Lua in a few hours, but getting mod_php finished and debugged will take time, money, and other resources that no one seems willing to spend. Here is some information to consider:

http://wiki.freeswitch.org/wiki/Mod_lua

Come join us on IRC (#freeswitch on irc.freenode.net) if you want to discuss this further.

-MC (IRC: mercutioviz)



2009/6/13 Christian Löschenkohl <christian.loeschenkohl at xpirio.com>

hello

i am working for an austrian voip carrier.
for a few months i work with freeswitch and it is simply great.
it solves our needs in many places (high volume, flexible, stable).
the only thing i really miss is the avalibilty of php as a call control language.
mod_php or mod_freehp are not compiling anymore and my c++ knowledge isn't
that good (or even there :-) ).
i know there is perl, i also implemented some applications (conference system with provisioning,
inbound call routing to our application servers, some tests as pbx), but what should i say -
perl and me aren't compatible in the end.

the greatest thing for us would be that mod_php comes alive again with the functional state
of mod_perl (http://wiki.freeswitch.org/wiki/Mod_perl_functions_and_classes).
there is also a bounty entry about mod_php, to pay for this would also be an option and
could be discussed.

keep on with the excellent work and greetings from austria

--
Ing. Christian Löschenkohl
Technische Leitung, Forschung&  Entwicklung VoIP

xpirio
Telekommunikation&  Service GmbH
Lakeside B04
9020 Klagenfurt
Austria

T  +43 (0) 5 77 11 - 1000
F  +43 (0) 5 77 11 - 1002
E  christian.loeschenkohl at xpirio.com


_______________________________________________
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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090614/2cd4e41f/attachment-0002.html 


More information about the FreeSWITCH-users mailing list