[asterisk-bugs] [Asterisk 0017226]: [patch] using opal instead of pwlib/openh323

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Apr 30 08:46:49 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17226 
====================================================================== 
Reported By:                tzafrir
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17226
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     confirmed
Asterisk Version:           SVN 
JIRA:                       SWP-1338 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.2 
SVN Revision (number only!): 258386 
Request Review:              
====================================================================== 
Date Submitted:             2010-04-21 16:24 CDT
Last Modified:              2010-04-30 08:46 CDT
====================================================================== 
Summary:                    [patch] using opal instead of pwlib/openh323
Description: 
I'm testing the usage of opal instead of pwlib+openh323 . 

At first glance it seems that it will at least build once I apply some
brute-force to configure.ac .

(This description is to be updated later. Documenting what I have now)

Patch works, however I get the same symptom as in issue
https://issues.asterisk.org/view.php?id=17162:
chan_h323.so fails to load, as it was not linked with the relevant
libraries.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0017162 missing libs in link command of chan_h3...
====================================================================== 

---------------------------------------------------------------------- 
 (0121215) jin (reporter) - 2010-04-30 08:46
 https://issues.asterisk.org/view.php?id=17226#c121215 
---------------------------------------------------------------------- 
Hi,

i'm interested on this feature.

testing on centos 5.4 with pwlib-1.10.1-7.0.1.el5.x86_64 and
opal-2.2.2-1.1.0.1

i patched asterisk 1.6.2 with opal_configure_2.diff, but asterisk doesn't
compile the chan_h323.o:

this is the configure output:

checking for openr2_chan_new in -lopenr2... yes
checking openr2.h usability... yes
checking openr2.h presence... yes
checking for openr2.h... yes
checking /root/pwlib/include/ptlib.h usability... no
checking /root/pwlib/include/ptlib.h presence... no
checking for /root/pwlib/include/ptlib.h... no
checking /usr/local/include/ptlib.h usability... no
checking /usr/local/include/ptlib.h presence... no
checking for /usr/local/include/ptlib.h... no
checking /usr/include/ptlib.h usability... yes
checking /usr/include/ptlib.h presence... yes
checking for /usr/include/ptlib.h... yes
checking for ptlib-config... /usr/bin/ptlib-config
checking if PWLib version 1.10.1 is compatible with chan_h323... yes
checking PWLib installation validity... yes
checking /usr/share/pwlib/../openh323/version.h usability... no
checking /usr/share/pwlib/../openh323/version.h presence... no
checking for /usr/share/pwlib/../openh323/version.h... no
checking for /root/openh323/include/h323.h... no
checking for /usr/local/include/openh323/h323.h... no
checking for /usr/include/openh323/h323.h... no
checking for luaL_newstate in -llua5.1... no
checking for luaL_register in -llua... yes
checking lua.h usability... yes
checking lua.h presence... yes
checking for lua.h... yes


the opal devel file are located in:

[root at pbx4 asterisk16-1.6.2.6]# ls -al /usr/include/opal/
totale 60
drwxr-xr-x 12 root root  4096 30 apr 17:21 .
drwxr-xr-x 90 root root 12288 30 apr 17:21 ..
drwxr-xr-x  2 root root  4096 30 apr 17:21 asn
drwxr-xr-x  2 root root  4096 30 apr 17:21 codec
drwxr-xr-x  2 root root  4096 30 apr 17:21 h323
drwxr-xr-x  2 root root  4096 30 apr 17:21 iax2
drwxr-xr-x  2 root root  4096 30 apr 17:21 lids
drwxr-xr-x  2 root root  4096 30 apr 17:21 opal
drwxr-xr-x  2 root root  4096 30 apr 17:21 rtp
drwxr-xr-x  2 root root  4096 30 apr 17:21 sip
drwxr-xr-x  2 root root  4096 30 apr 17:21 t120
drwxr-xr-x  2 root root  4096 30 apr 17:21 t38


best regards 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-30 08:46 jin            Note Added: 0121215                          
======================================================================




More information about the asterisk-bugs mailing list