VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
tculjaga at gmail.com Guest
|
Posted: Mon Aug 31, 2009 6:00 pm Post subject: [Freeswitch-users] mod_opal |
|
|
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
T. |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Mon Aug 31, 2009 6:06 pm Post subject: [Freeswitch-users] mod_opal |
|
|
On Mon, Aug 31, 2009 at 3:48 PM, Tihomir Culjaga <tculjaga@gmail.com (tculjaga@gmail.com)> wrote:
Quote: | 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 |
|
Back to top |
|
|
tculjaga at gmail.com Guest
|
Posted: Tue Sep 01, 2009 1:13 am Post subject: [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 (msc@freeswitch.org)> wrote:
Quote: |
On Mon, Aug 31, 2009 at 3:48 PM, Tihomir Culjaga <tculjaga@gmail.com (tculjaga@gmail.com)> wrote:
Quote: | 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 (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 |
|
|
tculjaga at gmail.com Guest
|
Posted: Tue Sep 01, 2009 1:34 am Post subject: [Freeswitch-users] mod_opal |
|
|
hi, It went well
obviously FS needs v3_6 opal
thx.
On Tue, Sep 1, 2009 at 8:09 AM, Tihomir Culjaga <tculjaga@gmail.com (tculjaga@gmail.com)> wrote:
Quote: | 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 (msc@freeswitch.org)> wrote:
Quote: |
On Mon, Aug 31, 2009 at 3:48 PM, Tihomir Culjaga <tculjaga@gmail.com (tculjaga@gmail.com)> wrote:
Quote: | 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 (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
|
Posted: Tue Sep 01, 2009 1:34 am Post subject: [Freeswitch-users] mod_opal |
|
|
On Mon, Aug 31, 2009 at 11:09 PM, Tihomir Culjaga <tculjaga@gmail.com (tculjaga@gmail.com)> wrote:
Quote: | hhmmm )
is there any doc following up mod_opal ?
I really don't want to waste your time
T.
| Last I heard this was it:
http://jira.freeswitch.org/browse/MODOPAL-10
-MC |
|
Back to top |
|
|
peter.olsson at vision... Guest
|
Posted: Tue Sep 01, 2009 1:41 am Post subject: [Freeswitch-users] mod_opal |
|
|
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 (msc@freeswitch.org)> wrote:
On Mon, Aug 31, 2009 at 3:48 PM, Tihomir Culjaga <tculjaga@gmail.com (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 (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! |
|
Back to top |
|
|
tculjaga at gmail.com Guest
|
Posted: Tue Sep 01, 2009 12:20 pm Post subject: [Freeswitch-users] mod_opal |
|
|
Hi Peter,
i did it on linux... it was enough to use
svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/trunk ptlib
svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/opal/branches/v3_6 opal
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 (peter.olsson@visionutveckling.se)> wrote:
Quote: |
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 (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] För Tihomir Culjaga
Skickat: den 1 september 2009 08:09
Till: freeswitch-users@lists.freeswitch.org (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 (msc@freeswitch.org)> wrote:
On Mon, Aug 31, 2009 at 3:48 PM, Tihomir Culjaga <tculjaga@gmail.com (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 (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 (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 |
|
|
peter.olsson at vision... Guest
|
Posted: Wed Sep 02, 2009 12:49 am Post subject: [Freeswitch-users] mod_opal |
|
|
Tihomir,
Yes as I remember it I did get the correct caller id number. I think you need to set variable origination_caller_id_number when you originate a call.
/Peter
________________________________
Frĺn: Tihomir Culjaga <tculjaga@gmail.com>
Skickat: den 1 september 2009 19:20
Till: freeswitch-users@lists.freeswitch.org <freeswitch-users@lists.freeswitch.org>
Ämne: Re: [Freeswitch-users] mod_opal
Hi Peter,
i did it on linux... it was enough to use
svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/trunk ptlib
svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/opal/branches/v3_6 opal
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<mailto: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> [mailto: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<mailto: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<mailto:msc@freeswitch.org>> wrote:
On Mon, Aug 31, 2009 at 3:48 PM, Tihomir Culjaga <tculjaga@gmail.com<mailto: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<mailto: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<mailto: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:4a9d57f132931900217636!
_______________________________________________
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 |
|
|
|
|
|
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
|