--- openh323-1.18.0.orig/debian/libopenh323-doc.docs +++ openh323-1.18.0/debian/libopenh323-doc.docs @@ -0,0 +1,2 @@ +samples +html --- openh323-1.18.0.orig/debian/libopenh323.docs +++ openh323-1.18.0/debian/libopenh323.docs @@ -0,0 +1 @@ +ReadMe.txt --- openh323-1.18.0.orig/debian/control +++ openh323-1.18.0/debian/control @@ -0,0 +1,95 @@ +Source: openh323 +Section: libs +Priority: optional +Maintainer: Debian VoIP Team +Uploaders: Kilian Krause , Jose Carlos Garcia Sogo , Mark Purcell , Santiago Garcia Mantinan +Build-Depends: debhelper (>=4.0.2), libpt-dev (>=1.9.3-1), libssl-dev, libgsm1-dev (>=1.0.10-11), libspeex-dev (>=1.1.11-1), dpatch (>=1.11), libsasl2-dev, doxygen, autotools-dev +Build-Depends-Indep: doxygen +Build-Conflicts: linux-kernel-headers (<< 2.5.999-test7-bk-14), libopenh323-dev, libopenh323-1.15.3c2, libopenh323-1.15.6 +Standards-Version: 3.6.2 + +Package: libopenh323-1.18.0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Suggests: libopenh323-dev +Replaces: libopenh323-1.15.2, libopenh323-1.15.3c2, libopenh323-1.15.6, libopenh323-1.17.3 +Conflicts: libopenh323-1.15.2, libopenh323-1.15.3c2, libopenh323-1.15.6, libopenh323-1.17.3 +Description: H.323 aka VoIP library + This package contains the shared version of the OpenH323 library. + . + The OpenH323 project aims to create a full featured, interoperable, + Open Source implementation of the ITU H.323 teleconferencing protocol + that can be used freely by everybody. This protocol is most used for + Voice over IP (VoIP) conferencing. + . + For more information on the OpenH323 project visit them at + http://www.voxgratia.org/ + +Package: libopenh323-dev +Section: libdevel +Architecture: any +Depends: libopenh323-1.18.0 (= ${Source-Version}), libssl-dev, libpt-dev (>= 1.10.0) +Conflicts: liboh323-dev, libopenh323-dev +Replaces: liboh323-dev +Description: H.323 aka VoIP library development files + This package contains the the headers and a static version of the + OpenH323 library. + . + The OpenH323 project aims to create a full featured, interoperable, + Open Source implementation of the ITU H.323 teleconferencing protocol + that can be used freely by everybody. This protocol is most used for + Voice over IP (VoIP) conferencing. + . + For more information on the OpenH323 project visit them at + http://www.voxgratia.org/ + +Package: simph323 +Section: comm +Architecture: any +Depends: ${shlibs:Depends} +Description: Simple example from the OpenH323 project + This package contains a small h323 client given as an example. You + can find its code on the doc package. + . + The OpenH323 project aims to create a full featured, interoperable, + Open Source implementation of the ITU H.323 teleconferencing protocol + that can be used freely by everybody. This protocol is most used for + Voice over IP (VoIP) conferencing. + . + For more information on the OpenH323 project visit them at + http://www.voxgratia.org/ + +Package: libopenh323-dbg +Section: libdevel +Priority: extra +Architecture: any +Depends: libopenh323-1.18.0 (= ${Source-Version}) +Replaces: liboh323-dbg +Description: H.323 aka VoIP library development debug files + This package contains the shared and static debug version of the + OpenH323 library. + . + The OpenH323 project aims to create a full featured, interoperable, + Open Source implementation of the ITU H.323 teleconferencing protocol + that can be used freely by everybody. This protocol is most used for + Voice over IP (VoIP) conferencing. + . + For more information on the OpenH323 project visit them at + http://www.voxgratia.org/ + +Package: libopenh323-doc +Section: doc +Priority: extra +Architecture: all +Description: H.323 aka VoIP library documentation files + This package contains the documentation and samples to program with + the OpenH323 library. + . + The OpenH323 project aims to create a full featured, interoperable, + Open Source implementation of the ITU H.323 teleconferencing protocol + that can be used freely by everybody. This protocol is most used for + Voice over IP (VoIP) conferencing. + . + For more information on the OpenH323 project visit them at + http://www.voxgratia.org/ --- openh323-1.18.0.orig/debian/patches/01_openh323u.mak.in.dpatch +++ openh323-1.18.0/debian/patches/01_openh323u.mak.in.dpatch @@ -0,0 +1,41 @@ +#! /bin/sh -e +## 01_openh323u.mak.in.dpatch by Tim Johann +## +## DP: Fixes the libraries' file names + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi + +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 +@DPATCH@ +diff -urNad openh323-1.15.3/openh323u.mak.in /tmp/dpep.kZjO8C/openh323-1.15.3/openh323u.mak.in +--- openh323-1.15.3/openh323u.mak.in 2005-02-21 00:15:08.816215617 +0000 ++++ /tmp/dpep.kZjO8C/openh323-1.15.3/openh323u.mak.in 2005-02-21 00:17:08.504518194 +0000 +@@ -209,7 +209,13 @@ + #STDCCFLAGS += -DNO_H323_VIDEO + #endif + +-OH323_BASE = h323_$(PLATFORM_TYPE)_$(OH323_SUFFIX)$(LIB_TYPE) ++#OH323_BASE = h323_$(PLATFORM_TYPE)_$(OH323_SUFFIX)$(LIB_TYPE) ++ifeq ($(findstring $(OH323_SUFFIX),d),) ++OH323_BASE = openh323 ++else ++OH323_BASE = openh323_$(OH323_SUFFIX) ++endif ++ + OH323_FILE = lib$(OH323_BASE).$(LIB_SUFFIX) + + LDFLAGS += -L$(OH323_LIBDIR) --- openh323-1.18.0.orig/debian/patches/10_openh323u.mak.dpatch +++ openh323-1.18.0/debian/patches/10_openh323u.mak.dpatch @@ -0,0 +1,57 @@ +#! /bin/sh -e +## 10_openh323u.mak.dpatch by Jose Carlos Garcia Sogo +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +if [ $# -lt 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" + +case "$1" in + -patch) patch -p1 ${patch_opts} < $0;; + -unpatch) patch -R -p1 ${patch_opts} < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad openh323-1.17.3~/openh323u.mak.in openh323-1.17.3/openh323u.mak.in +--- openh323-1.17.3~/openh323u.mak.in 2006-01-29 17:51:48.000000000 +0000 ++++ openh323-1.17.3/openh323u.mak.in 2006-01-29 17:52:16.000000000 +0000 +@@ -194,6 +194,10 @@ + + LIBDIRS += $(OPENH323DIR) + ++ifneq (,$(findstring mips, $(MACHTYPE))) ++STDCCFLAGS += -Wa,-xgot ++endif ++ + #OH323_SUPPRESS_H235 = 1 + + OH323_SRCDIR = $(OPENH323DIR)/src +@@ -286,8 +290,8 @@ + LDLIBS += -lvich263 + endif # H323_VICH263 + ++ifndef RELATED_PKG_MAKEFILE + $(TARGET) : $(OH323_LIBDIR)/$(OH323_FILE) +- + ifndef LIBRARY_MAKEFILE + ifdef DEBUG + $(OH323_LIBDIR)/$(OH323_FILE): +@@ -297,6 +301,7 @@ + $(MAKE) -C $(OH323_SRCDIR) opt + endif # DEBUG + endif # LIBRARY_MAKEFILE ++endif + + # End of file + --- openh323-1.18.0.orig/debian/patches/ixjuser.h.dpatch +++ openh323-1.18.0/debian/patches/ixjuser.h.dpatch @@ -0,0 +1,732 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## ixjuser.h.dpatch by Kilian Krause +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix compilation of IXJ + +@DPATCH@ +diff -urNad openh323-1.17.3~/include/linux/ixjuser.h openh323-1.17.3/include/linux/ixjuser.h +--- openh323-1.17.3~/include/linux/ixjuser.h 1970-01-01 00:00:00.000000000 +0000 ++++ openh323-1.17.3/include/linux/ixjuser.h 2006-01-29 23:48:52.000000000 +0000 +@@ -0,0 +1,721 @@ ++#ifndef __LINUX_IXJUSER_H ++#define __LINUX_IXJUSER_H ++ ++/****************************************************************************** ++ * ++ * ixjuser.h ++ * ++ * Device Driver for Quicknet Technologies, Inc.'s Telephony cards ++ * including the Internet PhoneJACK, Internet PhoneJACK Lite, ++ * Internet PhoneJACK PCI, Internet LineJACK, Internet PhoneCARD and ++ * SmartCABLE ++ * ++ * (c) Copyright 1999-2001 Quicknet Technologies, Inc. ++ * ++ * This program is free software; you can redistribute it and/or ++ * modify it under the terms of the GNU General Public License ++ * as published by the Free Software Foundation; either version ++ * 2 of the License, or (at your option) any later version. ++ * ++ * Author: Ed Okerson, ++ * ++ * Contributors: Greg Herlein, ++ * David W. Erhart, ++ * John Sellers, ++ * Mike Preston, ++ * ++ * More information about the hardware related to this driver can be found ++ * at our website: http://www.quicknet.net ++ * ++ * Fixes: ++ * ++ * IN NO EVENT SHALL QUICKNET TECHNOLOGIES, INC. BE LIABLE TO ANY PARTY FOR ++ * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT ++ * OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF QUICKNET ++ * TECHNOLOGIES, INC.HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ++ * ++ * QUICKNET TECHNOLOGIES, INC. SPECIFICALLY DISCLAIMS ANY WARRANTIES, ++ * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY ++ * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ++ * ON AN "AS IS" BASIS, AND QUICKNET TECHNOLOGIES, INC. HAS NO OBLIGATION ++ * TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. ++ * ++ *****************************************************************************/ ++ ++#include ++ ++#include ++ ++/****************************************************************************** ++* ++* IOCTL's used for the Quicknet Telephony Cards ++* ++* If you use the IXJCTL_TESTRAM command, the card must be power cycled to ++* reset the SRAM values before futher use. ++* ++******************************************************************************/ ++ ++#define IXJCTL_DSP_RESET _IO ('q', 0xC0) ++ ++#define IXJCTL_RING PHONE_RING ++#define IXJCTL_HOOKSTATE PHONE_HOOKSTATE ++#define IXJCTL_MAXRINGS PHONE_MAXRINGS ++#define IXJCTL_RING_CADENCE PHONE_RING_CADENCE ++#define IXJCTL_RING_START PHONE_RING_START ++#define IXJCTL_RING_STOP PHONE_RING_STOP ++ ++#define IXJCTL_CARDTYPE _IOR ('q', 0xC1, int) ++#define IXJCTL_SERIAL _IOR ('q', 0xC2, int) ++#define IXJCTL_DSP_TYPE _IOR ('q', 0xC3, int) ++#define IXJCTL_DSP_VERSION _IOR ('q', 0xC4, int) ++#define IXJCTL_VERSION _IOR ('q', 0xDA, char *) ++#define IXJCTL_DSP_IDLE _IO ('q', 0xC5) ++#define IXJCTL_TESTRAM _IO ('q', 0xC6) ++ ++/****************************************************************************** ++* ++* This group of IOCTLs deal with the record settings of the DSP ++* ++* The IXJCTL_REC_DEPTH command sets the internal buffer depth of the DSP. ++* Setting a lower depth reduces latency, but increases the demand of the ++* application to service the driver without frame loss. The DSP has 480 ++* bytes of physical buffer memory for the record channel so the true ++* maximum limit is determined by how many frames will fit in the buffer. ++* ++* 1 uncompressed (480 byte) 16-bit linear frame. ++* 2 uncompressed (240 byte) 8-bit A-law/mu-law frames. ++* 15 TrueSpeech 8.5 frames. ++* 20 TrueSpeech 6.3,5.3,4.8 or 4.1 frames. ++* ++* The default in the driver is currently set to 2 frames. ++* ++* The IXJCTL_REC_VOLUME and IXJCTL_PLAY_VOLUME commands both use a Q8 ++* number as a parameter, 0x100 scales the signal by 1.0, 0x200 scales the ++* signal by 2.0, 0x80 scales the signal by 0.5. No protection is given ++* against over-scaling, if the multiplication factor times the input ++* signal exceeds 16 bits, overflow distortion will occur. The default ++* setting is 0x100 (1.0). ++* ++* The IXJCTL_REC_LEVEL returns the average signal level (not r.m.s.) on ++* the most recently recorded frame as a 16 bit value. ++******************************************************************************/ ++ ++#define IXJCTL_REC_CODEC PHONE_REC_CODEC ++#define IXJCTL_REC_START PHONE_REC_START ++#define IXJCTL_REC_STOP PHONE_REC_STOP ++#define IXJCTL_REC_DEPTH PHONE_REC_DEPTH ++#define IXJCTL_FRAME PHONE_FRAME ++#define IXJCTL_REC_VOLUME PHONE_REC_VOLUME ++#define IXJCTL_REC_LEVEL PHONE_REC_LEVEL ++ ++typedef enum { ++ f300_640 = 4, f300_500, f1100, f350, f400, f480, f440, f620, f20_50, ++ f133_200, f300, f300_420, f330, f300_425, f330_440, f340, f350_400, ++ f350_440, f350_450, f360, f380_420, f392, f400_425, f400_440, f400_450, ++ f420, f425, f425_450, f425_475, f435, f440_450, f440_480, f445, f450, ++ f452, f475, f480_620, f494, f500, f520, f523, f525, f540_660, f587, ++ f590, f600, f660, f700, f740, f750, f750_1450, f770, f800, f816, f850, ++ f857_1645, f900, f900_1300, f935_1215, f941_1477, f942, f950, f950_1400, ++ f975, f1000, f1020, f1050, f1100_1750, f1140, f1200, f1209, f1330, f1336, ++ lf1366, f1380, f1400, f1477, f1600, f1633_1638, f1800, f1860 ++} IXJ_FILTER_FREQ; ++ ++typedef struct { ++ unsigned int filter; ++ IXJ_FILTER_FREQ freq; ++ char enable; ++} IXJ_FILTER; ++ ++typedef struct { ++ char enable; ++ char en_filter; ++ unsigned int filter; ++ unsigned int on1; ++ unsigned int off1; ++ unsigned int on2; ++ unsigned int off2; ++ unsigned int on3; ++ unsigned int off3; ++} IXJ_FILTER_CADENCE; ++ ++#define IXJCTL_SET_FILTER _IOW ('q', 0xC7, IXJ_FILTER *) ++#define IXJCTL_SET_FILTER_RAW _IOW ('q', 0xDD, IXJ_FILTER_RAW *) ++#define IXJCTL_GET_FILTER_HIST _IOW ('q', 0xC8, int) ++#define IXJCTL_FILTER_CADENCE _IOW ('q', 0xD6, IXJ_FILTER_CADENCE *) ++#define IXJCTL_PLAY_CID _IO ('q', 0xD7) ++/****************************************************************************** ++* ++* This IOCTL allows you to reassign values in the tone index table. The ++* tone table has 32 entries (0 - 31), but the driver only allows entries ++* 13 - 27 to be modified, entry 0 is reserved for silence and 1 - 12 are ++* the standard DTMF digits and 28 - 31 are the DTMF tones for A, B, C & D. ++* The positions used internally for Call Progress Tones are as follows: ++* Dial Tone - 25 ++* Ring Back - 26 ++* Busy Signal - 27 ++* ++* The freq values are calculated as: ++* freq = cos(2 * PI * frequency / 8000) ++* ++* The most commonly needed values are already calculated and listed in the ++* enum IXJ_TONE_FREQ. Each tone index can have two frequencies with ++* different gains, if you are only using a single frequency set the unused ++* one to 0. ++* ++* The gain values range from 0 to 15 indicating +6dB to -24dB in 2dB ++* increments. ++* ++******************************************************************************/ ++ ++typedef enum { ++ hz20 = 0x7ffa, ++ hz50 = 0x7fe5, ++ hz133 = 0x7f4c, ++ hz200 = 0x7e6b, ++ hz261 = 0x7d50, /* .63 C1 */ ++ hz277 = 0x7cfa, /* .18 CS1 */ ++ hz293 = 0x7c9f, /* .66 D1 */ ++ hz300 = 0x7c75, ++ hz311 = 0x7c32, /* .13 DS1 */ ++ hz329 = 0x7bbf, /* .63 E1 */ ++ hz330 = 0x7bb8, ++ hz340 = 0x7b75, ++ hz349 = 0x7b37, /* .23 F1 */ ++ hz350 = 0x7b30, ++ hz360 = 0x7ae9, ++ hz369 = 0x7aa8, /* .99 FS1 */ ++ hz380 = 0x7a56, ++ hz392 = 0x79fa, /* .00 G1 */ ++ hz400 = 0x79bb, ++ hz415 = 0x7941, /* .30 GS1 */ ++ hz420 = 0x7918, ++ hz425 = 0x78ee, ++ hz435 = 0x7899, ++ hz440 = 0x786d, /* .00 A1 */ ++ hz445 = 0x7842, ++ hz450 = 0x7815, ++ hz452 = 0x7803, ++ hz466 = 0x7784, /* .16 AS1 */ ++ hz475 = 0x7731, ++ hz480 = 0x7701, ++ hz493 = 0x7685, /* .88 B1 */ ++ hz494 = 0x767b, ++ hz500 = 0x7640, ++ hz520 = 0x7578, ++ hz523 = 0x7559, /* .25 C2 */ ++ hz525 = 0x7544, ++ hz540 = 0x74a7, ++ hz554 = 0x7411, /* .37 CS2 */ ++ hz587 = 0x72a1, /* .33 D2 */ ++ hz590 = 0x727f, ++ hz600 = 0x720b, ++ hz620 = 0x711e, ++ hz622 = 0x7106, /* .25 DS2 */ ++ hz659 = 0x6f3b, /* .26 E2 */ ++ hz660 = 0x6f2e, ++ hz698 = 0x6d3d, /* .46 F2 */ ++ hz700 = 0x6d22, ++ hz739 = 0x6b09, /* .99 FS2 */ ++ hz740 = 0x6afa, ++ hz750 = 0x6a6c, ++ hz770 = 0x694b, ++ hz783 = 0x688b, /* .99 G2 */ ++ hz800 = 0x678d, ++ hz816 = 0x6698, ++ hz830 = 0x65bf, /* .61 GS2 */ ++ hz850 = 0x6484, ++ hz857 = 0x6414, ++ hz880 = 0x629f, /* .00 A2 */ ++ hz900 = 0x6154, ++ hz932 = 0x5f35, /* .33 AS2 */ ++ hz935 = 0x5f01, ++ hz941 = 0x5e9a, ++ hz942 = 0x5e88, ++ hz950 = 0x5dfd, ++ hz975 = 0x5c44, ++ hz1000 = 0x5a81, ++ hz1020 = 0x5912, ++ hz1050 = 0x56e2, ++ hz1100 = 0x5320, ++ hz1140 = 0x5007, ++ hz1200 = 0x4b3b, ++ hz1209 = 0x4a80, ++ hz1215 = 0x4a02, ++ hz1250 = 0x471c, ++ hz1300 = 0x42e0, ++ hz1330 = 0x4049, ++ hz1336 = 0x3fc4, ++ hz1366 = 0x3d22, ++ hz1380 = 0x3be4, ++ hz1400 = 0x3a1b, ++ hz1450 = 0x3596, ++ hz1477 = 0x331c, ++ hz1500 = 0x30fb, ++ hz1600 = 0x278d, ++ hz1633 = 0x2462, ++ hz1638 = 0x23e7, ++ hz1645 = 0x233a, ++ hz1750 = 0x18f8, ++ hz1800 = 0x1405, ++ hz1860 = 0xe0b, ++ hz2100 = 0xf5f6, ++ hz2130 = 0xf2f5, ++ hz2450 = 0xd3b3, ++ hz2750 = 0xb8e4 ++} IXJ_FREQ; ++ ++typedef enum { ++ C1 = hz261, ++ CS1 = hz277, ++ D1 = hz293, ++ DS1 = hz311, ++ E1 = hz329, ++ F1 = hz349, ++ FS1 = hz369, ++ G1 = hz392, ++ GS1 = hz415, ++ A1 = hz440, ++ AS1 = hz466, ++ B1 = hz493, ++ C2 = hz523, ++ CS2 = hz554, ++ D2 = hz587, ++ DS2 = hz622, ++ E2 = hz659, ++ F2 = hz698, ++ FS2 = hz739, ++ G2 = hz783, ++ GS2 = hz830, ++ A2 = hz880, ++ AS2 = hz932, ++} IXJ_NOTE; ++ ++typedef struct { ++ int tone_index; ++ int freq0; ++ int gain0; ++ int freq1; ++ int gain1; ++} IXJ_TONE; ++ ++#define IXJCTL_INIT_TONE _IOW ('q', 0xC9, IXJ_TONE *) ++ ++/****************************************************************************** ++* ++* The IXJCTL_TONE_CADENCE ioctl defines tone sequences used for various ++* Call Progress Tones (CPT). This is accomplished by setting up an array of ++* IXJ_CADENCE_ELEMENT structures that sequentially define the states of ++* the tone sequence. The tone_on_time and tone_off time are in ++* 250 microsecond intervals. A pointer to this array is passed to the ++* driver as the ce element of an IXJ_CADENCE structure. The elements_used ++* must be set to the number of IXJ_CADENCE_ELEMENTS in the array. The ++* termination variable defines what to do at the end of a cadence, the ++* options are to play the cadence once and stop, to repeat the last ++* element of the cadence indefinitely, or to repeat the entire cadence ++* indefinitely. The ce variable is a pointer to the array of IXJ_TONE ++* structures. If the freq0 variable is non-zero, the tone table contents ++* for the tone_index are updated to the frequencies and gains defined. It ++* should be noted that DTMF tones cannot be reassigned, so if DTMF tone ++* table indexs are used in a cadence the frequency and gain variables will ++* be ignored. ++* ++* If the array elements contain frequency parameters the driver will ++* initialize the needed tone table elements and begin playing the tone, ++* there is no preset limit on the number of elements in the cadence. If ++* there is more than one frequency used in the cadence, sequential elements ++* of different frequencies MUST use different tone table indexes. Only one ++* cadence can be played at a time. It is possible to build complex ++* cadences with multiple frequencies using 2 tone table indexes by ++* alternating between them. ++* ++******************************************************************************/ ++ ++typedef struct { ++ int index; ++ int tone_on_time; ++ int tone_off_time; ++ int freq0; ++ int gain0; ++ int freq1; ++ int gain1; ++} IXJ_CADENCE_ELEMENT; ++ ++typedef enum { ++ PLAY_ONCE, ++ REPEAT_LAST_ELEMENT, ++ REPEAT_ALL ++} IXJ_CADENCE_TERM; ++ ++typedef struct { ++ int elements_used; ++ IXJ_CADENCE_TERM termination; ++ IXJ_CADENCE_ELEMENT *ce; ++} IXJ_CADENCE; ++ ++#define IXJCTL_TONE_CADENCE _IOW ('q', 0xCA, IXJ_CADENCE *) ++/****************************************************************************** ++* ++* This group of IOCTLs deal with the playback settings of the DSP ++* ++******************************************************************************/ ++ ++#define IXJCTL_PLAY_CODEC PHONE_PLAY_CODEC ++#define IXJCTL_PLAY_START PHONE_PLAY_START ++#define IXJCTL_PLAY_STOP PHONE_PLAY_STOP ++#define IXJCTL_PLAY_DEPTH PHONE_PLAY_DEPTH ++#define IXJCTL_PLAY_VOLUME PHONE_PLAY_VOLUME ++#define IXJCTL_PLAY_LEVEL PHONE_PLAY_LEVEL ++ ++/****************************************************************************** ++* ++* This group of IOCTLs deal with the Acoustic Echo Cancellation settings ++* of the DSP ++* ++* Issuing the IXJCTL_AEC_START command with a value of AEC_OFF has the ++* same effect as IXJCTL_AEC_STOP. This is to simplify slider bar ++* controls. IXJCTL_AEC_GET_LEVEL returns the current setting of the AEC. ++******************************************************************************/ ++#define IXJCTL_AEC_START _IOW ('q', 0xCB, int) ++#define IXJCTL_AEC_STOP _IO ('q', 0xCC) ++#define IXJCTL_AEC_GET_LEVEL _IO ('q', 0xCD) ++ ++#define AEC_OFF 0 ++#define AEC_LOW 1 ++#define AEC_MED 2 ++#define AEC_HIGH 3 ++#define AEC_AUTO 4 ++#define AEC_AGC 5 ++/****************************************************************************** ++* ++* Call Progress Tones, DTMF, etc. ++* IXJCTL_DTMF_OOB determines if DTMF signaling is sent as Out-Of-Band ++* only. If you pass a 1, DTMF is suppressed from the audio stream. ++* Tone on and off times are in 250 microsecond intervals so ++* ioctl(ixj1, IXJCTL_SET_TONE_ON_TIME, 360); ++* will set the tone on time of board ixj1 to 360 * 250us = 90ms ++* the default values of tone on and off times is 840 or 210ms ++******************************************************************************/ ++ ++#define IXJCTL_DTMF_READY PHONE_DTMF_READY ++#define IXJCTL_GET_DTMF PHONE_GET_DTMF ++#define IXJCTL_GET_DTMF_ASCII PHONE_GET_DTMF_ASCII ++#define IXJCTL_DTMF_OOB PHONE_DTMF_OOB ++#define IXJCTL_EXCEPTION PHONE_EXCEPTION ++#define IXJCTL_PLAY_TONE PHONE_PLAY_TONE ++#define IXJCTL_SET_TONE_ON_TIME PHONE_SET_TONE_ON_TIME ++#define IXJCTL_SET_TONE_OFF_TIME PHONE_SET_TONE_OFF_TIME ++#define IXJCTL_GET_TONE_ON_TIME PHONE_GET_TONE_ON_TIME ++#define IXJCTL_GET_TONE_OFF_TIME PHONE_GET_TONE_OFF_TIME ++#define IXJCTL_GET_TONE_STATE PHONE_GET_TONE_STATE ++#define IXJCTL_BUSY PHONE_BUSY ++#define IXJCTL_RINGBACK PHONE_RINGBACK ++#define IXJCTL_DIALTONE PHONE_DIALTONE ++#define IXJCTL_CPT_STOP PHONE_CPT_STOP ++ ++/****************************************************************************** ++* LineJACK specific IOCTLs ++* ++* The lsb 4 bits of the LED argument represent the state of each of the 4 ++* LED's on the LineJACK ++******************************************************************************/ ++ ++#define IXJCTL_SET_LED _IOW ('q', 0xCE, int) ++#define IXJCTL_MIXER _IOW ('q', 0xCF, int) ++ ++/****************************************************************************** ++* ++* The master volume controls use attenuation with 32 levels from 0 to -62dB ++* with steps of 2dB each, the defines should be OR'ed together then sent ++* as the parameter to the mixer command to change the mixer settings. ++* ++******************************************************************************/ ++#define MIXER_MASTER_L 0x0000 ++#define MIXER_MASTER_R 0x0100 ++#define ATT00DB 0x00 ++#define ATT02DB 0x01 ++#define ATT04DB 0x02 ++#define ATT06DB 0x03 ++#define ATT08DB 0x04 ++#define ATT10DB 0x05 ++#define ATT12DB 0x06 ++#define ATT14DB 0x07 ++#define ATT16DB 0x08 ++#define ATT18DB 0x09 ++#define ATT20DB 0x0A ++#define ATT22DB 0x0B ++#define ATT24DB 0x0C ++#define ATT26DB 0x0D ++#define ATT28DB 0x0E ++#define ATT30DB 0x0F ++#define ATT32DB 0x10 ++#define ATT34DB 0x11 ++#define ATT36DB 0x12 ++#define ATT38DB 0x13 ++#define ATT40DB 0x14 ++#define ATT42DB 0x15 ++#define ATT44DB 0x16 ++#define ATT46DB 0x17 ++#define ATT48DB 0x18 ++#define ATT50DB 0x19 ++#define ATT52DB 0x1A ++#define ATT54DB 0x1B ++#define ATT56DB 0x1C ++#define ATT58DB 0x1D ++#define ATT60DB 0x1E ++#define ATT62DB 0x1F ++#define MASTER_MUTE 0x80 ++ ++/****************************************************************************** ++* ++* The input volume controls use gain with 32 levels from +12dB to -50dB ++* with steps of 2dB each, the defines should be OR'ed together then sent ++* as the parameter to the mixer command to change the mixer settings. ++* ++******************************************************************************/ ++#define MIXER_PORT_CD_L 0x0600 ++#define MIXER_PORT_CD_R 0x0700 ++#define MIXER_PORT_LINE_IN_L 0x0800 ++#define MIXER_PORT_LINE_IN_R 0x0900 ++#define MIXER_PORT_POTS_REC 0x0C00 ++#define MIXER_PORT_MIC 0x0E00 ++ ++#define GAIN12DB 0x00 ++#define GAIN10DB 0x01 ++#define GAIN08DB 0x02 ++#define GAIN06DB 0x03 ++#define GAIN04DB 0x04 ++#define GAIN02DB 0x05 ++#define GAIN00DB 0x06 ++#define GAIN_02DB 0x07 ++#define GAIN_04DB 0x08 ++#define GAIN_06DB 0x09 ++#define GAIN_08DB 0x0A ++#define GAIN_10DB 0x0B ++#define GAIN_12DB 0x0C ++#define GAIN_14DB 0x0D ++#define GAIN_16DB 0x0E ++#define GAIN_18DB 0x0F ++#define GAIN_20DB 0x10 ++#define GAIN_22DB 0x11 ++#define GAIN_24DB 0x12 ++#define GAIN_26DB 0x13 ++#define GAIN_28DB 0x14 ++#define GAIN_30DB 0x15 ++#define GAIN_32DB 0x16 ++#define GAIN_34DB 0x17 ++#define GAIN_36DB 0x18 ++#define GAIN_38DB 0x19 ++#define GAIN_40DB 0x1A ++#define GAIN_42DB 0x1B ++#define GAIN_44DB 0x1C ++#define GAIN_46DB 0x1D ++#define GAIN_48DB 0x1E ++#define GAIN_50DB 0x1F ++#define INPUT_MUTE 0x80 ++ ++/****************************************************************************** ++* ++* The POTS volume control use attenuation with 8 levels from 0dB to -28dB ++* with steps of 4dB each, the defines should be OR'ed together then sent ++* as the parameter to the mixer command to change the mixer settings. ++* ++******************************************************************************/ ++#define MIXER_PORT_POTS_PLAY 0x0F00 ++ ++#define POTS_ATT_00DB 0x00 ++#define POTS_ATT_04DB 0x01 ++#define POTS_ATT_08DB 0x02 ++#define POTS_ATT_12DB 0x03 ++#define POTS_ATT_16DB 0x04 ++#define POTS_ATT_20DB 0x05 ++#define POTS_ATT_24DB 0x06 ++#define POTS_ATT_28DB 0x07 ++#define POTS_MUTE 0x80 ++ ++/****************************************************************************** ++* ++* The DAA controls the interface to the PSTN port. The driver loads the ++* US coefficients by default, so if you live in a different country you ++* need to load the set for your countries phone system. ++* ++******************************************************************************/ ++#define IXJCTL_DAA_COEFF_SET _IOW ('q', 0xD0, int) ++ ++#define DAA_US 1 /*PITA 8kHz */ ++#define DAA_UK 2 /*ISAR34 8kHz */ ++#define DAA_FRANCE 3 /* */ ++#define DAA_GERMANY 4 ++#define DAA_AUSTRALIA 5 ++#define DAA_JAPAN 6 ++ ++/****************************************************************************** ++* ++* Use IXJCTL_PORT to set or query the port the card is set to. If the ++* argument is set to PORT_QUERY, the return value of the ioctl will ++* indicate which port is currently in use, otherwise it will change the ++* port. ++* ++******************************************************************************/ ++#define IXJCTL_PORT _IOW ('q', 0xD1, int) ++ ++#define PORT_QUERY 0 ++#define PORT_POTS 1 ++#define PORT_PSTN 2 ++#define PORT_SPEAKER 3 ++#define PORT_HANDSET 4 ++ ++#define IXJCTL_PSTN_SET_STATE PHONE_PSTN_SET_STATE ++#define IXJCTL_PSTN_GET_STATE PHONE_PSTN_GET_STATE ++ ++#define PSTN_ON_HOOK 0 ++#define PSTN_RINGING 1 ++#define PSTN_OFF_HOOK 2 ++#define PSTN_PULSE_DIAL 3 ++ ++/****************************************************************************** ++* ++* The DAA Analog GAIN sets 2 parameters at one time, the receive gain (AGRR), ++* and the transmit gain (AGX). OR together the components and pass them ++* as the parameter to IXJCTL_DAA_AGAIN. The default setting is both at 0dB. ++* ++******************************************************************************/ ++#define IXJCTL_DAA_AGAIN _IOW ('q', 0xD2, int) ++ ++#define AGRR00DB 0x00 /* Analog gain in receive direction 0dB */ ++#define AGRR3_5DB 0x10 /* Analog gain in receive direction 3.5dB */ ++#define AGRR06DB 0x30 /* Analog gain in receive direction 6dB */ ++ ++#define AGX00DB 0x00 /* Analog gain in transmit direction 0dB */ ++#define AGX_6DB 0x04 /* Analog gain in transmit direction -6dB */ ++#define AGX3_5DB 0x08 /* Analog gain in transmit direction 3.5dB */ ++#define AGX_2_5B 0x0C /* Analog gain in transmit direction -2.5dB */ ++ ++#define IXJCTL_PSTN_LINETEST _IO ('q', 0xD3) ++ ++#define IXJCTL_CID _IOR ('q', 0xD4, PHONE_CID *) ++#define IXJCTL_VMWI _IOR ('q', 0xD8, int) ++#define IXJCTL_CIDCW _IOW ('q', 0xD9, PHONE_CID *) ++/****************************************************************************** ++* ++* The wink duration is tunable with this ioctl. The default wink duration ++* is 320ms. You do not need to use this ioctl if you do not require a ++* different wink duration. ++* ++******************************************************************************/ ++#define IXJCTL_WINK_DURATION PHONE_WINK_DURATION ++ ++/****************************************************************************** ++* ++* This ioctl will connect the POTS port to the PSTN port on the LineJACK ++* In order for this to work properly the port selection should be set to ++* the PSTN port with IXJCTL_PORT prior to calling this ioctl. This will ++* enable conference calls between PSTN callers and network callers. ++* Passing a 1 to this ioctl enables the POTS<->PSTN connection while ++* passing a 0 turns it back off. ++* ++******************************************************************************/ ++#define IXJCTL_POTS_PSTN _IOW ('q', 0xD5, int) ++ ++/****************************************************************************** ++* ++* IOCTLs added by request. ++* ++* IXJCTL_HZ sets the value your Linux kernel uses for HZ as defined in ++* /usr/include/asm/param.h, this determines the fundamental ++* frequency of the clock ticks on your Linux system. The kernel ++* must be rebuilt if you change this value, also all modules you ++* use (except this one) must be recompiled. The default value ++* is 100, and you only need to use this IOCTL if you use some ++* other value. ++* ++* ++* IXJCTL_RATE sets the number of times per second that the driver polls ++* the DSP. This value cannot be larger than HZ. By ++* increasing both of these values, you may be able to reduce ++* latency because the max hang time that can exist between the ++* driver and the DSP will be reduced. ++* ++******************************************************************************/ ++ ++#define IXJCTL_HZ _IOW ('q', 0xE0, int) ++#define IXJCTL_RATE _IOW ('q', 0xE1, int) ++#define IXJCTL_FRAMES_READ _IOR ('q', 0xE2, unsigned long) ++#define IXJCTL_FRAMES_WRITTEN _IOR ('q', 0xE3, unsigned long) ++#define IXJCTL_READ_WAIT _IOR ('q', 0xE4, unsigned long) ++#define IXJCTL_WRITE_WAIT _IOR ('q', 0xE5, unsigned long) ++#define IXJCTL_DRYBUFFER_READ _IOR ('q', 0xE6, unsigned long) ++#define IXJCTL_DRYBUFFER_CLEAR _IO ('q', 0xE7) ++#define IXJCTL_DTMF_PRESCALE _IOW ('q', 0xE8, int) ++ ++/****************************************************************************** ++* ++* This ioctl allows the user application to control what events the driver ++* will send signals for, and what signals it will send for which event. ++* By default, if signaling is enabled, all events will send SIGIO when ++* they occur. To disable signals for an event set the signal to 0. ++* ++******************************************************************************/ ++typedef enum { ++ SIG_DTMF_READY, ++ SIG_HOOKSTATE, ++ SIG_FLASH, ++ SIG_PSTN_RING, ++ SIG_CALLER_ID, ++ SIG_PSTN_WINK, ++ SIG_F0, SIG_F1, SIG_F2, SIG_F3, ++ SIG_FC0, SIG_FC1, SIG_FC2, SIG_FC3, ++ SIG_READ_READY = 33, ++ SIG_WRITE_READY = 34 ++} IXJ_SIGEVENT; ++ ++typedef struct { ++ unsigned int event; ++ int signal; ++} IXJ_SIGDEF; ++ ++#define IXJCTL_SIGCTL _IOW ('q', 0xE9, IXJ_SIGDEF *) ++ ++/****************************************************************************** ++* ++* These ioctls allow the user application to change the gain in the ++* Smart Cable of the Internet Phone Card. Sending -1 as a value will cause ++* return value to be the current setting. Valid values to set are 0x00 - 0x1F ++* ++* 11111 = +12 dB ++* 10111 = 0 dB ++* 00000 = -34.5 dB ++* ++* IXJCTL_SC_RXG sets the Receive gain ++* IXJCTL_SC_TXG sets the Transmit gain ++* ++******************************************************************************/ ++#define IXJCTL_SC_RXG _IOW ('q', 0xEA, int) ++#define IXJCTL_SC_TXG _IOW ('q', 0xEB, int) ++ ++/****************************************************************************** ++* ++* The intercom IOCTL's short the output from one card to the input of the ++* other and vice versa (actually done in the DSP read function). It is only ++* necessary to execute the IOCTL on one card, but it is necessary to have ++* both devices open to be able to detect hook switch changes. The record ++* codec and rate of each card must match the playback codec and rate of ++* the other card for this to work properly. ++* ++******************************************************************************/ ++ ++#define IXJCTL_INTERCOM_START _IOW ('q', 0xFD, int) ++#define IXJCTL_INTERCOM_STOP _IOW ('q', 0xFE, int) ++ ++/****************************************************************************** ++ * ++ * new structure for accessing raw filter information ++ * ++ ******************************************************************************/ ++ ++typedef struct { ++ unsigned int filter; ++ char enable; ++ unsigned int coeff[19]; ++} IXJ_FILTER_RAW; ++ ++#endif --- openh323-1.18.0.orig/debian/patches/00list +++ openh323-1.18.0/debian/patches/00list @@ -0,0 +1,4 @@ +01_openh323u.mak.in +03_Makefile.in +10_openh323u.mak +ixjuser.h --- openh323-1.18.0.orig/debian/patches/02_transport.h.dpatch +++ openh323-1.18.0/debian/patches/02_transport.h.dpatch @@ -0,0 +1,47 @@ +#! /bin/sh -e +## 02_transports.h.dpatch by Tim Johann +## +## DP: Fixes the libraries' file names + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi + +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 +@DPATCH@ +--- openh323/include/transports.h 2003-04-10 11:44:55.000000000 +0200 ++++ openh323-1.12.0/include/transports.h 2003-08-16 01:26:30.000000000 +0200 +@@ -248,10 +248,10 @@ + + /**Create a listener based on this transport address. + +- For example an address of "ip$10.0.0.1:1720" would create a TCP ++ For example an address of "#ip$10.0.0.1:1720#" would create a TCP + listening socket that would be bound to the specific interface + 10.0.0.1 and listens on port 1720. Note that the address +- "ip$*:1720" can be used to bind to INADDR_ANY. ++ "#ip$*:1720#" can be used to bind to INADDR_ANY. + + Also note that if the address has a trailing '+' character then the + socket will be bound using the REUSEADDR option. +@@ -262,7 +262,7 @@ + + /**Create a listener compatible for this address type. + This is similar to CreateListener() but does not use the TSAP specified +- in the H323Transport. For example an address of "ip$10.0.0.1:1720" ++ in the H323Transport. For example an address of "#ip$10.0.0.1:1720#" + would create a TCP listening socket that would be bound to the specific + interface 10.0.0.1 but listens on a random OS allocated port number. + */ --- openh323-1.18.0.orig/debian/patches/03_Makefile.in.dpatch +++ openh323-1.18.0/debian/patches/03_Makefile.in.dpatch @@ -0,0 +1,37 @@ +#! /bin/sh -e +## fileS4HgHb.dpatch by Jose Carlos Garcia Sogo +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +if [ $# -lt 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" + +case "$1" in + -patch) patch -p1 ${patch_opts} < $0;; + -unpatch) patch -R -p1 ${patch_opts} < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad /home/jose/devel/pkg-voip/openh323/build-area/openh323-1.14.4/Makefile.in openh323-1.14.4/Makefile.in +--- /home/jose/devel/pkg-voip/openh323/build-area/openh323-1.14.4/Makefile.in 2004-07-24 13:14:44.000000000 +0200 ++++ openh323-1.14.4/Makefile.in 2004-07-24 13:15:54.000000000 +0200 +@@ -275,7 +275,7 @@ + # export NOAUDIOCODECS=true + # export NOVIDEO=true + +-SUBDIRS := samples/simple ++SUBDIRS := + + ifneq (,$(wildcard dump323)) + SUBDIRS += dump323 --- openh323-1.18.0.orig/debian/rules +++ openh323-1.18.0/debian/rules @@ -0,0 +1,214 @@ +#!/usr/bin/make -f + +export DH_COMPAT=4 + +# Change this on API breakage +export LIBH323COMPAT=1.17.4 + +#PACKAGE=libopenh323-$(LIBH323COMPAT) +PACKAGE=libopenh323-1.18.0 + +VER_MAJOR := $(shell awk '/MAJOR_VERSION/ { print $$3 }' version.h 2>/dev/null) +VER_MINOR := $(shell awk '/MINOR_VERSION/ { print $$3 }' version.h 2>/dev/null) +VER_SUB := $(shell awk '/BUILD_NUMBER/ { print $$3 }' version.h 2>/dev/null) + +SHLIBSVER=$(VER_MAJOR).$(VER_MINOR).$(VER_SUB) + +MAKE_BUILD_PARAM=OPENH323DIR=$(CURDIR) + +include /usr/share/dpatch/dpatch.make + +export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + confflags += --build $(DEB_HOST_GNU_TYPE) +else + confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +endif + + +build: build-arch build-indep + +build-arch: build-arch-stamp + +Makefile: patch-stamp autotools configure + CFLAGS=-I$(CURDIR)/include ./configure $(confflags) --prefix=/usr --enable-plugins + +autotools: + -if [ -f config.sub.old ]; then \ + rm -f config.sub; \ + elif [ -f config.sub ];then \ + mv config.sub config.sub.old; \ + fi + -if [ -f config.guess.old ]; then \ + rm -f config.guess; \ + elif [ -f config.guess ];then \ + mv config.guess config.guess.old; \ + fi + ln -s /usr/share/misc/config.sub config.sub + ln -s /usr/share/misc/config.guess config.guess + + - (cd plugins ; \ + if [ -f config.sub.old ]; then \ + rm -f config.sub; \ + elif [ -f config.sub ];then \ + mv config.sub config.sub.old; \ + fi; \ + if [ -f config.guess.old ]; then \ + rm -f config.guess; \ + elif [ -f config.guess ];then \ + mv config.guess config.guess.old; \ + fi; \ + ln -s /usr/share/misc/config.sub config.sub; \ + ln -s /usr/share/misc/config.guess config.guess; \ + cd ..) + touch autotools + +build-arch-stamp: Makefile + $(MAKE) opt optnoshared + + # This dirty stuff is done to compile simple with apropiate options + $(MAKE) $(MAKE_BUILD_PARAM) -C samples/simple clean opt + + # Check that there is not any blatant error + LD_LIBRARY_PATH=$(CURDIR)/lib samples/simple/obj_*_r/simph323 --help >/dev/null + $(MAKE) $(MAKE_BUILD_PARAM) -C samples/simple clean + + touch build-arch-stamp + +build-indep: build-indep-stamp +build-indep-stamp: + $(MAKE) docs + touch build-indep-stamp + +clean: clean-patched unpatch +clean-patched: + dh_testdir + dh_testroot + -rm -f build-arch-stamp build-indep-stamp patch-stamp + -rm -f config.status config.log autotools + if [ -f Makefile ];then \ + $(MAKE) $(MAKE_BUILD_PARAM) optclean clean ;\ + $(MAKE) $(MAKE_BUILD_PARAM) -C samples/simple clean;\ + fi + -rm -rf samples/simple/obj* + -rm -f Makefile openh323u.mak include/openh323buildopts.h + -rm -rf lib + -rm -f src/speex/libspeex/Makefile + -rm -rf html + -rm -f `find . -name "*~"` + -rm -rf `find debian/* -type d -name libopenh323-*` debian/files* core + -rm -rf debian/simph323/ + -rm -f debian/*substvars + -rm -f debian/*.debhelper + -rm -f debian/libopenh323-*.*.docs + + -if [ -f config.sub.old ]; then \ + mv config.sub.old config.sub; \ + fi + -if [ -f config.guess.old ]; then \ + mv config.guess.old config.guess; \ + fi + + -(cd plugins; \ + if [ -f config.sub.old ]; then \ + mv -f config.sub.old config.sub; \ + fi; \ + if [ -f config.guess.old ]; then \ + mv -f config.guess.old config.guess; \ + fi; \ + cd ..) + dh_clean + +install: install-indep install-arch +install-indep: + dh_testdir + dh_testroot + dh_clean -k -i + dh_installdirs -i + +install-arch: + dh_testdir + dh_testroot + dh_clean -k -a + dh_installdirs -a + + $(MAKE) $(MAKE_BUILD_PARAM) INSTALL_DIR=$(CURDIR)/debian/$(PACKAGE)/usr -C src install + $(MAKE) $(MAKE_BUILD_PARAM) DESTDIR=$(CURDIR)/debian/$(PACKAGE) -C plugins install +ifneq ($(SHLIBSVER),$(LIBH323COMPAT)) + ln -s libopenh323.so.$(SHLIBSVER) \ + debian/$(PACKAGE)/usr/lib/libopenh323.so.$(LIBH323COMPAT) +endif + $(MAKE) $(MAKE_BUILD_PARAM) INSTALL_DIR=$(CURDIR)/debian/simph323/usr -C samples/simple install +# clean simple to install it as a sample in the docs + $(MAKE) $(MAKE_BUILD_PARAM) -C samples/simple clean + -rmdir samples/simple/obj* + +# libopenh323-dev package + dh_movefiles -plibopenh323-dev --sourcedir=debian/$(PACKAGE) usr/lib/libopenh323.so + rm debian/$(PACKAGE)/usr/lib/libopenh323.so.? \ + debian/$(PACKAGE)/usr/lib/libopenh323.so.?.?? + + cp -v lib/libopenh323.a debian/libopenh323-dev/usr/lib + sed -e 's#^OPENH323DIR.*#OPENH323DIR = \/usr\/share\/openh323#g' \ + openh323u.mak > debian/libopenh323-dev/usr/share/openh323/openh323u.mak + cp -vr include/* $(CURDIR)/debian/libopenh323-dev/usr/include/openh323/. + cp version.h debian/libopenh323-dev/usr/include/openh323/ + find debian/libopenh323-dev/usr/include -type f -exec chmod 644 {} \; + + # linking stuff under usr/share/openh323 + ln -s ../../include/openh323/version.h debian/libopenh323-dev/usr/share/openh323/ + ln -s ../../include/openh323 debian/libopenh323-dev/usr/share/openh323/include + ln -s ../../lib debian/libopenh323-dev/usr/share/openh323/ + +# doc + cp debian/libopenh323.docs debian/$(PACKAGE).docs + +# Must not depend on anything. This is to be called by +# binary-arch/binary-multi +# in another 'make' thread. +binary-common: + + dh_testdir + dh_testroot + dh_installdocs + dh_installman + dh_installexamples + dh_installchangelogs ChangeLog + + # Remove all CVS sub-directories + find debian -name "CVS" -type d|xargs rm -rf + find debian -name .cvsignore -exec rm -f {} \; + + dh_link + dh_compress + dh_fixperms + dh_makeshlibs -V "$(PACKAGE) (>= $(SHLIBSVER))" + dh_installdeb + + dh_shlibdeps -L $(PACKAGE) -l debian/$(PACKAGE)/usr/lib + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-strip: + dh_testdir + dh_testroot + dh_strip --keep-debug --exclude=libopenh323_d + + cp -af debian/$(PACKAGE)/usr/lib/debug debian/libopenh323-dbg/usr/lib && \ + rm -rf debian/$(PACKAGE)/usr/lib/debug + rm -rf debian/simph323/usr/lib/ + +# Build architecture independant packages using the common target. +binary-indep: build-indep install-indep + $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependant packages using the common target. +binary-arch: build-arch install-arch + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-strip + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + +binary: binary-arch binary-indep +.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch clean-patched --- openh323-1.18.0.orig/debian/libopenh323-dbg.dirs +++ openh323-1.18.0/debian/libopenh323-dbg.dirs @@ -0,0 +1 @@ +usr/lib --- openh323-1.18.0.orig/debian/changelog +++ openh323-1.18.0/debian/changelog @@ -0,0 +1,494 @@ +openh323 (1.18.0-2~schmidham.net.1) stable; urgency=low + + * Backport to sarge, no changes + + -- Korbinian Rosenegger Fri, 22 Sep 2006 04:04:01 +0200 + +openh323 (1.18.0-2) unstable; urgency=low + + * debian/patches/ixjuser.h: Fix building on Ubuntu. + * debian/control: Conflict with openh323 1.17.3. (Closes: #359130) + * debian/rules: Use CURDIR rather than PWD to make sure we can build with + sudo. + + -- Kilian Krause Sun, 16 Apr 2006 22:52:10 +0000 + +openh323 (1.18.0-1) unstable; urgency=low + + * New upstream release (Atlas_release tag). + * hushed version.h error message when tarball not yet extracted + * Removed unneeded dependency on libpt-dbg + + -- Kilian Krause Tue, 14 Mar 2006 00:43:23 +0000 + +openh323 (1.17.4-1) unstable; urgency=low + + * New upstream version (Atlas_devel3) to match with Phobos release of PWLib. + * debian/rules: fix OPENH323DIR preset in openh323u.mak. + + -- Kilian Krause Sat, 18 Feb 2006 18:31:48 +0100 + +openh323 (1.15.6-3) unstable; urgency=high + + * Fix conflicts to replace last Debian version with old libstc++ API. + (Closes: #342217) + * Setting high urgency due to fixing RC bug. + + -- Kilian Krause Fri, 9 Dec 2005 23:05:52 +0100 + +openh323 (1.15.6-2) unstable; urgency=high + + [ Mark Purcell ] + * Copyright audit to debian/copyright + + [ Jose Carlos Garcia Sogo ] + * Bumped Standards-Version to 3.6.2. No changes needed. + + [ Kilian Krause ] + * Change library name for new libstdc++ transition. (Closes: #339242) + * Priority high due to fixing RC bug. + * Remove unneeded legacy symlinks. + + -- Kilian Krause Sun, 4 Dec 2005 00:59:25 +0100 + +openh323 (1.15.6-1) unstable; urgency=low + + * Mimas_patch2 is called 1.15.6. Rebuilding to agree with dh_shlibdeps. + + -- Kilian Krause Wed, 14 Sep 2005 18:15:34 +0200 + +openh323 (1.15.3-5) unstable; urgency=low + + [ Jose Carlos Garcia Sogo ] + * debian/control: Add libopenh323-1.15.2c2 to the replaces list so Ubuntu + can be in sync with us again. + + [ Kilian Krause ] + * Update to Mimas_patch2. + * Move all unneeded symlinks to -dev package where they belong and don't + conflict no more with libs we don't share files with. (Closes: #320113) + + -- Kilian Krause Tue, 13 Sep 2005 20:00:43 +0200 + +openh323 (1.15.3-4) unstable; urgency=low + + * Build-Depend on the first libpt-dbg version compiled after C++ ABI + transition. (Closes: #321090) + * Remove build dependency in g++. + + -- Jose Carlos Garcia Sogo Wed, 3 Aug 2005 22:40:02 +0200 + +openh323 (1.15.3-3) unstable; urgency=low + + * Upload for GCC4.0 ABI transition. + * Renamed binary package to libopenh323-1.15.3c2 + * Build-Depends on pwlib (>= 1.8.4-1.1) + * Applied Mimas_patch1. + + -- Jose Carlos Garcia Sogo Fri, 15 Jul 2005 10:17:19 +0300 + +openh323 (1.15.3-2) unstable; urgency=low + + * Fixed warnings in autotools target. + * debian/patches/04_vic_p64.dpatch: fix 64bit issue with gcc-4.0 + (Closes:#287864) + * debian/patches/05_h261fix.dpatch: fix quality problems with some remote + endpoints. + + -- Kilian Krause Fri, 4 Mar 2005 01:22:46 +0100 + +openh323 (1.15.3-1) unstable; urgency=low + + * New upstream release. Codename Mimas. + * Upload targetted for SID. + * debian/copyright: Fixed URLs to be voxgratia.org rather than openh323.org. + The latter isn't updated since a year now. + * debian/rules: Removed all additional CFLAGS. If any problems remain, we + want them to be fixed upstream. + * debian/01_openh323u.mak.in: Updated to include -fPIC -DPIC for shared + libs. + + -- Kilian Krause Mon, 21 Feb 2005 00:17:39 +0000 + +openh323 (1.15.2-2) experimental; urgency=low + + * debian/control: fixed build-deps (removed doc++) + * Compiled against new libpt-1.8.3 package to have correct dependencies. + + -- Jose Carlos Garcia Sogo Sat, 18 Dec 2004 12:19:30 +0100 + +openh323 (1.15.2-1) experimental; urgency=low + + * Jose Carlos: + + New upstream version (atlas). + + debian/rules: set OPENH323DIR to /usr/share/openh323 (Closes: #281133) + + Removed stripped objects from simph323 package. + + * Kilian + + debian/rules: minor cleanups + + -- Jose Carlos Garcia Sogo Wed, 24 Nov 2004 22:13:52 +0100 + +openh323 (1.14.4.2-3) experimental; urgency=low + + * Fixed Maintainer filed, hosed by pbuilder. + * These are the new stable releases. (Closes: #270062) + + -- Jose Carlos Garcia Sogo Sat, 2 Oct 2004 17:31:36 +0200 + +openh323 (1.14.4.2-2) experimental; urgency=low + + * debian/rules: + + drop debugshared and debugnoshared make targets + + make -dbg package to only keep stripped symbols from shared library. + + * README.Debian: updated. + + -- Jose Carlos Garcia Sogo Fri, 1 Oct 2004 21:19:32 +0200 + +openh323 (1.14.4.2-1) experimental; urgency=low + + * Jose Carlos + + debian/rules: + - fix linking of fake directory structure in /usr/share/openh323 to real + location in -dev package. Basically, /usr/share/openh323/include must link + with /usr/include/openh323. + - use architecture given by dpkg-architecture, and pass it to configure + script. + + + debian/patches: + - 10_openh323u.mak: adds a (non standard) variable RELATED_PKG_MAKEFILE + that related packages including openh323u.mak file in their makefile + should set to avoid them trying to build openh323 lib themselves. + + +debian/control: + - Added doxygen as Build-Dependency. + + * Kilian + + New upstream update (Pandora RC2) + + debian/rules: + - try package before wrapping it up. + - include audio plugins into main package, as for now there's few point + including them as one package each. Later we could do a + libopenh323-codecs-essential or libopenh323-codecs-free when this is + having more upstream codecs available or supplementary codecs are + publically available. + + -- Jose Carlos Garcia Sogo Tue, 28 Sep 2004 21:30:28 +0200 + +openh323 (1.14.4-1) experimental; urgency=low + + * New upstream release. + * debian/patches: + - 03_Makefile.in: adjusted to new version. + - 04_src_Makefile.in, + - 05_src_speexcodec.cxx, + - 06_src_mscodecs.cxx, + - 07_src_gsmcodec.cxx, + - 08_src_ixjunix.cxx, + - 09_fastUpdate-fix: no longer needed. Deleted. + - 00list: adjusted to apply only needed patches. + + * debian/rules: + - install upstream ChangeLog, not a copy in Debian + - set compatibility to 1.14.4, as this version is not compatible with + older ones. + + * debian/control: change package name to contain new library version. + + * debian/ChangeLog: deleted. + + -- Jose Carlos Garcia Sogo Sat, 24 Jul 2004 15:28:17 +0200 + +openh323 (1.13.4-3) unstable; urgency=low + + * Jose Carlos: + + debian/control: + - bumped Build-Depends to libsasl2-dev + - bumped Build-Depends to libpt-dbg (= 1.6.5-3) to avoid problems with + mixed versions. + + -- Jose Carlos Garcia Sogo Sun, 27 Jun 2004 15:45:51 +0200 + +openh323 (1.13.4-2) unstable; urgency=low + + * Version uploaded to unstable. + * Maintainer field set to Debian VoIP Team. + + -- Jose Carlos Garcia Sogo Tue, 15 Jun 2004 22:08:19 +0200 + +openh323 (1.13.4-1) experimental; urgency=low + + * New upstream version. + * Version number in rules file determined by parsing version.h + + -- Tim Johann Fri, 26 Mar 2004 01:57:38 +0100 + +openh323 (1.13.2-2) experimental; urgency=low + + * adjusted modification of openh323u.mak after building. + * added versioned dependency of libopenh323-dev on libpt-dev (>= 1.6.3-1). + * added Build-Conflicts: libopenh323-dev, so that installed lib-symlink + won't interfere. + + -- Tim Johann Sat, 13 Mar 2004 22:58:07 +0100 + +openh323 (1.13.2-1) experimental; urgency=low + + * New upstream version. + + -- Tim Johann Fri, 27 Feb 2004 19:36:10 +0100 + +openh323 (1.13.1-1) experimental; urgency=low + + * New upstream version. Closes: #208938. + * Added Build-Conflicts on linux-kernel-headers (<< 2.5.999-test7-bk-14 ). + Closes: #222328. + + -- Tim Johann Mon, 16 Feb 2004 20:25:02 +0100 + +openh323 (1.12.2-4) unstable; urgency=low + + * Added patch to fix deadlock problem with openMCU. + * Standards version 3.6.1 . + * Removed '-pipe', hopefully to get rid of bug #218841. + + -- Tim Johann Tue, 21 Oct 2003 22:28:57 +0200 + +openh323 (1.12.2-3) unstable; urgency=low + + * added patch to fix identification of cards by nixj driver. + Closes: #214093 + + -- Tim Johann Sun, 5 Oct 2003 01:02:43 +0200 + +openh323 (1.12.2-2) unstable; urgency=low + + * added lines to clean up in samples/simple. + * readded build deps on debian's libgsm1-dev, libspeex1 and + libspeex1-dev. It was a mistake to remove them. closes: #209405 + * put the changes for compilation with the aforementioned external + libraries into dpatch format. + * the seperate build of static libs without "-fPIC -PIC" wasn't + necessary. Closes: #209151 + + -- Tim Johann Sat, 13 Sep 2003 00:21:51 +0200 + +openh323 (1.12.2-1) unstable; urgency=low + + * New upstream version. + * static libs built without "-fPIC -PIC" + + -- Tim Johann Tue, 26 Aug 2003 02:54:21 +0200 + +openh323 (1.12.0-1) unstable; urgency=low + + * New upstream version. + * New Maintainer. Closes: #200472 + * New build uses autoconf + * Added version.h under /usr/include/openh323 linked + /usr/share/openh323/version.h to it. Closes: #198897 + * Added README.Debian + * Changed naming scheme of the libraries in favour of a simpler one. + The shared libs now look like libopen323.so.$(SOVERSION). + * complies standards vesion 3.6.0 + * debhelper version 4 compatibility + + -- Tim Johann Sun, 31 Jul 2003 23:14:15 +0200 + +openh323 (1.11.7-5) unstable; urgency=low + + * Try to fix the building problems on 64 bits. + + -- Santiago Garcia Mantinan Wed, 16 Apr 2003 17:45:06 +0200 + +openh323 (1.11.7-4) unstable; urgency=low + + * Build with the nearly fixed speex libs. Closes: #186383. + + -- Santiago Garcia Mantinan Fri, 4 Apr 2003 17:10:32 +0200 + +openh323 (1.11.7-3) unstable; urgency=low + + * Build with the new speex libs. Closes: #180105. + + -- Santiago Garcia Mantinan Wed, 26 Mar 2003 22:22:43 +0100 + +openh323 (1.11.7-2) unstable; urgency=low + + * Build with IPv6 support. + + -- Santiago Garcia Mantinan Sun, 16 Mar 2003 23:34:39 +0100 + +openh323 (1.11.7-1) unstable; urgency=low + + * New upstream version. + * Applied patch from Jeremy Nimmer, thanks. + Let's hope this closes #180105. + * Make index signed. Closes: #182152. + * Applied cvs patches for h261codec.cxx, h323.cxx & transports.cxx. + * Reworked the rules as in pwlib. + + -- Santiago Garcia Mantinan Mon, 10 Mar 2003 19:23:02 +0100 + +openh323 (1.11.4-1) unstable; urgency=low + + * We're moving to GCC 3.2, not tagging as soname has changed. + * New upstream version. Closes: #172252. + * New libpt doesn't force 1394. Closes #170478. + + -- Santiago Garcia Mantinan Sat, 25 Jan 2003 22:30:23 +0100 + +openh323 (1.9.10-1) unstable; urgency=low + + * New upstream version. + + -- Santiago Garcia Mantinan Wed, 23 Oct 2002 17:54:10 +0200 + +openh323 (1.9.3-1) unstable; urgency=low + + * New upstream version. + + -- Santiago Garcia Mantinan Wed, 10 Jul 2002 12:28:56 +0200 + +openh323 (1.8.8-1) unstable; urgency=low + + * New upstream version. + + -- Santiago Garcia Mantinan Mon, 27 May 2002 18:45:02 +0200 + +openh323 (1.8.4-2) unstable; urgency=low + + * Add doc++ to the build-depends. + + -- Santiago Garcia Mantinan Fri, 19 Apr 2002 17:17:13 +0200 + +openh323 (1.8.4-1) unstable; urgency=low + + * New upstream version. Packaging was dalayed by pwlib package. + Closes: #140675. + * Moved back into main. + * Removed Damien's dirty hack for inexistant hosts. + * Added a doc package. Closes: #121788. + * Changed the description a bit. Closes: #135510. + + -- Santiago Garcia Mantinan Mon, 8 Apr 2002 22:09:14 +0200 + +openh323 (1.7.4-6) unstable; urgency=low + + * Included a fix for the video reception on netmeeting, now video + should be smooth. The patch comes from upstream and was submited + to me by Nicolas, thanks ;-) + * Fixed upstream urls on their ReadMe. Closes: #126693. + + -- Santiago Garcia Mantinan Sat, 2 Feb 2002 22:56:34 +0100 + +openh323 (1.7.4-5) unstable; urgency=low + + * Added a dirty hack from Damien for the segfault on calling + inexistant hosts. + + -- Santiago Garcia Mantinan Sat, 15 Dec 2001 11:54:24 +0100 + +openh323 (1.7.4-4) unstable; urgency=high + + * Change default location for PWLIBDIR to cope with Linux dists + agreement wich Debian follows. Closes: #121749. + * Compile with -O0 for alpha, sugested by mhp, thanks. + Closes: #122198. + + -- Santiago Garcia Mantinan Sat, 8 Dec 2001 20:24:34 +0100 + +openh323 (1.7.4-3) unstable; urgency=low + + * Put back that line on the rules that got deleted by error and + that was stopping autobuilders. Closes: #121174. + + -- Santiago Garcia Mantinan Mon, 26 Nov 2001 22:38:12 +0100 + +openh323 (1.7.4-2) unstable; urgency=low + + * Updated build-depends. Closes: #120972. + + -- Santiago Garcia Mantinan Sun, 25 Nov 2001 17:03:03 +0100 + +openh323 (1.7.4-1) unstable; urgency=low + + * New upstream version. + * Heavily rewritten, we now allow several versions of the libs to + be installed and I'll try to guess compatibility info and try to + state that in the version numbering and shlibs of the package. + * Reworked the -dbg package, it now has a shared version of the + debug libs instead of two static identic ones. Fixed some bugs + that could break compiling with debug activated. + + -- Santiago Garcia Mantinan Wed, 21 Nov 2001 22:18:31 +0100 + +openh323 (1.6.1-1) unstable; urgency=high + + * New upstream version. + + -- Santiago Garcia Mantinan Tue, 4 Sep 2001 10:43:04 +0200 + +openh323 (1.6.0-3) unstable; urgency=low + + * Upgrade channels.cxx from cvs and fixed it. Closes: #109274. + * Add -dbg package with debug version of the libs. + * Removed README.Debian explaining how to build the debug version. + + -- Santiago Garcia Mantinan Tue, 28 Aug 2001 15:15:41 +0200 + +openh323 (1.6.0-2) unstable; urgency=low + + * Use DEB_BUILD_OPTIONS for getting the debug version compiled. + Closes: #109156. + * Create versioned shlibs. + * Apply patch to fix StartListener bug. Thanks to Artis and cvs ;-) + * Link with our libgsm. Thanks to Miguel Rodriguez (migras). + Closes: #103538. + + -- Santiago Garcia Mantinan Wed, 22 Aug 2001 13:14:40 +0200 + +openh323 (1.6.0-1) unstable; urgency=low + + * New upstream version. + * Moved it to non-US. Closes: #108642. + * Switched linking way. Closes: #108159. + * Provide a way to build debug version, explained on README.Debian. + + -- Santiago Garcia Mantinan Mon, 13 Aug 2001 21:48:35 +0200 + +openh323 (1.5.6-2) unstable; urgency=low + + * Changed the way on wich the source code is compiled. + * Compiled simple without -fPIC and added -ffunction-sections to the + libs to solve compilation problems on some archs (like hppa). + * Execution of built programs still seems to crash under hppa, at least + on paer.d.o, reports/suggestions on this are welcome. + + -- Santiago Garcia Mantinan Tue, 7 Aug 2001 18:31:40 +0200 + +openh323 (1.5.6-1) unstable; urgency=low + + * Added libssl-dev build dependency. + * Added a small man page for simph323. + * Moved upstream Readme.txt from liboh323-dev to liboh323v1. + * New upstream version. Closes: #105407. + * g++ doesn't complain any more, at least not here. Closes: #103801. + * Changed description, hope this one is better. Closes: #87129. + * New maintainer. + + -- Santiago Garcia Mantinan Mon, 6 Aug 2001 12:24:46 +0200 + +openh323 (1.1pl1-1.1) unstable; urgency=low + + * NMU with permission of Raphael Bossek. + * Added build dependencies. (closes: #87249, #89181, #92380) + + -- Adrian Bunk Tue, 15 May 2001 01:07:20 +0200 + +openh323 (1.1pl1-1) unstable; urgency=low + + * First upstream version. + + -- Raphael Bossek Tue, 6 Feb 2001 21:31:31 +0100 --- openh323-1.18.0.orig/debian/watch +++ openh323-1.18.0/debian/watch @@ -0,0 +1,8 @@ +# format version number, currently 2; this line is compulsory! +version=2 + +# Line continuations are performed with \ + +# This the format for an FTP site: +# Full‐site‐with‐pattern [Version [Action]] +http://www.voxgratia.org/releases/openh323-v(.*)\.tar\.gz debian uupdate --- openh323-1.18.0.orig/debian/dirs +++ openh323-1.18.0/debian/dirs @@ -0,0 +1 @@ +usr/lib --- openh323-1.18.0.orig/debian/simph323.manpages +++ openh323-1.18.0/debian/simph323.manpages @@ -0,0 +1 @@ +debian/simph323.1 --- openh323-1.18.0.orig/debian/libopenh323-dev.dirs +++ openh323-1.18.0/debian/libopenh323-dev.dirs @@ -0,0 +1,2 @@ +usr/include/openh323 +usr/share/openh323 --- openh323-1.18.0.orig/debian/simph323.1 +++ openh323-1.18.0/debian/simph323.1 @@ -0,0 +1,147 @@ +'\" t +.\" Man page for simph323 +.\" Santiago Garcia Mantinan (manty) 18 Jul 2001 +.\" +.TH simph323 1 "18 Jul 2001" +.LO 1 +.SH NAME +simph323 \- simple H.323 client given as an example +.SH SYNOPSIS +.B simph323 +\-l|\-\-listen [\fIoptions\fR]... +.LP +.B simph323 +[\fIoptions\fR]... \fIaddress\fR +.SH DESCRIPTION +.PP +.B simph323 +is a command line application that is given as an example of what you can do +with openh323, it is a simple h323 client that can be used to listen for +incoming H.323 calls, or to initiate a call to a remote host, however, if +you want a real h323 client I'd suggest you check out ohphone. + +.B simph323 +includes a really simple prompt where you can pick up incoming calls or +reject them as they arrive, also hang up active calls (with the \fIh\fR +command) and exit the program (with the \fIx\fR command). + +When used with the \-l option, +.B simph323 +will wait for incoming calls. If this option is not specified, +.B simph323 +expects a hostname to be specified and will attempt to connect to a H.323 +client at that address. + +.SH OPTIONS +.PP +All of the command line options to +.B simph323 +can be specified in long form, and the most commonly used options also have single character equivalents. + +.TP +\fB\-a\fR, \fB\-\-auto\-answer\fR +Automatically answer incoming calls. + +.TP +\fB\-b\fR, \fB\-\-bandwidth\fR \fIbps\fR +Limit bandwidth usage reported to gatekeeper to \fIbps\fR bits/second. + +.TP +\fB\-D\fR, \fB\-\-disable\fR \fIcodec\fR +Disable the specified codec (may be used multiple times). + +.TP +\fB\-f\fR, \fB\-\-fast\-disable\fR +Do not request H323V2 FastConnect when initiaiting a connection. + +.TP +\fB\-B\fR, \fB\-\-forward\-busy\fR \fIparty\fR +Forward the call to the remote party if busy. + +.TP +\fB\-g\fR, \fB\-\-gatekeeper\fR \fIhost\fR +Upon startup, register only with the specified gatekeeper rather than attempting to find a gatekeeper by using UDP broadcast. + +.TP +\fB\-T\fR, \fB\-\-h245tunneldisable\fR +Do not perform H245 tunneling when initiating a connection. + +.TP +\fB\-h\fR, \fB\-\-help\fR +Show help message. + +.TP +\fB\-i\fR, \fB\-\-interface\fR \fIinterface\fR +Only bind to the specified network interface address. +By default, +.B simph323 +automatically listens for incoming calls on all TCP/IP network interfaces available on the host machine. +This option is useful for running multiple copies of +.B simph323 +on the same multi\-homed machine, or for ensuring that only calls from the external, or internal, network will be received on a particular handset. + +.TP +\fB\-j\fR, \fB\-\-jitter\fR \fIdelay\fR +Set jitter buffer to \fIdelay\fR ms. By default, the jitter buffer is set to 50 ms. + +.TP +\fB\-l\fR, \fB\-\-listen\fR +Listen for incoming calls. + +.TP +\fB\-n\fR, \fB\-\-no\-gatekeeper\fR +Do not attempt to find a gatekeeper upon startup using UDP broadcast. + +.TP +\fB\-o\fR, \fB\-\-output\fR \fIfilename\fR +Write trace output (enabled with the \fB\-t\fR option) to the specified file rather than to stderr. + +.TP +\fB\-P\fR, \fB\-\-prefer\fR \fIcodec\fR +Prefer the specified codec (may be used multiple times). + +.TP +\fB\-r\fR, \fB\-\-require\-gatekeeper\fR +Exit if a gatekeeper cannot be found. + +.TP +\fB\-e\fR, \fB\-\-silence\fR +Disable silence detection and removal for GSM and software G.711. + +.TP +\fB\-s\fR, \fB\-\-sound\fR \fIdevice\fR +Select the sound input and output device. The default value is /dev/dsp0. + +.TP +\fB\-\-sound\-in\fR, \fB\-\-sound\-out\fR \fIdevice\fR +Select the sound input or output device seperately. Only needed if different sound devices are needed for input and output. + +.TP +\fB\-t\fR, \fB\-\-trace\fR +Enable debug tracing, which displays messages at run\-time to assist in debugging or problem identification. +Specifying this option multiple time increases the amount of information displayed. +.B simph323 +has trace statements up to level 5. Use the \fB\-o\fR option to write the trace information to a file rather than to stderr. + +.TP +\fB\-u\fR, \fB\-\-user\fR \fIname\fR +Set local endpoint alias name. Can be used multiple times to add multiple aliases. +By default, the alias list contains a single entry with the current user's login name. + +.SH EXAMPLES +.PP + +.TP +simph323 -l +Find a gatekeeper on the local network, register with it, and then listen for incoming calls. + +.TP +simph323 -ln +Listen for calls without registering with a gatekeeper. + +.TP +simph323 -n \fIipaddress\fR +Make a call directly to another endpoint without using a gatekeeper + +.SH "SEE ALSO" +None --- openh323-1.18.0.orig/debian/simph323.dirs +++ openh323-1.18.0/debian/simph323.dirs @@ -0,0 +1 @@ +usr/bin --- openh323-1.18.0.orig/debian/copyright +++ openh323-1.18.0/debian/copyright @@ -0,0 +1,425 @@ +This is the Debian GNU/Linux packaged version of openh323. + +The author of this software is Equivalence Pty. Ltd. + +Original packaging for Debian by + Raphael Bossek +Heavily modified by + Santiago Garcia Mantinan +further modified and now maintained by + Tim Johann + and + Kilian Krause +and lately maintained by + Debian VoIP Team + +The sources where downloaded from: + + http://sourceforge.net/projects/openh323 + +Copyright: + +This software is released under the terms of the MPL (Mozilla Public license). + + MOZILLA PUBLIC LICENSE + Version 1.0 + + ---------------- + +1. Definitions. + + 1.1. ``Contributor'' means each entity that creates or contributes to + the creation of Modifications. + + 1.2. ``Contributor Version'' means the combination of the Original + Code, prior Modifications used by a Contributor, and the Modifications + made by that particular Contributor. + + 1.3. ``Covered Code'' means the Original Code or Modifications or the + combination of the Original Code and Modifications, in each case + including portions thereof. + + 1.4. ``Electronic Distribution Mechanism'' means a mechanism generally + accepted in the software development community for the electronic + transfer of data. + + 1.5. ``Executable'' means Covered Code in any form other than Source + Code. + + 1.6. ``Initial Developer'' means the individual or entity identified as + the Initial Developer in the Source Code notice required by Exhibit A. + + 1.7. ``Larger Work'' means a work which combines Covered Code or + portions thereof with code not governed by the terms of this License. + + 1.8. ``License'' means this document. + + 1.9. ``Modifications'' means any addition to or deletion from the + substance or structure of either the Original Code or any previous + Modifications. When Covered Code is released as a series of files, a + Modification is: + + A. Any addition to or deletion from the contents of a file + containing Original Code or previous Modifications. + + B. Any new file that contains any part of the Original Code or + previous Modifications. + + 1.10. ``Original Code'' means Source Code of computer software code + which is described in the Source Code notice required by Exhibit A as + Original Code, and which, at the time of its release under this License + is not already Covered Code governed by this License. + + 1.11. ``Source Code'' means the preferred form of the Covered Code for + making modifications to it, including all modules it contains, plus any + associated interface definition files, scripts used to control + compilation and installation of an Executable, or a list of source code + differential comparisons against either the Original Code or another + well known, available Covered Code of the Contributor's choice. The + Source Code can be in a compressed or archival form, provided the + appropriate decompression or de-archiving software is widely available + for no charge. + + 1.12. ``You'' means an individual or a legal entity exercising rights + under, and complying with all of the terms of, this License or a future + version of this License issued under Section 6.1. For legal entities, + ``You'' includes any entity which controls, is controlled by, or is + under common control with You. For purposes of this definition, + ``control'' means (a) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (b) ownership of fifty percent (50%) or more of the + outstanding shares or beneficial ownership of such entity. + +2. Source Code License. + + 2.1. The Initial Developer Grant. + The Initial Developer hereby grants You a world-wide, royalty-free, + non-exclusive license, subject to third party intellectual property + claims: + + (a) to use, reproduce, modify, display, perform, sublicense and + distribute the Original Code (or portions thereof) with or without + Modifications, or as part of a Larger Work; and + + (b) under patents now or hereafter owned or controlled by Initial + Developer, to make, have made, use and sell (``Utilize'') the + Original Code (or portions thereof), but solely to the extent that + any such patent is reasonably necessary to enable You to Utilize + the Original Code (or portions thereof) and not to any greater + extent that may be necessary to Utilize further Modifications or + combinations. + + 2.2. Contributor Grant. + Each Contributor hereby grants You a world-wide, royalty-free, + non-exclusive license, subject to third party intellectual property + claims: + + (a) to use, reproduce, modify, display, perform, sublicense and + distribute the Modifications created by such Contributor (or + portions thereof) either on an unmodified basis, with other + Modifications, as Covered Code or as part of a Larger Work; and + + (b) under patents now or hereafter owned or controlled by + Contributor, to Utilize the Contributor Version (or portions + thereof), but solely to the extent that any such patent is + reasonably necessary to enable You to Utilize the Contributor + Version (or portions thereof), and not to any greater extent that + may be necessary to Utilize further Modifications or combinations. + +3. Distribution Obligations. + + 3.1. Application of License. + The Modifications which You create or to which You contribute are + governed by the terms of this License, including without limitation + Section 2.2. The Source Code version of Covered Code may be distributed + only under the terms of this License or a future version of this + License released under Section 6.1, and You must include a copy of this + License with every copy of the Source Code You distribute. You may not + offer or impose any terms on any Source Code version that alters or + restricts the applicable version of this License or the recipients' + rights hereunder. However, You may include an additional document + offering the additional rights described in Section 3.5. + + 3.2. Availability of Source Code. + Any Modification which You create or to which You contribute must be + made available in Source Code form under the terms of this License + either on the same media as an Executable version or via an accepted + Electronic Distribution Mechanism to anyone to whom you made an + Executable version available; and if made available via Electronic + Distribution Mechanism, must remain available for at least twelve (12) + months after the date it initially became available, or at least six + (6) months after a subsequent version of that particular Modification + has been made available to such recipients. You are responsible for + ensuring that the Source Code version remains available even if the + Electronic Distribution Mechanism is maintained by a third party. + + 3.3. Description of Modifications. + You must cause all Covered Code to which you contribute to contain a + file documenting the changes You made to create that Covered Code and + the date of any change. You must include a prominent statement that the + Modification is derived, directly or indirectly, from Original Code + provided by the Initial Developer and including the name of the Initial + Developer in (a) the Source Code, and (b) in any notice in an + Executable version or related documentation in which You describe the + origin or ownership of the Covered Code. + + 3.4. Intellectual Property Matters + + (a) Third Party Claims. + If You have knowledge that a party claims an intellectual property + right in particular functionality or code (or its utilization + under this License), you must include a text file with the source + code distribution titled ``LEGAL'' which describes the claim and + the party making the claim in sufficient detail that a recipient + will know whom to contact. If you obtain such knowledge after You + make Your Modification available as described in Section 3.2, You + shall promptly modify the LEGAL file in all copies You make + available thereafter and shall take other steps (such as notifying + appropriate mailing lists or newsgroups) reasonably calculated to + inform those who received the Covered Code that new knowledge has + been obtained. + + (b) Contributor APIs. + If Your Modification is an application programming interface and + You own or control patents which are reasonably necessary to + implement that API, you must also include this information in the + LEGAL file. + + 3.5. Required Notices. + You must duplicate the notice in Exhibit A in each file of the Source + Code, and this License in any documentation for the Source Code, where + You describe recipients' rights relating to Covered Code. If You + created one or more Modification(s), You may add your name as a + Contributor to the notice described in Exhibit A. If it is not possible + to put such notice in a particular Source Code file due to its + structure, then you must include such notice in a location (such as a + relevant directory file) where a user would be likely to look for such + a notice. You may choose to offer, and to charge a fee for, warranty, + support, indemnity or liability obligations to one or more recipients + of Covered Code. However, You may do so only on Your own behalf, and + not on behalf of the Initial Developer or any Contributor. You must + make it absolutely clear than any such warranty, support, indemnity or + liability obligation is offered by You alone, and You hereby agree to + indemnify the Initial Developer and every Contributor for any liability + incurred by the Initial Developer or such Contributor as a result of + warranty, support, indemnity or liability terms You offer. + + 3.6. Distribution of Executable Versions. + You may distribute Covered Code in Executable form only if the + requirements of Section 3.1-3.5 have been met for that Covered Code, + and if You include a notice stating that the Source Code version of the + Covered Code is available under the terms of this License, including a + description of how and where You have fulfilled the obligations of + Section 3.2. The notice must be conspicuously included in any notice in + an Executable version, related documentation or collateral in which You + describe recipients' rights relating to the Covered Code. You may + distribute the Executable version of Covered Code under a license of + Your choice, which may contain terms different from this License, + provided that You are in compliance with the terms of this License and + that the license for the Executable version does not attempt to limit + or alter the recipient's rights in the Source Code version from the + rights set forth in this License. If You distribute the Executable + version under a different license You must make it absolutely clear + that any terms which differ from this License are offered by You alone, + not by the Initial Developer or any Contributor. You hereby agree to + indemnify the Initial Developer and every Contributor for any liability + incurred by the Initial Developer or such Contributor as a result of + any such terms You offer. + + 3.7. Larger Works. + You may create a Larger Work by combining Covered Code with other code + not governed by the terms of this License and distribute the Larger + Work as a single product. In such a case, You must make sure the + requirements of this License are fulfilled for the Covered Code. + +4. Inability to Comply Due to Statute or Regulation. + + If it is impossible for You to comply with any of the terms of this + License with respect to some or all of the Covered Code due to statute + or regulation then You must: (a) comply with the terms of this License + to the maximum extent possible; and (b) describe the limitations and + the code they affect. Such description must be included in the LEGAL + file described in Section 3.4 and must be included with all + distributions of the Source Code. Except to the extent prohibited by + statute or regulation, such description must be sufficiently detailed + for a recipient of ordinary skill to be able to understand it. + +5. Application of this License. + + This License applies to code to which the Initial Developer has + attached the notice in Exhibit A, and to related Covered Code. + +6. Versions of the License. + + 6.1. New Versions. + Netscape Communications Corporation (``Netscape'') may publish revised + and/or new versions of the License from time to time. Each version will + be given a distinguishing version number. + + 6.2. Effect of New Versions. + Once Covered Code has been published under a particular version of the + License, You may always continue to use it under the terms of that + version. You may also choose to use such Covered Code under the terms + of any subsequent version of the License published by Netscape. No one + other than Netscape has the right to modify the terms applicable to + Covered Code created under this License. + + 6.3. Derivative Works. + If you create or use a modified version of this License (which you may + only do in order to apply it to code which is not already Covered Code + governed by this License), you must (a) rename Your license so that the + phrases ``Mozilla'', ``MOZILLAPL'', ``MOZPL'', ``Netscape'', ``NPL'' or + any confusingly similar phrase do not appear anywhere in your license + and (b) otherwise make it clear that your version of the license + contains terms which differ from the Mozilla Public License and + Netscape Public License. (Filling in the name of the Initial Developer, + Original Code or Contributor in the notice described in Exhibit A shall + not of themselves be deemed to be modifications of this License.) + +7. DISCLAIMER OF WARRANTY. + + COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN ``AS IS'' BASIS, + WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF + DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. + THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE + IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, + YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE + COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER + OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF + ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + +8. TERMINATION. + + This License and the rights granted hereunder will terminate + automatically if You fail to comply with terms herein and fail to cure + such breach within 30 days of becoming aware of the breach. All + sublicenses to the Covered Code which are properly granted shall + survive any termination of this License. Provisions which, by their + nature, must remain in effect beyond the termination of this License + shall survive. + +9. LIMITATION OF LIABILITY. + + UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT + (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE INITIAL + DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, + OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO YOU OR ANY OTHER + PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES + OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF + GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND + ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE + BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF + LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY + RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW + PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE + EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THAT + EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. + +10. U.S. GOVERNMENT END USERS. + + The Covered Code is a ``commercial item,'' as that term is defined in + 48 C.F.R. 2.101 (Oct. 1995), consisting of ``commercial computer + software'' and ``commercial computer software documentation,'' as such + terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 + C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), + all U.S. Government End Users acquire Covered Code with only those + rights set forth herein. + +11. MISCELLANEOUS. + + This License represents the complete agreement concerning subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. This License shall be governed by + California law provisions (except to the extent applicable law, if any, + provides otherwise), excluding its conflict-of-law provisions. With + respect to disputes in which at least one party is a citizen of, or an + entity chartered or registered to do business in, the United States of + America: (a) unless otherwise agreed in writing, all disputes relating + to this License (excepting any dispute relating to intellectual + property rights) shall be subject to final and binding arbitration, + with the losing party paying all costs of arbitration; (b) any + arbitration relating to this Agreement shall be held in Santa Clara + County, California, under the auspices of JAMS/EndDispute; and (c) any + litigation relating to this Agreement shall be subject to the + jurisdiction of the Federal Courts of the Northern District of + California, with venue lying in Santa Clara County, California, with + the losing party responsible for costs, including without limitation, + court costs and reasonable attorneys fees and expenses. The application + of the United Nations Convention on Contracts for the International + Sale of Goods is expressly excluded. Any law or regulation which + provides that the language of a contract shall be construed against the + drafter shall not apply to this License. + +12. RESPONSIBILITY FOR CLAIMS. + + Except in cases where another Contributor has failed to comply with + Section 3.4, You are responsible for damages arising, directly or + indirectly, out of Your utilization of rights under this License, based + on the number of copies of Covered Code you made available, the + revenues you received from utilizing such rights, and other relevant + factors. You agree to work with affected parties to distribute + responsibility on an equitable basis. + +EXHIBIT A. + + ``The contents of this file are subject to the Mozilla Public License + Version 1.0 (the "License"); you may not use this file except in + compliance with the License. You may obtain a copy of the License at + http://www.mozilla.org/MPL/ + + Software distributed under the License is distributed on an "AS IS" + basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the + License for the specific language governing rights and limitations + under the License. + The Original Code is ______________________________________. + The Initial Developer of the Original Code is + ________________________. Portions created by + ______________________ are Copyright (C) ______ + _______________________. All Rights Reserved. + Contributor(s): ______________________________________.'' + +Other Portions: + + * Copyright (c) 1998-2000 Equivalence Pty. Ltd. +include/ffh263codec.h: * Copyright (c) 2001 March Networks Corporation +include/h323pluginmgr.h: * Copyright (C) 2004 Post Increment +include/h450pdu.h: * Copyright (c) 2001 Norwood Systems Pty. Ltd. +include/h460.h: * Copyright (c) 2004 ISVO (Asia) Pte Ltd. All Rights Reserved. +include/ixjDefs.h: Copyright (c) 1996-1998, Quicknet Technologies, Inc. +include/ixjidb.h: Copyright (c) 1996-2002, Quicknet Technologies, Inc. +include/opalplugin.h: * Copyright (C) 2004 Post Increment +include/QTIoctl.h: Copyright (c) 1996-1999, Quicknet Technologies, Inc. +include/rfc2190avcodec.h: * Copyright (c) 2001 March Networks Corporation +src/ffh263codec.cxx: * Copyright (c) 2001 March Networks Corporation +src/h323pluginmgr.cxx: * Copyright (C) 2004 Post Increment +src/h450pdu.cxx: * Copyright (c) 2001 Norwood Systems Pty. Ltd. +src/rfc2190avcodec.cxx: * Copyright (c) 2001 March Networks Corporation +samples/codecinfo/Makefile:# Copyright (C) 2004 Post Increment +samples/simple/Makefile:# Copyright (c) 1998-2000 Equivalence Pty. Ltd. +samples/simple/precompile.cxx: * Copyright 1999 Equivalence +src/iLBC/*: Copyright (c) 2001, Global IP sound AB +src/vic/*: * Copyright (c) 1993-1995 Regents of the University of California. +src/vic/p64.cxx: * Copyright (C) 1990, 1991, 1993 Andy C. Hung, all rights reserved. +src/vic/p64encoder.cxx:/*p64encoder.h copyright (c)Indranet Technologies ltd (lara@indranet.co.nz) +src/vic/p64encoder.h:/*p64encoder.h copyright (c)Indranet Technologies ltd (lara@indranet.co.nz) +plugins/audio/G726/*: * Copyright (C) 2004 Post Increment, All Rights Reserved +plugins/audio/GSM0610/COPYRIGHT:Copyright 1992, 1993, 1994 by Jutta Degener and Carsten Bormann, +plugins/audio/GSM0610/gsm06_10_codec.c: * Copyright (C) 2004 Post Increment, All Rights Reserved +plugins/audio/GSM0610/gsm06_10_codec.c: "Copyright 1992, 1993, 1994 by Jutta Degener and Carsten Bormann, Technische Universitaet Berlin", // codec copyright information +plugins/audio/iLBC/ilbccodec.c: * Copyright (C) 2004 Post Increment, All Rights Reserved +plugins/audio/iLBC/ilbccodec.c: "Global IP Sound AB. Portions Copyright (C) 1999-2002, All Rights Reserved", // codec copyright information +plugins/audio/IMA_ADPCM/ima_adpcm.c: * Copyright (C) 2004 Post Increment, All Rights Reserved +plugins/audio/LPC_10/lpc_10_codec.c: * Copyright (C) 2004 Post Increment, All Rights Reserved +plugins/audio/Speex/speexcodec.cxx: * Copyright (C) 2004 Post Increment, All Rights Reserved +plugins/audio/Speex/speexcodec.cxx: "(C) 2003 Xiph.Org Foundation, All Rights Reserved", // codec copyright information +plugins/audio/VoiceAgeG729/g729codec.c: * Copyright (C) 2004 Post Increment, All Rights Reserved +plugins/audio/VoiceAgeG729/g729codec.c: "Copyright (C) 1995-2001 VoiceAge Corporation. All Rights Reserved", // codec copyright information +src/speex/libspeex/*:/* Copyright (C) 2002 Jean-Marc Valin +src/speex/libspeex/cb_search.h:/* Copyright (C) 2002 Jean-Marc Valin & David Rowe +src/speex/libspeex/lpc.c: Copyright 1992, 1993, 1994 by Jutta Degener and Carsten Bormann, +plugins/audio/GSM0610/*: * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische +plugins/audio/iLBC/iLBC/*: Copyright (C) The Internet Society (2004). +plugins/audio/iLBC/iLBC/draft-ietf-avt-ilbc-codec-05.txt: Copyright (C) The Internet Society (2004). All Rights Reserved. +plugins/audio/Speex/libspeex/*:/* Copyright (C) 2002 Jean-Marc Valin --- openh323-1.18.0.orig/debian/README.Debian +++ openh323-1.18.0/debian/README.Debian @@ -0,0 +1,44 @@ + openh323 for Debian +--------------------- + + Some changes of installation paths of the upstream openh323 package + had to be made to comply with the Filesystem Hierarchy Standard under + UNIX-like Operating Systems. + + + The libraries were installed under /usr/lib, the header files under + /usr/include/openh323. + + Documentation of the main package 'libopenh323' resides in + /usr/share/doc/libopenh323-$(VERSION), the one in package libpt-doc + installs to /usr/share/doc/libopenh323-doc. + + + The shared libraries are named + libopenh323.so.$(SOVERSION) + for simplicity, in contrast to the upstream versions + libopenh323_$(OS)_$(Arch).so.$(SOVERSION) + . + + The example program simph323 installs to /usr/bin , its source code is + packed with libopenh323-doc. It can be found in + /usr/share/doc/libopenh323-doc/samples/simple/ + . + + Another point was to get a single directory to contain all + subdirectories necessary to build applications for the openh323 + project. The makefile includes of openh323 assume that the source + tree of libopenh323 is still there and be pointed to by the + OPENH323DIR environment variable. + Now, to facilitate that, the structure of the source tree + was mimicked in /usr/share/openh323 mainly through + linking. In that way you merely have to + export OPENH323DIR=/usr/share/openh323 + before building mentioned packages. + Therein the makefile include files which are central to + the building process of both ptlib and openh323 can be found. + + There's a makefile include named openh323u.mak under + /usr/share/openh323/ + . It should be used for getting compile flags right. + + For any comment, please contact Debian VoIP Team at +