2009/12/15 Anthony Minessale <anthony.miness...@gmail.com> > you need to get the fd number of stdin however you do it in sdp and pass it > as the constructor to the esl obj > > It's work. Thanks. but i found PHP not good for this case. PHP need more resource. LUA look better. Now i'm testing by mod_lua but i plan to mover LUA work with outbound socket. but not found about lua outbounf socket in WIKI
Best Regards. Dome C. > > > On Sun, Dec 13, 2009 at 8:41 PM, Dome Charoenyost <d...@tel.co.th> wrote: > >> Dear All, >> Now i use php for ESL outbound. i get variable from stdin and >> process. (i use xinetd for handle socket) >> $in = fopen("php://stdin", "r"); >> Problem is when i use read command for get input from DTMF. i >> can't get variable. So now i use 2 php script. and use read appliction in >> XML DIalplan for solve this problem. >> I plan to use php handle socket like a perl in >> http://svn.freeswitch.org/svn/freeswitch/trunk/libs/esl/perl/server2.pl >> But i want to know how PHP work like this example ? >> >> my $host = $new_sock->sockhost(); >> >> my $fd = fileno($new_sock); >> my $con = new ESL::ESLconnection($fd); >> >> my $info = $con->getInfo(); >> >> >> Can someoue help me ? >> >> >> Best Regards. >> >> Dome C. >> >> >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users@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_miness...@hotmail.com <msn%3aanthony_miness...@hotmail.com> > GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com<paypal%3aanthony.miness...@gmail.com> > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:8...@conference.freeswitch.org <sip%3a...@conference.freeswitch.org> > iax:gu...@conference.freeswitch.org/888 > googletalk:conf+...@conference.freeswitch.org<googletalk%3aconf%2b...@conference.freeswitch.org> > pstn:213-799-1400 > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > >
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org