<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>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.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>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.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Regards<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Michael Collins<br>
<b><span style='font-weight:bold'>Sent:</span></b> 13 June 2009 21:57<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">freeswitch-users@lists.freeswitch.org</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Freeswitch-users]
mod_php needed</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>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:<br>
<br>
<a href="http://wiki.freeswitch.org/wiki/PHP_Event_Socket">http://wiki.freeswitch.org/wiki/PHP_Event_Socket</a><br>
<a href="http://wiki.freeswitch.org/wiki/Event_Socket">http://wiki.freeswitch.org/wiki/Event_Socket</a><br>
<br>
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:<br>
<br>
<a href="http://wiki.freeswitch.org/wiki/Mod_lua">http://wiki.freeswitch.org/wiki/Mod_lua</a><br>
<br>
Come join us on IRC (#freeswitch on <a href="http://irc.freenode.net">irc.freenode.net</a>)
if you want to discuss this further.<br>
<br>
-MC (IRC: mercutioviz)<br>
<br>
<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>2009/6/13 Christian Löschenkohl <<a
href="mailto:christian.loeschenkohl@xpirio.com">christian.loeschenkohl@xpirio.com</a>><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>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
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 system
with provisioning,<br>
inbound call routing to our application servers, some tests as pbx), but 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 the
functional state<br>
of mod_perl (<a
href="http://wiki.freeswitch.org/wiki/Mod_perl_functions_and_classes"
target="_blank">http://wiki.freeswitch.org/wiki/Mod_perl_functions_and_classes</a>).<br>
there is also a bounty entry about mod_php, to pay for this would also be an
option and<br>
could be discussed.<br>
<br>
keep on with the excellent work and greetings from <st1:country-region w:st="on"><st1:place
w:st="on">austria</st1:place></st1:country-region><br>
<br>
--<br>
Ing. Christian Löschenkohl<br>
Technische Leitung, Forschung& Entwicklung VoIP<br>
<br>
xpirio<br>
Telekommunikation& Service GmbH<br>
<st1:place w:st="on">Lakeside</st1:place> B04<br>
9020 <st1:City w:st="on"><st1:place w:st="on">Klagenfurt</st1:place></st1:City><br>
<st1:country-region w:st="on"><st1:place w:st="on">Austria</st1:place></st1:country-region><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">christian.loeschenkohl@xpirio.com</a><br>
<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><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>