[Freeswitch-users] ESL, phpmod
Anthony Minessale
anthony.minessale at gmail.com
Fri Jun 18 12:12:50 PDT 2010
if php does not let you get the raw file descriptor from a socket, I will
actually make an extra effort to make fun of them for being silly to take
such an important thing away from a programmer. I am going to stick to the
hope that they are not that foolish.
maybe you can make your own binary php module to do it =p
On Fri, Jun 18, 2010 at 1:55 PM, Helmut Kuper <helmut.kuper at ewetel.de>wrote:
> Hi Anthony,
>
> yes, understand. Well, I've searched a few hours for a way to get it,
> but I found no - at least not in my centos standard php installation and
> not in Google. I found some hints (or requests) about dio_rawfd() there,
> but it seems such a function doesn't exists.
>
> If you or any other here have an idea where to look except adapting the
> code I would like to know it. You are right saying patching
> autogenerated code is a bad idea. But this is the only way I found so
> far. Maybe
>
>
> regards
> helmut
>
> Am 18.06.2010 19:08, schrieb Anthony Minessale:
> > That's unacceptable. you cannot patch a generated swig file.
> >
> > you need to learn what function in php gives you the raw file descriptor
> > number from your socket and pass that to the constructor as required.
> >
> > The whole time your problem is that you don't know how to do this in PHP
> > so you should stop looking in the code and just find the php method of a
> > socket object to product the real file descriptor.
>
> _______________________________________________
> 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
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100618/bd238b2c/attachment.html
More information about the FreeSWITCH-users
mailing list