Hi Peter, i did it on linux... it was enough to use svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/trunkptlib svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/opal/branches/v3_6opal this is something that works well :) BTW: do you get a correct callingPartyNumber when you place calls through opal/h323? I'm always getting 0000000 even if i set *effective_caller_id_number to some value*... T. On Tue, Sep 1, 2009 at 8:37 AM, Peter Olsson < peter.olsson@visionutveckling.se> wrote:
Please look into MODOPAL-10 in jira. You need to apply a patch if you’re using latest opal trunk, ro else you need to use the latest stable version of opal. However, I’m not sure how automated this is in the build process in Linux. I’ve only done this on Windows builds lately.
/Peter
*Från:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *För *Tihomir Culjaga *Skickat:* den 1 september 2009 08:09 *Till:* freeswitch-users@lists.freeswitch.org *Ämne:* Re: [Freeswitch-users] mod_opal
hhmmm :))
is there any doc following up mod_opal ? I really don't want to waste your time :)
T.
On Tue, Sep 1, 2009 at 1:00 AM, Michael Collins <msc@freeswitch.org> wrote:
On Mon, Aug 31, 2009 at 3:48 PM, Tihomir Culjaga <tculjaga@gmail.com> wrote:
hello,
i'm trying to build mod_opal and getting this error:
making all mod_logfile
making all mod_loopback
making all mod_native_file
making all mod_opal Compiling mod_opal.cpp... quiet_libtool: compile: g++ -g -ggdb -I. -I/home/tculjaga/freeswitch-trunk/src/include -I/home/tculjaga/freeswitch-trunk/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -DPTRACING=1 -D_REENTRANT -fno-exceptions -I/usr/include/opal -DHAVE_CONFIG_H -c mod_opal.cpp -fPIC -DPIC -o .libs/mod_opal.o In file included from mod_opal.cpp:25: mod_opal.h:151: error: conflicting return type specified for ‘virtual OpalLocalConnection* FSEndPoint::CreateConnection(OpalCall&, void*)’ /usr/include/opal/opal/localep.h:267: error: overriding ‘virtual ptlib_virtual_function_changed_or_removed****** OpalLocalEndPoint::CreateConnection(OpalCall&, void*)’ mod_opal.cpp: In constructor ‘FSConnection::FSConnection(OpalCall&, FSEndPoint&, switch_caller_profile_t*, switch_core_session_t*, switch_channel_t*)’: mod_opal.cpp:564: error: no matching function for call to ‘OpalLocalConnection::OpalLocalConnection(OpalCall&, FSEndPoint&, NULL)’ /usr/include/opal/opal/localep.h:290: note: candidates are: OpalLocalConnection::OpalLocalConnection(OpalCall&, OpalLocalEndPoint&, void*, unsigned int, OpalConnection::StringOptions*, char) /usr/include/opal/opal/localep.h:276: note: OpalLocalConnection::OpalLocalConnection(const OpalLocalConnection&) /usr/include/opal/opal/patch.h: In member function ‘switch_status_t FSMediaStream::read_frame(switch_frame_t**, switch_io_flag_t)’: /usr/include/opal/opal/patch.h:272: error: ‘virtual ptlib_virtual_function_changed_or_removed****** OpalMediaPatch::OnPatchStart()’ is private mod_opal.cpp:1277: error: within this context mod_opal.cpp:1277: warning: ‘virtual ptlib_virtual_function_changed_or_removed****** OpalMediaPatch::OnPatchStart()’ is deprecated (declared at /usr/include/opal/opal/patch.h:272) mod_opal.cpp:1277: warning: ignoring return value of function declared with attribute warn_unused_result /usr/include/opal/opal/patch.h: In member function ‘switch_status_t FSMediaStream::write_frame(const switch_frame_t*, switch_io_flag_t)’: /usr/include/opal/opal/patch.h:272: error: ‘virtual ptlib_virtual_function_changed_or_removed****** OpalMediaPatch::OnPatchStart()’ is private mod_opal.cpp:1399: error: within this context mod_opal.cpp:1399: warning: ‘virtual ptlib_virtual_function_changed_or_removed****** OpalMediaPatch::OnPatchStart()’ is deprecated (declared at /usr/include/opal/opal/patch.h:272) mod_opal.cpp:1399: warning: ignoring return value of function declared with attribute warn_unused_result make[5]: *** [mod_opal.lo] Error 1 make[4]: *** [all] Error 1 make[3]: *** [mod_opal-all] Error 1 make[2]: *** [all-recursive] Error 1 Making all in build +-------- FreeSWITCH Build Complete -----------+ + FreeSWITCH has been successfully built. + + Install by running: + + + + make install + +----------------------------------------------+ make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 tculjaga@nemesis:~/freeswitch-trunk$ tculjaga@nemesis:~/freeswitch-trunk$ tculjaga@nemesis:~/freeswitch-trunk$
what ptlib/opal/fs version did you use to build it?
I tried with trunk (ptlib, opal, fs)... and as you can see :)
Did you run the buildopal.sh script in src/build ? -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
!DSPAM:4a9cbdb632933764890742!
_______________________________________________ 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