Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] ESL Wrapper


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
mrene_lists at avgs.ca
Guest





PostPosted: Wed Feb 25, 2009 2:41 pm    Post subject: [Freeswitch-users] ESL Wrapper Reply with quote

FreeSWITCH will listen on a socket allowing clients to send commands /
receive events.
ESL is a library to ease the creation of applications connecting to
that socket.

To install the php ESL module, cd into libs/esl and type "make phpmod"

A sample php file is included in the libs/esl/php directory.

Mathieu

On 25-Feb-09, at 1:42 PM, Rex Alex wrote:

Quote:

Hi All,

I am new to freeswitch but installed(freeswitch version 1.0.3),
configured and tested successfully. Now I want to do the dialling
funtions through a php script. Read about Event Socket Library(ESL).
How to implement the same in freeswitch.

Please assist.

Thanks,
Rex




_______________________________________________
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
Back to top
rex.alex345 at yahoo.com
Guest





PostPosted: Wed Feb 25, 2009 2:42 pm    Post subject: [Freeswitch-users] ESL Wrapper Reply with quote

Hi All,

I am new to freeswitch but installed(freeswitch version 1.0.3), configured and tested successfully. Now I want to do the dialling funtions through a php script. Read about Event Socket Library(ESL). How to implement the same in freeswitch.

Please assist.

Thanks,
Rex




_______________________________________________
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Wed Feb 25, 2009 2:43 pm    Post subject: [Freeswitch-users] ESL Wrapper Reply with quote

If he's on 1.0.3 I don't think it has php in it..

/b

On Feb 25, 2009, at 1:31 PM, Mathieu Rene wrote:

Quote:
FreeSWITCH will listen on a socket allowing clients to send commands /
receive events.
ESL is a library to ease the creation of applications connecting to
that socket.

To install the php ESL module, cd into libs/esl and type "make phpmod"

A sample php file is included in the libs/esl/php directory.

Mathieu


_______________________________________________
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
Back to top
msc at freeswitch.org
Guest





PostPosted: Wed Feb 25, 2009 4:55 pm    Post subject: [Freeswitch-users] ESL Wrapper Reply with quote

On Wed, Feb 25, 2009 at 11:34 AM, Brian West <brian@freeswitch.org> wrote:
Quote:
If he's on 1.0.3 I don't think it has php in it..

Can't he do the whole bootstrap process?
svn up && ./bootstrap.sh && ./configure && make install

And then do Mathieu's suggestion?

-MC

_______________________________________________
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
Back to top
rex.alex345 at yahoo.com
Guest





PostPosted: Thu Feb 26, 2009 6:37 am    Post subject: [Freeswitch-users] ESL Wrapper Reply with quote

