[Freeswitch-users] ESL, phpmod
Helmut Kuper
helmut.kuper at ewetel.de
Fri Jun 18 11:55:51 PDT 2010
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.
More information about the FreeSWITCH-users
mailing list