[Freeswitch-users] Advice how to start with H.323

Dmitry Golubenko tech at tech-invent.ru
Mon Mar 19 11:42:54 MSK 2012


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 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
>> !DSPAM:4f65f20a32765192515336!
>>
>> _________________________________________________________________________
>> 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
>>
>
>




Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list