Thank you for your job with mod_managed, I get lastest
version with mod_managed but the files PluginInterfaces.cs, PluginManager.cs
and ScriptPluginManager.cs were not downloaded.
--- On Sun, 7/26/09, Michael Giagnocavo <mgg@giagnocavo.net>
wrote:
From: Michael Giagnocavo <mgg@giagnocavo.net>
Subject: Re: [Freeswitch-users] mod_managed users?
To: "freeswitch-users@lists.freeswitch.org"
<freeswitch-users@lists.freeswitch.org>
Date: Sunday, July 26, 2009, 2:18 AM
I just checked in a new mod_managed. It breaks backwards compatibility, but
adds scripting and reloading support.
I tested it on CentOS 5.3 x64 with Mono 2.4.2.2. Just make & make install
seemed to take care of everything.
Let me know if you have better luck with this version.
Thanks,
Michael
From:
freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Muhammad
Shahzad
Sent: Saturday, July 18, 2009 6:58 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] mod_managed users?
Sorry
for replying late.
I have tried mod_managed again on same machine (Lenovo 3000 N200), same OS
(Ubuntu-9.04) and Mono version 2.0.1 but with latest FS revision 14249.
It compiles correctly this time but gives following error upon "make
install",
=====================================================================
making install mod_managed
make[5]: *** No rule to make target
`/usr/local/freeswitch/mod/mod_managed.so', needed by `local_install'.
Stop.
make[4]: *** [install] Error 1
make[3]: *** [mod_managed-install] Error 1
make[2]: *** [install-recursive] Error 1
=====================================================================
Here is compilation log when executing "make", if it could of any
help.
=====================================================================
making all mod_managed
Compiling freeswitch_managed.cpp...
g++ -I/usr/src/svn-src/freeswitch/src/include
-I/usr/src/svn-src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden
-DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -D_REENTRANT
-pthread -I/usr/include/mono-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DHAVE_CONFIG_H -c -o freeswitch_managed.o
freeswitch_managed.cpp
Compiling freeswitch_wrap.cpp...
g++ -I/usr/src/svn-src/freeswitch/src/include -I/usr/src/svn-src/freeswitch/libs/libteletone/src
-fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g
-O2 -D_GNU_SOURCE -D_REENTRANT -pthread -I/usr/include/mono-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_CONFIG_H -c -o
freeswitch_wrap.o freeswitch_wrap.cpp
Demo.cs(58,14): warning CS0169: The private method
`FreeSWITCH.Demo.AppDemo.hangupHook()' is never used
Compilation succeeded - 1 warning(s)
Compiling mod_managed.cpp...
/usr/src/svn-src/freeswitch/libtool --mode=compile --tag=CXX g++
-I/usr/src/svn-src/freeswitch/src/include
-I/usr/src/svn-src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden
-DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE
-D_REENTRANT -pthread -I/usr/include/mono-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DHAVE_CONFIG_H -c -o mod_managed.lo
mod_managed.cpp
libtool: compile: g++ -I/usr/src/svn-src/freeswitch/src/include
-I/usr/src/svn-src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden
-DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE
-D_REENTRANT -pthread -I/usr/include/mono-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DHAVE_CONFIG_H -c mod_managed.cpp -fPIC
-DPIC -o .libs/mod_managed.o
mod_managed.cpp: In function ‘void InitManagedSession(ManagedSession*, char*
(*)(void*, switch_input_type_t), void (*)())’:
mod_managed.cpp:97: warning: deprecated conversion from string constant to
‘char*’
libtool: compile: g++ -I/usr/src/svn-src/freeswitch/src/include
-I/usr/src/svn-src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden
-DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE
-D_REENTRANT -pthread -I/usr/include/mono-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DHAVE_CONFIG_H -c mod_managed.cpp -o mod_managed.o
>/dev/null 2>&1
Creating mod_managed.la...
cat: .libs/mod_managed.log: No such file or directory
=====================================================================
Thank you.
I
tried to install mod_managed on ubuntu-9.04, mono framework version 2.0. It
gave me a lots of errors in Loader.cs, which seems to be SWIG related. Since
i am not a expert in SWIG so i disabled this module. This happend long ago, i
think FS svn revision 136xx.
Let me try to compile it from latest FS revision and see if it works. I will
let you know the results.
Thank you.
I am working with
mod_managed on Windows 2003 and Windows Vista with sucessfull. I
noted on user list the issue with LoadFile on Loader.cs when a assembly had
reference to others assemblies, I change LoadFile by LoadFrom and the load
is made fine.
I use c# application and
sqlserver 2005, using FS and mod_managed.
From: Michael Giagnocavo <mgg@giagnocavo.net>
Subject: [Freeswitch-users] mod_managed users?
To: "freeswitch-users@lists.freeswitch.org"
<freeswitch-users@lists.freeswitch.org>
Date: Thursday, July 16, 2009, 4:43 PM
Hey, if
there are any mod_managed users on this list, I’d love it if you were able
to let me know. I’d like to get feedback, positive or negative, on what
worked, what didn’t, and how mod_managed can improve for you. Feel free to
write on list or directly to me: mgg at giagnocavo.net
-Michael
-----Inline Attachment Follows-----
|
_______________________________________________
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
--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +92 334 422 40 88
MSN: shari_786pk@hotmail.com
Email: shaheryarkh@googlemail.com
--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +92 334 422 40 88
MSN: shari_786pk@hotmail.com
Email: shaheryarkh@googlemail.com
-----Inline Attachment Follows-----
|