Advice how to start with H.323
I want to create a H323 Gateway in order to receive calls from an external H323 Server and transfer them to another Freeswitch server. I started on my Ubuntu 10.04 with mod_opal and spent some hours with trying the following 2 ways: * Using buildopal.sh, I had to adapt the script slightly and had to do some symlinks in order to progress. At the end I got stuck with a compile error "class PSTUNClient' has no member named 'InvalidateCache'" during compilation of opal manager * I then installed the libpt and libopal packes from apt and started to compile mod_opal. I then got stuck with a compile error "errror: no matching function for call to 'OpalLocalConnection::OpalLocalConnection(OpalCall&, FSEndPoint&, void*&, unsigned int&, OpalConnection::StringOptions*&)'" So this did not seem to be the right way as regards to future ability to compile it with system updates. Therefore I would like to ask you for some advice: * what is the best way to go: mod_opal or mod_h323? I think the feature set will be somehow the same for my purposes (I only need voice, PCMA), so I am asking, which one is more stable and compiles better. * what is best preferred platform (CentOS/Debian/??) for compiling this? * are there any dependencies for the opal and libpt versions? * Who had recently made running this solution and can give me some advice? -- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet:www.telefaks.de
FYI there is a patch for the build script for mod_opal. I can't for the life of me remember what the ticket number is in JIRA, and I'm mobile so I can't really check it right now. It hasn't been committed to the code yet, so if someone would be willing to test on the latest revision let me know off list and I'll try and figure out the ticket number. As far as your predicament sir, a few things: On Mar 16, 2012 5:54 PM, "Peter Steinbach" <lists@telefaks.de> wrote:
I want to create a H323 Gateway in order to receive calls from an
external H323 Server and transfer them to another Freeswitch server.
I started on my Ubuntu 10.04 with mod_opal and spent some hours with
trying the following 2 ways:
Using buildopal.sh, I had to adapt the script slightly and had to do some symlinks in order to progress. At the end I got stuck with a compile error "class PSTUNClient’ has no member named ‘InvalidateCache’" during compilation of opal manager I then installed the libpt and libopal packes from apt and started to compile mod_opal. I then got stuck with a compile error "errror: no matching function for call to ‘OpalLocalConnection::OpalLocalConnection(OpalCall&, FSEndPoint&, void*&, unsigned int&, OpalConnection::StringOptions*&)’" So this did not seem to be the right way as regards to future ability to compile it with system updates.
Therefore I would like to ask you for some advice: what is the best way to go: mod_opal or mod_h323? I think the feature set will be somehow the same for my purposes (I only need voice, PCMA), so I am asking, which one is more stable and compiles better.
I'm actually not sure. I patched the build script for mod_Opal so that I could use IAX2. Fwiw Opal will not compile without a patch on the build script. The current build script gets the latest from svn or got, but it is indeed broken.
what is best preferred platform (CentOS/Debian/??) for compiling this?
It boils down to what makes you comfortable. I personally use debian for everything, including freeswitch installs. Some wouldn't touch it with a 10 foot pole though.
are there any dependencies for the opal and libpt versions?
Those should be taken care of by the build script (if there are any)
Who had recently made running this solution and can give me some advice?
Can't help you there, sorry. :-)
--
With kind regards Peter Steinbach
Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
On 03/17/2012 03:30 AM, Brian Foster wrote: [snip]
are there any dependencies for the opal and libpt versions?
Those should be taken care of by the build script (if there are any)
That's assuming that the build script does the proper thing. Last time I looked, it pulled svn trunk versions of ptlib and opal which are too new for mod_opal. Afaik it needs the Sirius or maybe the Luyten release. In the past I built mod_opal without a problem (not using that script) with the Sirius release of ptlib and opal installed. Regarrds, Patrick
That patch probably fixes that issue. If not, it's easily fixed. On Mar 17, 2012 10:45 AM, "Patrick Lists" <freeswitch-list@puzzled.xs4all.nl> wrote:
On 03/17/2012 03:30 AM, Brian Foster wrote: [snip]
are there any dependencies for the opal and libpt versions?
Those should be taken care of by the build script (if there are any)
That's assuming that the build script does the proper thing. Last time I looked, it pulled svn trunk versions of ptlib and opal which are too new for mod_opal. Afaik it needs the Sirius or maybe the Luyten release. In the past I built mod_opal without a problem (not using that script) with the Sirius release of ptlib and opal installed.
Regarrds, Patrick
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
I'm using mod_h323. It works quite well - even though it's not 100% perfect, but the same goes for mod_opal... I've used them both, but I actually think mod_h323 is a better and more stable choice. /Peter ________________________________ Från: freeswitch-users-bounces@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] för Brian Foster [bdfoster@endigotech.com] Skickat: den 18 mars 2012 15:29 Till: FreeSWITCH Users Help Ämne: Re: [Freeswitch-users] Advice how to start with H.323 That patch probably fixes that issue. If not, it's easily fixed. On Mar 17, 2012 10:45 AM, "Patrick Lists" <freeswitch-list@puzzled.xs4all.nl<mailto:freeswitch-list@puzzled.xs4all.nl>> wrote: On 03/17/2012 03:30 AM, Brian Foster wrote: [snip]
are there any dependencies for the opal and libpt versions?
Those should be taken care of by the build script (if there are any)
That's assuming that the build script does the proper thing. Last time I looked, it pulled svn trunk versions of ptlib and opal which are too new for mod_opal. Afaik it needs the Sirius or maybe the Luyten release. In the past I built mod_opal without a problem (not using that script) with the Sirius release of ptlib and opal installed. Regarrds, Patrick _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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:4f65f20a32765192515336!
Personally, a native H.323 solution for FreeSWITCH is better than having yate to act as a H323 and a SIP gateway. mod_opal has it's own problems for being finicky to build with specific combinations of OPAL and pt-lib. The same could be said for mod_H323 too. It's great to see people on the mailing list to ask questions about h323 because this module isn't in use by a lot of FreeSWITCHers out there. On Sun, Mar 18, 2012 at 7:45 AM, Peter Olsson <peter.olsson@visionutveckling.se> wrote:
I'm using mod_h323. It works quite well - even though it's not 100% perfect, but the same goes for mod_opal...
I've used them both, but I actually think mod_h323 is a better and more stable choice.
/Peter
________________________________ Från: freeswitch-users-bounces@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] för Brian Foster [bdfoster@endigotech.com] Skickat: den 18 mars 2012 15:29 Till: FreeSWITCH Users Help Ämne: Re: [Freeswitch-users] Advice how to start with H.323
That patch probably fixes that issue. If not, it's easily fixed.
On Mar 17, 2012 10:45 AM, "Patrick Lists" <freeswitch-list@puzzled.xs4all.nl<mailto:freeswitch-list@puzzled.xs4all.nl>> wrote: On 03/17/2012 03:30 AM, Brian Foster wrote: [snip]
> are there any dependencies for the opal and libpt versions?
Those should be taken care of by the build script (if there are any)
That's assuming that the build script does the proper thing. Last time I looked, it pulled svn trunk versions of ptlib and opal which are too new for mod_opal. Afaik it needs the Sirius or maybe the Luyten release. In the past I built mod_opal without a problem (not using that script) with the Sirius release of ptlib and opal installed.
Regarrds, Patrick
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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:4f65f20a32765192515336!
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
I was mentioning H.323 to a vendor of hardware gateways last week and he replied, "Does anybody still use H.323???" like I was from Mars or something. With the increasing prevalence of SIP I'm betting that support for H.323 is not seen as a priority by most people, except those who use it of course. I agree that native support sounds preferable. FWIW, Bote On Sun, Mar 18, 2012 at 12:29 PM, curriegrad2004 <curriegrad2004@gmail.com>wrote:
Personally, a native H.323 solution for FreeSWITCH is better than having yate to act as a H323 and a SIP gateway.
mod_opal has it's own problems for being finicky to build with specific combinations of OPAL and pt-lib. The same could be said for mod_H323 too. It's great to see people on the mailing list to ask questions about h323 because this module isn't in use by a lot of FreeSWITCHers out there.
On Sun, Mar 18, 2012 at 7:45 AM, Peter Olsson <peter.olsson@visionutveckling.se> wrote:
I'm using mod_h323. It works quite well - even though it's not 100% perfect, but the same goes for mod_opal...
I've used them both, but I actually think mod_h323 is a better and more stable choice.
/Peter
I tried to use mod_h323 now and followed the procedure on the wiki page. After fixing problems with - not finding /usr/bin/ptlib-config (copied from /usr/local/bin/, linking did not work) - not finding the h323 include files (linking from /usr/local/include) I now get the following problem: root@fs01:/usr/src/freeswitch# make mod_h323 making all mod_h323 Compiling /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp... quiet_libtool: compile: g++ -g -ITLIBDIR -I/usr/include/openh323 -I. -DPTRACING=1 -D_REENTRANT -fno-exceptions -DP_64BIT -I/usr/src/freeswitch/libs/curl/include -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -DHAVE_CONFIG_H -c /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp -fPIC -DPIC -o .libs/mod_h323.o In file included from /usr/include/openh323/h323.h:36, from /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:43, from /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:40: /usr/include/openh323/openh323buildopts.h:37:34: error: ptlib/../../revision.h: No such file or directory /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp: In member function ‘virtual PBoolean FSH323_ExternalRTPChannel::Start()’: /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:2125: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 8 has type ‘unsigned int’ /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:2126: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 8 has type ‘unsigned int’ make[4]: *** [mod_h323.lo] Error 1 make[3]: *** [all] Error 1 make[2]: *** [mod_h323-all] Error 1 make[1]: *** [mod_h323] Error 2 make: *** [mod_h323] Error 2 This is really tiring, as I run from one problem to the next one. And I am not sure whether this will lead me to a stable system at the end. So am I back to my one of my previous questions: Maybe I am on the wrong distribution? What do you recommend? Best regards Peter Am 18.03.2012 15:45, schrieb Peter Olsson:
I'm using mod_h323. It works quite well - even though it's not 100% perfect, but the same goes for mod_opal...
I've used them both, but I actually think mod_h323 is a better and more stable choice.
/Peter
________________________________ Från: freeswitch-users-bounces@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] för Brian Foster [bdfoster@endigotech.com] Skickat: den 18 mars 2012 15:29 Till: FreeSWITCH Users Help Ämne: Re: [Freeswitch-users] Advice how to start with H.323
That patch probably fixes that issue. If not, it's easily fixed.
On Mar 17, 2012 10:45 AM, "Patrick Lists"<freeswitch-list@puzzled.xs4all.nl<mailto:freeswitch-list@puzzled.xs4all.nl>> wrote: On 03/17/2012 03:30 AM, Brian Foster wrote: [snip]
are there any dependencies for the opal and libpt versions?
Those should be taken care of by the build script (if there are any) That's assuming that the build script does the proper thing. Last time I looked, it pulled svn trunk versions of ptlib and opal which are too new for mod_opal. Afaik it needs the Sirius or maybe the Luyten release. In the past I built mod_opal without a problem (not using that script) with the Sirius release of ptlib and opal installed.
Regarrds, Patrick
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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:4f65f20a32765192515336!
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
-- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de
What Linux distribution are you using? It seems it can't find revision.h, I have no idea why though. Also, what versions of h323plus and ptlib did you use? I try to stay out of the trunk versions. I've built successfully on CentOS 5.7 and 6.2 (with some minor modifications to Makefile for mod_h323), and I've also built the same on Windows. /Peter ________________________________________ Från: Peter Steinbach [lists@telefaks.de] Skickat: den 18 mars 2012 19:52 Till: FreeSWITCH Users Help Cc: Peter Olsson Ämne: Re: [Freeswitch-users] Advice how to start with H.323 I tried to use mod_h323 now and followed the procedure on the wiki page. After fixing problems with - not finding /usr/bin/ptlib-config (copied from /usr/local/bin/, linking did not work) - not finding the h323 include files (linking from /usr/local/include) I now get the following problem: root@fs01:/usr/src/freeswitch# make mod_h323 making all mod_h323 Compiling /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp... quiet_libtool: compile: g++ -g -ITLIBDIR -I/usr/include/openh323 -I. -DPTRACING=1 -D_REENTRANT -fno-exceptions -DP_64BIT -I/usr/src/freeswitch/libs/curl/include -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -DHAVE_CONFIG_H -c /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp -fPIC -DPIC -o .libs/mod_h323.o In file included from /usr/include/openh323/h323.h:36, from /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:43, from /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:40: /usr/include/openh323/openh323buildopts.h:37:34: error: ptlib/../../revision.h: No such file or directory /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp: In member function ‘virtual PBoolean FSH323_ExternalRTPChannel::Start()’: /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:2125: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 8 has type ‘unsigned int’ /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:2126: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 8 has type ‘unsigned int’ make[4]: *** [mod_h323.lo] Error 1 make[3]: *** [all] Error 1 make[2]: *** [mod_h323-all] Error 1 make[1]: *** [mod_h323] Error 2 make: *** [mod_h323] Error 2 This is really tiring, as I run from one problem to the next one. And I am not sure whether this will lead me to a stable system at the end. So am I back to my one of my previous questions: Maybe I am on the wrong distribution? What do you recommend? Best regards Peter Am 18.03.2012 15:45, schrieb Peter Olsson:
I'm using mod_h323. It works quite well - even though it's not 100% perfect, but the same goes for mod_opal...
I've used them both, but I actually think mod_h323 is a better and more stable choice.
/Peter
________________________________ Från: freeswitch-users-bounces@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] för Brian Foster [bdfoster@endigotech.com] Skickat: den 18 mars 2012 15:29 Till: FreeSWITCH Users Help Ämne: Re: [Freeswitch-users] Advice how to start with H.323
That patch probably fixes that issue. If not, it's easily fixed.
On Mar 17, 2012 10:45 AM, "Patrick Lists"<freeswitch-list@puzzled.xs4all.nl<mailto:freeswitch-list@puzzled.xs4all.nl>> wrote: On 03/17/2012 03:30 AM, Brian Foster wrote: [snip]
are there any dependencies for the opal and libpt versions?
Those should be taken care of by the build script (if there are any) That's assuming that the build script does the proper thing. Last time I looked, it pulled svn trunk versions of ptlib and opal which are too new for mod_opal. Afaik it needs the Sirius or maybe the Luyten release. In the past I built mod_opal without a problem (not using that script) with the Sirius release of ptlib and opal installed.
Regarrds, Patrick
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
-- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de !DSPAM:4f662c5632761804157004!
I am using Ubuntu 10.04. I followed the installation procedures on the wiki page and installed ptlib-2.8.2 + h323plus-trunk Best regards Peter Am 18.03.2012 20:33, schrieb Peter Olsson:
What Linux distribution are you using?
It seems it can't find revision.h, I have no idea why though. Also, what versions of h323plus and ptlib did you use? I try to stay out of the trunk versions.
I've built successfully on CentOS 5.7 and 6.2 (with some minor modifications to Makefile for mod_h323), and I've also built the same on Windows.
/Peter ________________________________________ Från: Peter Steinbach [lists@telefaks.de] Skickat: den 18 mars 2012 19:52 Till: FreeSWITCH Users Help Cc: Peter Olsson Ämne: Re: [Freeswitch-users] Advice how to start with H.323
I tried to use mod_h323 now and followed the procedure on the wiki page.
After fixing problems with - not finding /usr/bin/ptlib-config (copied from /usr/local/bin/, linking did not work) - not finding the h323 include files (linking from /usr/local/include) I now get the following problem:
root@fs01:/usr/src/freeswitch# make mod_h323 making all mod_h323 Compiling /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp... quiet_libtool: compile: g++ -g -ITLIBDIR -I/usr/include/openh323 -I. -DPTRACING=1 -D_REENTRANT -fno-exceptions -DP_64BIT -I/usr/src/freeswitch/libs/curl/include -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -DHAVE_CONFIG_H -c /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp -fPIC -DPIC -o .libs/mod_h323.o In file included from /usr/include/openh323/h323.h:36, from /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:43, from /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:40: /usr/include/openh323/openh323buildopts.h:37:34: error: ptlib/../../revision.h: No such file or directory /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp: In member function ‘virtual PBoolean FSH323_ExternalRTPChannel::Start()’: /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:2125: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 8 has type ‘unsigned int’ /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:2126: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 8 has type ‘unsigned int’ make[4]: *** [mod_h323.lo] Error 1 make[3]: *** [all] Error 1 make[2]: *** [mod_h323-all] Error 1 make[1]: *** [mod_h323] Error 2 make: *** [mod_h323] Error 2
This is really tiring, as I run from one problem to the next one. And I am not sure whether this will lead me to a stable system at the end.
So am I back to my one of my previous questions: Maybe I am on the wrong distribution? What do you recommend?
Best regards Peter
Am 18.03.2012 15:45, schrieb Peter Olsson:
I'm using mod_h323. It works quite well - even though it's not 100% perfect, but the same goes for mod_opal...
I've used them both, but I actually think mod_h323 is a better and more stable choice.
/Peter
________________________________ Från: freeswitch-users-bounces@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] för Brian Foster [bdfoster@endigotech.com] Skickat: den 18 mars 2012 15:29 Till: FreeSWITCH Users Help Ämne: Re: [Freeswitch-users] Advice how to start with H.323
That patch probably fixes that issue. If not, it's easily fixed.
On Mar 17, 2012 10:45 AM, "Patrick Lists"<freeswitch-list@puzzled.xs4all.nl<mailto:freeswitch-list@puzzled.xs4all.nl>> wrote: On 03/17/2012 03:30 AM, Brian Foster wrote: [snip]
are there any dependencies for the opal and libpt versions?
Those should be taken care of by the build script (if there are any) That's assuming that the build script does the proper thing. Last time I looked, it pulled svn trunk versions of ptlib and opal which are too new for mod_opal. Afaik it needs the Sirius or maybe the Luyten release. In the past I built mod_opal without a problem (not using that script) with the Sirius release of ptlib and opal installed.
Regarrds, Patrick
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
-- With kind regards Peter Steinbach
Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de
!DSPAM:4f662c5632761804157004!
-- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de
On 19-03-12 11:53, Peter Steinbach wrote:
I am using Ubuntu 10.04.
I followed the installation procedures on the wiki page and installed
ptlib-2.8.2 + h323plus-trunk
Not sure if it's still valid but in the past the recommendation was to follow the versions listed at: http://www.gnugk.org/compiling-gnugk.html Which in this case means you should use H323Plus 1.22.0 and not trunk. Regards, Patrick
19.03.2012 01:52, Peter Steinbach пишет:
I tried to use mod_h323 now and followed the procedure on the wiki page. try to change mod_h323 Makefile to include correct path to your ptlib and h323plus folders, mine looks like this: BASE=../../../..
#export PTLIBDIR = $(shell /usr/local/bin/ptlib-config --ptlibdir) LOCAL_CFLAGS+=-g -I/usr/local/src/ptlib-v2_10_3/include -I/usr/local/include/openh323 -I. -DPTRACING=1 -D_REENTRANT -fno-exc LOCAL_LDFLAGS= -L/usr/local/lib -lopenh323 -lpt -lrt ifeq ($(shell uname -m),x86_64) LOCAL_CFLAGS+=-DP_64BIT endif include $(BASE)/build/modmake.rules
After fixing problems with - not finding /usr/bin/ptlib-config (copied from /usr/local/bin/, linking did not work) - not finding the h323 include files (linking from /usr/local/include) I now get the following problem:
root@fs01:/usr/src/freeswitch# make mod_h323 making all mod_h323 Compiling /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp... quiet_libtool: compile: g++ -g -ITLIBDIR -I/usr/include/openh323 -I. -DPTRACING=1 -D_REENTRANT -fno-exceptions -DP_64BIT -I/usr/src/freeswitch/libs/curl/include -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -DHAVE_CONFIG_H -c /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp -fPIC -DPIC -o .libs/mod_h323.o In file included from /usr/include/openh323/h323.h:36, from /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:43, from /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:40: /usr/include/openh323/openh323buildopts.h:37:34: error: ptlib/../../revision.h: No such file or directory /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp: In member function ‘virtual PBoolean FSH323_ExternalRTPChannel::Start()’: /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:2125: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 8 has type ‘unsigned int’ /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:2126: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 8 has type ‘unsigned int’ make[4]: *** [mod_h323.lo] Error 1 make[3]: *** [all] Error 1 make[2]: *** [mod_h323-all] Error 1 make[1]: *** [mod_h323] Error 2 make: *** [mod_h323] Error 2
This is really tiring, as I run from one problem to the next one. And I am not sure whether this will lead me to a stable system at the end.
So am I back to my one of my previous questions: Maybe I am on the wrong distribution? What do you recommend?
Best regards Peter
Am 18.03.2012 15:45, schrieb Peter Olsson:
I'm using mod_h323. It works quite well - even though it's not 100% perfect, but the same goes for mod_opal...
I've used them both, but I actually think mod_h323 is a better and more stable choice.
/Peter
________________________________ Från: freeswitch-users-bounces@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] för Brian Foster [bdfoster@endigotech.com] Skickat: den 18 mars 2012 15:29 Till: FreeSWITCH Users Help Ämne: Re: [Freeswitch-users] Advice how to start with H.323
That patch probably fixes that issue. If not, it's easily fixed.
On Mar 17, 2012 10:45 AM, "Patrick Lists"<freeswitch-list@puzzled.xs4all.nl<mailto:freeswitch-list@puzzled.xs4all.nl>> wrote: On 03/17/2012 03:30 AM, Brian Foster wrote: [snip]
are there any dependencies for the opal and libpt versions?
Those should be taken care of by the build script (if there are any) That's assuming that the build script does the proper thing. Last time I looked, it pulled svn trunk versions of ptlib and opal which are too new for mod_opal. Afaik it needs the Sirius or maybe the Luyten release. In the past I built mod_opal without a problem (not using that script) with the Sirius release of ptlib and opal installed.
Regarrds, Patrick
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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:4f65f20a32765192515336!
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
Try using Yate instead of FS for h323 gateway. 17.03.2012 1:54 пользователь "Peter Steinbach" <lists@telefaks
** I want to create a H323 Gateway in order to receive calls from an external H323 Server and transfer them to another Freeswitch server.
I started on my Ubuntu 10.04 with mod_opal and spent some hours with trying the following 2 ways:
- Using buildopal.sh, I had to adapt the script slightly and had to do some symlinks in order to progress. At the end I got stuck with a compile error "class PSTUNClient' has no member named 'InvalidateCache'" during compilation of opal manager - I then installed the libpt and libopal packes from apt and started to compile mod_opal. I then got stuck with a compile error "errror: no matching function for call to 'OpalLocalConnection::OpalLocalConnection(OpalCall&, FSEndPoint&, void*&, unsigned int&, OpalConnection::StringOptions*&)'"
So this did not seem to be the right way as regards to future ability to compile it with system updates.
Therefore I would like to ask you for some advice:
- what is the best way to go: mod_opal or mod_h323? I think the feature set will be somehow the same for my purposes (I only need voice, PCMA), so I am asking, which one is more stable and compiles better. - what is best preferred platform (CentOS/Debian/??) for compiling this? - are there any dependencies for the opal and libpt versions? - Who had recently made running this solution and can give me some advice?
--
With kind regards Peter Steinbach
Telefaks Services GmbHmailto:lists <lists> (att) telefaks.de Internet: www.telefaks.de
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
participants (8)
-
Anton Kvashenkin
-
Bote Man
-
Brian Foster
-
curriegrad2004
-
Dmitry Golubenko
-
Patrick Lists
-
Peter Olsson
-
Peter Steinbach