Hi All, I tried svn up && ./bootstrap.sh && ./configure && make install and did Mathieu's suggestion but getting error as below, [root@server esl]# make phpmod make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x" CFLAGS="-I/root/freeswitch-1.0.3/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2 -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes" CXXFLAGS="-I/root/freeswitch-1.0.3/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC" CXX_CFLAGS="" -C php make[1]: php-config: Command not found make[1]: Entering directory `/root/freeswitch-1.0.3/libs/esl/php' g++ -I/root/freeswitch-1.0.3/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -c esl_wrap.cpp -o esl_wrap.o esl_wrap.cpp:717:18: error: zend.h: No such file or directory esl_wrap.cpp:718:22: error: zend_API.h: No such file or directory esl_wrap.cpp:719:17: error: php.h: No such file or directory esl_wrap.cpp:973:21: error: php_ini.h: No such file or directory esl_wrap.cpp:974:31: error: ext/standard/info.h: No such file or directory esl_wrap.cpp:767: error: âE_ERRORâ was not declared in this scope esl_wrap.cpp:788: error: ISO C++ forbids declaration of âZEND_RSRC_DTOR_FUNCâ with no type esl_wrap.cpp:788: error: âSWIG_landfillâ was not declared in this scope esl_wrap.cpp:788: error: expected â,â or â;â before â{â token esl_wrap.cpp:793: error: variable or field âSWIG_ZTS_SetPointerZvalâ declared void esl_wrap.cpp:793: error: âzvalâ was not declared in this scope esl_wrap.cpp:793: error: âzâ was not declared in this scope esl_wrap.cpp:793: error: expected primary-expression before âvoidâ esl_wrap.cpp:793: error: expected primary-expression before â*â token esl_wrap.cpp:793: error: âtypeâ was not declared in this scope esl_wrap.cpp:793: error: expected primary-expression before âintâ esl_wrap.cpp:793: error: initializer expression list treated as compound expression esl_wrap.cpp:793: error: expected â,â or â;â before â{â token make[1]: *** [esl_wrap.o] Error 1 make[1]: Leaving directory `/root/freeswitch-1.0.3/libs/esl/php' make: *** [phpmod] Error 2 [root@server esl]# Please tell me where am i wrong? Thanks, Rex
Quote:
mercutioviz wrote:
On Wed, Feb 25, 2009 at 11:34 AM, Brian West wrote: > If he's on 1.0.3 I don't think it has php in it.. Can't he do the whole bootstrap process? svn up && ./bootstrap.sh && ./configure && make install And then do Mathieu's suggestion? -MC _______________________________________________ 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


View this message in context: Re: ESL Wrapper
Sent from the freeswitch-users mailing list archive at Nabble.com.
Back to top
mrene_lists at avgs.ca
Guest





PostPosted: Thu Feb 26, 2009 9:00 am    Post subject: [Freeswitch-users] ESL Wrapper Reply with quote

You need your distro's php dev pakage.
On 26-Feb-09, at 6:25 AM, Rex_Alex wrote:
Quote:
Hi All, I tried svn up && ./bootstrap.sh && ./configure && make install and did Mathieu's suggestion but getting error as below, [root@server esl]# make phpmod make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x" CFLAGS="-I/root/freeswitch-1.0.3/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2 -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes" CXXFLAGS="-I/root/freeswitch-1.0.3/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC" CXX_CFLAGS="" -C php make[1]: php-config: Command not found make[1]: Entering directory `/root/freeswitch-1.0.3/libs/esl/php' g++ -I/root/freeswitch-1.0.3/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -c esl_wrap.cpp -o esl_wrap.o esl_wrap.cpp:717:18: error: zend.h: No such file or directory esl_wrap.cpp:718:22: error: zend_API.h: No such file or directory esl_wrap.cpp:719:17: error: php.h: No such file or directory esl_wrap.cpp:973:21: error: php_ini.h: No such file or directory esl_wrap.cpp:974:31: error: ext/standard/info.h: No such file or directory esl_wrap.cpp:767: error: âE_ERRORâ was not declared in this scope esl_wrap.cpp:788: error: ISO C++ forbids declaration of âZEND_RSRC_DTOR_FUNCâ with no type esl_wrap.cpp:788: error: âSWIG_landfillâ was not declared in this scope esl_wrap.cpp:788: error: expected â,â or â;â before â{â token esl_wrap.cpp:793: error: variable or field âSWIG_ZTS_SetPointerZvalâ declared void esl_wrap.cpp:793: error: âzvalâ was not declared in this scope esl_wrap.cpp:793: error: âzâ was not declared in this scope esl_wrap.cpp:793: error: expected primary-expression before âvoidâ esl_wrap.cpp:793: error: expected primary-expression before â*â token esl_wrap.cpp:793: error: âtypeâ was not declared in this scope esl_wrap.cpp:793: error: expected primary-expression before âintâ esl_wrap.cpp:793: error: initializer expression list treated as compound expression esl_wrap.cpp:793: error: expected â,â or â;â before â{â token make[1]: *** [esl_wrap.o] Error 1 make[1]: Leaving directory `/root/freeswitch-1.0.3/libs/esl/php' make: *** [phpmod] Error 2 [root@server esl]# Please tell me where am i wrong? Thanks, Rex
Quote:
mercutioviz wrote:
On Wed, Feb 25, 2009 at 11:34 AM, Brian West wrote: > If he's on 1.0.3 I don't think it has php in it.. Can't he do the whole bootstrap process? svn up && ./bootstrap.sh && ./configure && make install And then do Mathieu's suggestion? -MC _______________________________________________ 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


View this message in context: Re: ESL Wrapper
Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
Back to top
intralanman at freeswi...
Guest





PostPosted: Thu Feb 26, 2009 1:52 pm    Post subject: [Freeswitch-users] ESL Wrapper Reply with quote

and it will probably be a good idea to do
make phpmod-install
so that the .so and .php files gets into the correct place to be included

-Ray

Mathieu Rene wrote:
Quote:

You need your distro's php dev pakage.
On 26-Feb-09, at 6:25 AM, Rex_Alex wrote:
Quote:
Hi All, I tried svn up && ./bootstrap.sh && ./configure && make install and did Mathieu's suggestion but getting error as below, [root@server esl]# make phpmod make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x" CFLAGS="-I/root/freeswitch-1.0.3/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2 -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes" CXXFLAGS="-I/root/freeswitch-1.0.3/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC" CXX_CFLAGS="" -C php make[1]: php-config: Command not found make[1]: Entering directory `/root/freeswitch-1.0.3/libs/esl/php' g++ -I/root/freeswitch-1.0.3/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -c esl_wrap.cpp -o esl_wrap.o esl_wrap.cpp:717:18: error: zend.h: No such file or directory esl_wrap.cpp:718:22: error: zend_API.h: No such file or directory esl_wrap.cpp:719:17: error: php.h: No such file or directory esl_wrap.cpp:973:21: error: php_ini.h: No such file or directory esl_wrap.cpp:974:31: error: ext/standard/info.h: No such file or directory esl_wrap.cpp:767: error: âE_ERRORâ was not declared in this scope esl_wrap.cpp:788: error: ISO C++ forbids declaration of âZEND_RSRC_DTOR_FUNCâ with no type esl_wrap.cpp:788: error: âSWIG_landfillâ was not declared in this scope esl_wrap.cpp:788: error: expected â,â or â;â before â{â token esl_wrap.cpp:793: error: variable or field âSWIG_ZTS_SetPointerZvalâ declared void esl_wrap.cpp:793: error: âzvalâ was not declared in this scope esl_wrap.cpp:793: error: âzâ was not declared in this scope esl_wrap.cpp:793: error: expected primary-expression before âvoidâ esl_wrap.cpp:793: error: expected primary-expression before â*â token esl_wrap.cpp:793: error: âtypeâ was not declared in this scope esl_wrap.cpp:793: error: expected primary-expression before âintâ esl_wrap.cpp:793: error: initializer expression list treated as compound expression esl_wrap.cpp:793: error: expected â,â or â;â before â{â token make[1]: *** [esl_wrap.o] Error 1 make[1]: Leaving directory `/root/freeswitch-1.0.3/libs/esl/php' make: *** [phpmod] Error 2 [root@server esl]# Please tell me where am i wrong? Thanks, Rex
Quote:
mercutioviz wrote:
On Wed, Feb 25, 2009 at 11:34 AM, Brian West wrote: > If he's on 1.0.3 I don't think it has php in it.. Can't he do the whole bootstrap process? svn up && ./bootstrap.sh && ./configure && make install And then do Mathieu's suggestion? -MC _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org (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


View this message in context: Re: ESL Wrapper
Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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
Back to top
rex.alex345 at yahoo.com
Guest





PostPosted: Thu Feb 26, 2009 2:01 pm    Post subject: [Freeswitch-users] ESL Wrapper Reply with quote

Hi Mathieu,

But other php scripts are working fine. Only when I am tring
Single_Command.php with ESP.php, it's not working.

Rex.

Mathieu Rene wrote:
Quote:


You need your distro's php dev pakage.
On 26-Feb-09, at 6:25 AM, Rex_Alex wrote:

Quote:
Hi All, I tried svn up && ./bootstrap.sh && ./configure && make
install and did Mathieu's suggestion but getting error as below,
[root@server esl]# make phpmod make MYLIB="../libesl.a" SOLINK="-
shared -Xlinker -x" CFLAGS="-I/root/freeswitch-1.0.3/libs/esl/src/
include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2
-ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-
prototypes -Wmissing-prototypes" CXXFLAGS="-I/root/freeswitch-1.0.3/
libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/
src/ -fPIC" CXX_CFLAGS="" -C php make[1]: php-config: Command not
found make[1]: Entering directory `/root/freeswitch-1.0.3/libs/esl/
php' g++ -I/root/freeswitch-1.0.3/libs/esl/src/include -
DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -c
esl_wrap.cpp -o esl_wrap.o esl_wrap.cpp:717:18: error: zend.h: No
such file or directory esl_wrap.cpp:718:22: error: zend_API.h: No
such file or directory esl_wrap.cpp:719:17: error: php.h: No such
file or directory esl_wrap.cpp:973:21: error: php_ini.h: No such
file or directory esl_wrap.cpp:974:31: error: ext/standard/info.h:
No such file or directory esl_wrap.cpp:767: error: âE_ERRORâ was not
declared in this scope esl_wrap.cpp:788: error: ISO C++ forbids
declaration of âZEND_RSRC_DTOR_FUNCâ with no type esl_wrap.cpp:788:
error: âSWIG_landfillâ was not declared in this scope esl_wrap.cpp:
788: error: expected â,â or â;â before â{â token esl_wrap.cpp:793:
error: variable or field âSWIG_ZTS_SetPointerZvalâ declared void
esl_wrap.cpp:793: error: âzvalâ was not declared in this scope
esl_wrap.cpp:793: error: âzâ was not declared in this scope
esl_wrap.cpp:793: error: expected primary-expression before âvoidâ
esl_wrap.cpp:793: error: expected primary-expression before â*â
token esl_wrap.cpp:793: error: âtypeâ was not declared in this scope
esl_wrap.cpp:793: error: expected primary-expression before âintâ
esl_wrap.cpp:793: error: initializer expression list treated as
compound expression esl_wrap.cpp:793: error: expected â,â or â;â
before â{â token make[1]: *** [esl_wrap.o] Error 1 make[1]: Leaving
directory `/root/freeswitch-1.0.3/libs/esl/php' make: *** [phpmod]
Error 2 [root@server esl]# Please tell me where am i wrong? Thanks,
Rex
mercutioviz wrote:
On Wed, Feb 25, 2009 at 11:34 AM, Brian West wrote: > If he's on
1.0.3 I don't think it has php in it.. Can't he do the whole
bootstrap process? svn up && ./bootstrap.sh && ./configure && make
install And then do Mathieu's suggestion? -MC
_______________________________________________ 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

View this message in context: Re: ESL Wrapper
Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
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



--
View this message in context: http://n2.nabble.com/ESL-Wrapper-tp2385651p2391480.html
Sent from the freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
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
Back to top
msc at freeswitch.org
Guest





PostPosted: Thu Feb 26, 2009 2:15 pm    Post subject: [Freeswitch-users] ESL Wrapper Reply with quote

On Thu, Feb 26, 2009 at 10:51 AM, Rex_Alex <rex.alex345@yahoo.com> wrote:
Quote:

Hi Mathieu,

But other php scripts are working fine. Only when I am tring
Single_Command.php with ESP.php, it's not working.

Rex.


That may be true but the php-devel package is necessary for building
the ESL wrapper for php. The php-devel package is NOT necessary simply
to run most php scripts. What OS is it? If it's CentOS or similar then
you can just do this:
yum install -y php-devel

-MC

_______________________________________________
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
Back to top
anthony.minessale at g...
Guest





PostPosted: Thu Feb 26, 2009 2:21 pm    Post subject: [Freeswitch-users] ESL Wrapper Reply with quote

the esl php mod is a binary mod which must be compiled so it requires the devel add on for php


On Thu, Feb 26, 2009 at 12:51 PM, Rex_Alex <rex.alex345@yahoo.com (rex.alex345@yahoo.com)> wrote:
Quote:

Hi Mathieu,

But other php scripts are working fine. Only when I am tring
Single_Command.php with ESP.php, it's not working.

Rex.


Mathieu Rene wrote:
Quote:


You need your distro's php dev pakage.
On 26-Feb-09, at 6:25 AM, Rex_Alex wrote:

Quote:
Hi All, I tried svn up && ./bootstrap.sh && ./configure && make
install and did Mathieu's suggestion but getting error as below,
[root@server esl]# make phpmod make MYLIB="../libesl.a" SOLINK="-
shared -Xlinker -x" CFLAGS="-I/root/freeswitch-1.0.3/libs/esl/src/
include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2
-ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-
prototypes -Wmissing-prototypes" CXXFLAGS="-I/root/freeswitch-1.0.3/
libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/
src/ -fPIC" CXX_CFLAGS="" -C php make[1]: php-config: Command not
found make[1]: Entering directory `/root/freeswitch-1.0.3/libs/esl/
php' g++ -I/root/freeswitch-1.0.3/libs/esl/src/include -
DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -c
esl_wrap.cpp -o esl_wrap.o esl_wrap.cpp:717:18: error: zend.h: No
such file or directory esl_wrap.cpp:718:22: error: zend_API.h: No
such file or directory esl_wrap.cpp:719:17: error: php.h: No such
file or directory esl_wrap.cpp:973:21: error: php_ini.h: No such
file or directory esl_wrap.cpp:974:31: error: ext/standard/info.h:
No such file or directory esl_wrap.cpp:767: error: âE_ERRORâ was not
declared in this scope esl_wrap.cpp:788: error: ISO C++ forbids
declaration of âZEND_RSRC_DTOR_FUNCâ with no type esl_wrap.cpp:788:
error: âSWIG_landfillâ was not declared in this scope esl_wrap.cpp:
788: error: expected â,â or â;â before â{â token esl_wrap.cpp:793:
error: variable or field âSWIG_ZTS_SetPointerZvalâ declared void
esl_wrap.cpp:793: error: âzvalâ was not declared in this scope
esl_wrap.cpp:793: error: âzâ was not declared in this scope
esl_wrap.cpp:793: error: expected primary-expression before âvoidâ
esl_wrap.cpp:793: error: expected primary-expression before â*â
token esl_wrap.cpp:793: error: âtypeâ was not declared in this scope
esl_wrap.cpp:793: error: expected primary-expression before âintâ
esl_wrap.cpp:793: error: initializer expression list treated as
compound expression esl_wrap.cpp:793: error: expected â,â or â;â
before â{â token make[1]: *** [esl_wrap.o] Error 1 make[1]: Leaving
directory `/root/freeswitch-1.0.3/libs/esl/php' make: *** [phpmod]
Error 2 [root@server esl]# Please tell me where am i wrong? Thanks,
Rex
mercutioviz wrote:
On Wed, Feb 25, 2009 at 11:34 AM, Brian West wrote: > If he's on
1.0.3 I don't think it has php in it.. Can't he do the whole
bootstrap process? svn up && ./bootstrap.sh && ./configure && make
install And then do Mathieu's suggestion? -MC
_______________________________________________ Freeswitch-users
mailing list Freeswitch-users@lists.freeswitch.org (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

View this message in context: Re: ESL Wrapper
Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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




Quote:
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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



--

View this message in context: http://n2.nabble.com/ESL-Wrapper-tp2385651p2391480.html

Sent from the freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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/

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
rex.alex345 at yahoo.com
Guest





PostPosted: Thu Feb 26, 2009 2:34 pm    Post subject: [Freeswitch-users] ESL Wrapper Reply with quote

Hi,

Yea, you are right it's CentOS version 5.2. Let me try the same and then I
will reply you with status.

Thanks,
Rex.



mercutioviz wrote:
Quote:

On Thu, Feb 26, 2009 at 10:51 AM, Rex_Alex <rex.alex345@yahoo.com> wrote:
Quote:

Hi Mathieu,

But other php scripts are working fine. Only when I am tring
Single_Command.php with ESP.php, it's not working.

Rex.


That may be true but the php-devel package is necessary for building
the ESL wrapper for php. The php-devel package is NOT necessary simply
to run most php scripts. What OS is it? If it's CentOS or similar then
you can just do this:
yum install -y php-devel

-MC

_______________________________________________
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



--
View this message in context: http://n2.nabble.com/ESL-Wrapper-tp2385651p2391645.html
Sent from the freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
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
Back to top
rex.alex345 at yahoo.com
Guest





PostPosted: Fri Feb 27, 2009 8:23 am    Post subject: [Freeswitch-users] ESL Wrapper Reply with quote

Hi All, I did what you have all suggested. Now its working perfectly. Thanks a lot for all your assistance. Rex.
Quote:
Raymond Chandler wrote:
and it will probably be a good idea to do make phpmod-install so that the .so and .php files gets into the correct place to be included -Ray Mathieu Rene wrote: > > You need your distro's php dev pakage. > On 26-Feb-09, at 6:25 AM, Rex_Alex wrote: > >> Hi All, I tried svn up && ./bootstrap.sh && ./configure && make >> install and did Mathieu's suggestion but getting error as below, >> [root@server esl]# make phpmod make MYLIB="../libesl.a" >> SOLINK="-shared -Xlinker -x" >> CFLAGS="-I/root/freeswitch-1.0.3/libs/esl/src/include -DHAVE_EDITLINE >> -g -ggdb -I../../libs/libedit/src/ -fPIC -O2 -ffast-math -Wall >> -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes >> -Wmissing-prototypes" >> CXXFLAGS="-I/root/freeswitch-1.0.3/libs/esl/src/include >> -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC" >> CXX_CFLAGS="" -C php make[1]: php-config: Command not found make[1]: >> Entering directory `/root/freeswitch-1.0.3/libs/esl/php' g++ >> -I/root/freeswitch-1.0.3/libs/esl/src/include -DHAVE_EDITLINE -g >> -ggdb -I../../libs/libedit/src/ -fPIC -c esl_wrap.cpp -o esl_wrap.o >> esl_wrap.cpp:717:18: error: zend.h: No such file or directory >> esl_wrap.cpp:718:22: error: zend_API.h: No such file or directory >> esl_wrap.cpp:719:17: error: php.h: No such file or directory >> esl_wrap.cpp:973:21: error: php_ini.h: No such file or directory >> esl_wrap.cpp:974:31: error: ext/standard/info.h: No such file or >> directory esl_wrap.cpp:767: error: âE_ERRORâ was not declared in this >> scope esl_wrap.cpp:788: error: ISO C++ forbids declaration of >> âZEND_RSRC_DTOR_FUNCâ with no type esl_wrap.cpp:788: error: >> âSWIG_landfillâ was not declared in this scope esl_wrap.cpp:788: >> error: expected â,â or â;â before â{â token esl_wrap.cpp:793: error: >> variable or field âSWIG_ZTS_SetPointerZvalâ declared void >> esl_wrap.cpp:793: error: âzvalâ was not declared in this scope >> esl_wrap.cpp:793: error: âzâ was not declared in this scope >> esl_wrap.cpp:793: error: expected primary-expression before âvoidâ >> esl_wrap.cpp:793: error: expected primary-expression before â*â token >> esl_wrap.cpp:793: error: âtypeâ was not declared in this scope >> esl_wrap.cpp:793: error: expected primary-expression before âintâ >> esl_wrap.cpp:793: error: initializer expression list treated as >> compound expression esl_wrap.cpp:793: error: expected â,â or â;â >> before â{â token make[1]: *** [esl_wrap.o] Error 1 make[1]: Leaving >> directory `/root/freeswitch-1.0.3/libs/esl/php' make: *** [phpmod] >> Error 2 [root@server esl]# Please tell me where am i wrong? Thanks, Rex >> >> mercutioviz wrote: >> On Wed, Feb 25, 2009 at 11:34 AM, Brian West wrote: > If he's on >> 1.0.3 I don't think it has php in it.. Can't he do the whole >> bootstrap process? svn up && ./bootstrap.sh && ./configure && >> make install And then do Mathieu's suggestion? -MC >> _______________________________________________ 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 >> >> >> ------------------------------------------------------------------------ >> View this message in context: Re: ESL Wrapper >> >> Sent from the freeswitch-users mailing list archive >> at Nabble.com. >> _______________________________________________ >> 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 > _______________________________________________ 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


View this message in context: Re: ESL Wrapper
Sent from the freeswitch-users mailing list archive at Nabble.com.
Back to top
gopal2krishnan at gmai...
Guest





PostPosted: Mon Mar 02, 2009 4:39 am    Post subject: [Freeswitch-users] ESL Wrapper Reply with quote

Hi,

  Actually what is the difference between ESL in FS 1.0.3 and event socket in FS 1.0.2. Is the FS 1.0.3 ESL superior?

On Fri, Feb 27, 2009 at 6:43 PM, Rex_Alex <rex.alex345@yahoo.com (rex.alex345@yahoo.com)> wrote:
Quote:
Hi All, I did what you have all suggested. Now its working perfectly. Thanks a lot for all your assistance. Rex.
Quote:
Raymond Chandler wrote:
and it will probably be a good idea to do make phpmod-install so that the .so and .php files gets into the correct place to be included -Ray Mathieu Rene wrote: > > You need your distro's php dev pakage. > On 26-Feb-09, at 6:25 AM, Rex_Alex wrote: > >> Hi All, I tried svn up && ./bootstrap.sh && ./configure && make >> install and did Mathieu's suggestion but getting error as below, >> [root@server esl]# make phpmod make MYLIB="../libesl.a" >> SOLINK="-shared -Xlinker -x" >> CFLAGS="-I/root/freeswitch-1.0.3/libs/esl/src/include -DHAVE_EDITLINE >> -g -ggdb -I../../libs/libedit/src/ -fPIC -O2 -ffast-math -Wall >> -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes >> -Wmissing-prototypes" >> CXXFLAGS="-I/root/freeswitch-1.0.3/libs/esl/src/include >> -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC" >> CXX_CFLAGS="" -C php make[1]: php-config: Command not found make[1]: >> Entering directory `/root/freeswitch-1.0.3/libs/esl/php' g++ >> -I/root/freeswitch-1.0.3/libs/esl/src/include -DHAVE_EDITLINE -g >> -ggdb -I../../libs/libedit/src/ -fPIC -c esl_wrap.cpp -o esl_wrap.o >> esl_wrap.cpp:717:18: error: zend.h: No such file or directory >> esl_wrap.cpp:718:22: error: zend_API.h: No such file or directory >> esl_wrap.cpp:719:17: error: php.h: No such file or directory >> esl_wrap.cpp:973:21: error: php_ini.h: No such file or directory >> esl_wrap.cpp:974:31: error: ext/standard/info.h: No such file or >> directory esl_wrap.cpp:767: error: âE_ERRORâ was not declared in this >> scope esl_wrap.cpp:788: error: ISO C++ forbids declaration of >> âZEND_RSRC_DTOR_FUNCâ with no type esl_wrap.cpp:788: error: >> âSWIG_landfillâ was not declared in this scope esl_wrap.cpp:788: >> error: expected â,â or â;â before â{â token esl_wrap.cpp:793: error: >> variable or field âSWIG_ZTS_SetPointerZvalâ declared void >> esl_wrap.cpp:793: error: âzvalâ was not declared in this scope >> esl_wrap.cpp:793: error: âzâ was not declared in this scope >> esl_wrap.cpp:793: error: expected primary-expression before âvoidâ >> esl_wrap.cpp:793: error: expected primary-expression before â*â token >> esl_wrap.cpp:793: error: âtypeâ was not declared in this scope >> esl_wrap.cpp:793: error: expected primary-expression before âintâ >> esl_wrap.cpp:793: error: initializer expression list treated as >> compound expression esl_wrap.cpp:793: error: expected â,â or â;â >> before â{â token make[1]: *** [esl_wrap.o] Error 1 make[1]: Leaving >> directory `/root/freeswitch-1.0.3/libs/esl/php' make: *** [phpmod] >> Error 2 [root@server esl]# Please tell me where am i wrong? Thanks, Rex >> >> mercutioviz wrote: >> On Wed, Feb 25, 2009 at 11:34 AM, Brian West wrote: > If he's on >> 1.0.3 I don't think it has php in it.. Can't he do the whole >> bootstrap process? svn up && ./bootstrap.sh && ./configure && >> make install And then do Mathieu's suggestion? -MC >> _______________________________________________ Freeswitch-users >> mailing list Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org) >> Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org) >> >> Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org) > Freeswitch-users@lists.freeswitch.org (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



View this message in context: Re: ESL Wrapper
Sent from the freeswitch-users mailing list archive at Nabble.com.



_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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




--
Thank you  with regards,
Gopal,
PeopleTech Systems Private Limited
www.peopletech.co.in
Back to top
anthony.minessale at g...
Guest





PostPosted: Mon Mar 02, 2009 9:04 am    Post subject: [Freeswitch-users] ESL Wrapper Reply with quote

pardon?
ESL is just a client library for event socket to make it easier to make event socket apps.
ESL == Event Socket Library


On Mon, Mar 2, 2009 at 3:29 AM, Gopal krishnan <gopal2krishnan@gmail.com (gopal2krishnan@gmail.com)> wrote:
Quote:
Hi,

  Actually what is the difference between ESL in FS 1.0.3 and event socket in FS 1.0.2. Is the FS 1.0.3 ESL superior?


On Fri, Feb 27, 2009 at 6:43 PM, Rex_Alex <rex.alex345@yahoo.com (rex.alex345@yahoo.com)> wrote:


Quote:

Hi All, I did what you have all suggested. Now its working perfectly. Thanks a lot for all your assistance. Rex.
Quote:
Raymond Chandler wrote:
and it will probably be a good idea to do make phpmod-install so that the .so and .php files gets into the correct place to be included -Ray Mathieu Rene wrote: > > You need your distro's php dev pakage. > On 26-Feb-09, at 6:25 AM, Rex_Alex wrote: > >> Hi All, I tried svn up && ./bootstrap.sh && ./configure && make >> install and did Mathieu's suggestion but getting error as below, >> [root@server esl]# make phpmod make MYLIB="../libesl.a" >> SOLINK="-shared -Xlinker -x" >> CFLAGS="-I/root/freeswitch-1.0.3/libs/esl/src/include -DHAVE_EDITLINE >> -g -ggdb -I../../libs/libedit/src/ -fPIC -O2 -ffast-math -Wall >> -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes >> -Wmissing-prototypes" >> CXXFLAGS="-I/root/freeswitch-1.0.3/libs/esl/src/include >> -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC" >> CXX_CFLAGS="" -C php make[1]: php-config: Command not found make[1]: >> Entering directory `/root/freeswitch-1.0.3/libs/esl/php' g++ >> -I/root/freeswitch-1.0.3/libs/esl/src/include -DHAVE_EDITLINE -g >> -ggdb -I../../libs/libedit/src/ -fPIC -c esl_wrap.cpp -o esl_wrap.o >> esl_wrap.cpp:717:18: error: zend.h: No such file or directory >> esl_wrap.cpp:718:22: error: zend_API.h: No such file or directory >> esl_wrap.cpp:719:17: error: php.h: No such file or directory >> esl_wrap.cpp:973:21: error: php_ini.h: No such file or directory >> esl_wrap.cpp:974:31: error: ext/standard/info.h: No such file or >> directory esl_wrap.cpp:767: error: âE_ERRORâ was not declared in this >> scope esl_wrap.cpp:788: error: ISO C++ forbids declaration of >> âZEND_RSRC_DTOR_FUNCâ with no type esl_wrap.cpp:788: error: >> âSWIG_landfillâ was not declared in this scope esl_wrap.cpp:788: >> error: expected â,â or â;â before â{â token esl_wrap.cpp:793: error: >> variable or field âSWIG_ZTS_SetPointerZvalâ declared void >> esl_wrap.cpp:793: error: âzvalâ was not declared in this scope >> esl_wrap.cpp:793: error: âzâ was not declared in this scope >> esl_wrap.cpp:793: error: expected primary-expression before âvoidâ >> esl_wrap.cpp:793: error: expected primary-expression before â*â token >> esl_wrap.cpp:793: error: âtypeâ was not declared in this scope >> esl_wrap.cpp:793: error: expected primary-expression before âintâ >> esl_wrap.cpp:793: error: initializer expression list treated as >> compound expression esl_wrap.cpp:793: error: expected â,â or â;â >> before â{â token make[1]: *** [esl_wrap.o] Error 1 make[1]: Leaving >> directory `/root/freeswitch-1.0.3/libs/esl/php' make: *** [phpmod] >> Error 2 [root@server esl]# Please tell me where am i wrong? Thanks, Rex >> >> mercutioviz wrote: >> On Wed, Feb 25, 2009 at 11:34 AM, Brian West wrote: > If he's on >> 1.0.3 I don't think it has php in it.. Can't he do the whole >> bootstrap process? svn up && ./bootstrap.sh && ./configure && >> make install And then do Mathieu's suggestion? -MC >> _______________________________________________ Freeswitch-users >> mailing list Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org) >> Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org) >> >> Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org) > Freeswitch-users@lists.freeswitch.org (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



View this message in context: Re: ESL Wrapper
Sent from the freeswitch-users mailing list archive at Nabble.com.





_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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





--
Thank you  with regards,
Gopal,
PeopleTech Systems Private Limited
www.peopletech.co.in


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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/

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services