[Freeswitch-users] Advice how to start with H.323
Peter Olsson
peter.olsson at visionutveckling.se
Sun Mar 18 22:33:40 MSK 2012
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 at 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 at 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 at lists.freeswitch.org [freeswitch-users-bounces at lists.freeswitch.org] för Brian Foster [bdfoster at 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 at puzzled.xs4all.nl<mailto:freeswitch-list at 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 at freeswitch.org<mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at 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!
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list