Commit Graph

47 Commits

Author SHA1 Message Date
Richard Mudgett
02c5939a33 pritest hadn't been ported to DAHDI
pritest hadn't been ported to DAHDI, made the trivial changes to make it
work.  (I haven't found the equivalent to zap_playf, so changed the
behaviour to an echo box)

(closes issue #17274)
Reported by: horape
Patches:
      pritest.diff uploaded by horape (license 1035) (with minor cosmetic changes)


git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@1833 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2010-07-16 22:55:15 +00:00
Richard Mudgett
8c5eeeae79 ETSI Message Waiting Indication (MWI) support.
Add the ability to report waiting messages to ISDN endpoints (phones).

Relevant specification: EN 300 650 and EN 300 745

Review:	https://reviewboard.asterisk.org/r/600/


git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@1767 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2010-05-28 21:50:14 +00:00
Richard Mudgett
9bb285fdc1 ETSI Advice Of Charge (AOC) event reporting.
This feature passes ETSI AOC-S, AOC-D, and AOC-E message information to
the upper layer (i.e.  Asterisk) for processing.

Relevant specification: EN 300 182

Consideration was made for the possible future addition of Q.SIG AOC
support (ECMA-212) with the events passed to the upper layer.

Review:	https://reviewboard.asterisk.org/r/538/


git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@1737 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2010-05-28 18:03:38 +00:00
Richard Mudgett
6829faae06 Add Call Completion Suppplementary Service
Call Completion Supplementary Service (CCSS) added for the following 
switch types: ETSI PTMP, ETSI PTP, Q.SIG.  

Specifications:
ETS 300 359 CCBS for PTMP and PTP
ETS 301 065 CCNR for PTMP and PTP
ECMA-186 Call Completion for Q.SIG

Several support services were added to support CC:
Dummy Call Reference.
Q.931 REGISTER message.
Dynamic expansion of the number of available timers (up to 8192).
Enhanced facility message handling.

Current implementation limitations preclude the following:
CC service retention is not supported.
Q.SIG path reservation is not supported.

(closes issue #14292)
Reported by: tomaso
Tested by: rmudgett

JIRA SWP-1493

Review:	https://reviewboard.asterisk.org/r/522/


git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@1714 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2010-05-26 16:01:10 +00:00
Wendell Thompson
d4354b4873 Added CPUARCH option for selecting a 32-bit build from the command line.
git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@1482 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2010-02-11 17:35:49 +00:00
Matthew Fredrickson
4d3bb14731 Merge of Q.921 rewrite branch for wider testing.
git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@1406 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2010-01-13 19:37:59 +00:00
Jason Parker
69fecfd30a Add -n to ldconfig on HURD too.
(closes issue #15130)
Reported by: tzafrir
Patches:
      osarch_hurd.diff uploaded by tzafrir (license 46)


git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@1000 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2009-08-21 19:51:40 +00:00
Richard Mudgett
dcd62e467f Add COLP support to libpri for ETSI PTP, ETSI PTMP, and Q.SIG.
Add Connected Line Presentation (COLP) support to chan_dahdi/libpri as an
addition to issue 8824.  This is the libpri portion.  COLP support is now
available for ETSI PTP, ETSI PTMP, and Q.SIG with this patch.

(closes issue #14068)
Tested by: rmudgett

Review: https://reviewboard.asterisk.org/r/339/


git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@982 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2009-08-18 23:53:32 +00:00
Jeff Peeler
926cc924d2 Allow custom CPU optimization flags
Added make variable LIBPRI_OPT to set optimization level. By default the
optimization level is now set to -O2.

(closes issue #12676)
Reported by: tzafrir
Patches:
      libpri_opt.diff uploaded by tzafrir (license 46)


git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@976 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2009-08-18 20:59:32 +00:00
Richard Mudgett
b19c0b0a04 Added Q.SIG Advice-Of-Charge encode/decode routines.
git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@772 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2009-04-21 23:32:13 +00:00
Richard Mudgett
ba45095c5a ROSE ASN.1 facility encode and decode rewrite of existing messages.
Several components are now parsed correctly.  Most notably:
PartyNumber and Q.SIG Name.


git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@766 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2009-04-21 22:08:45 +00:00
Jason Parker
aeb5a6d284 Make install paths use libdir, like libss7
git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@616 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2008-08-06 18:20:51 +00:00
Kevin P. Fleming
419282d399 use better version.c creation process, and better dependency tracking process too
git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@606 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2008-07-30 15:39:37 +00:00
Matthew Fredrickson
b9a6ab0c69 Moving trunk changes back into 1.4
git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@557 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2008-05-07 19:51:44 +00:00
Brett Bryant
dee4c9ae0f Add new API call (pri_get_version) to show the current version of the branch for support purposes.
git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@552 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2008-05-02 20:21:04 +00:00
Jason Parker
ac51a8e058 Merged revisions 445 via svnmerge from
https://origsvn.digium.com/svn/libpri/branches/1.2

........
r445 | qwell | 2007-08-27 14:20:23 -0500 (Mon, 27 Aug 2007) | 2 lines

Make sure we build both the static and shared modules with -fPIC.

........


git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@446 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2007-08-27 19:21:08 +00:00
Jason Parker
11f13f9b2d Allow setting CC to something with a space, such as make CC="gcc -m32"
Issue 10253.


git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@441 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2007-08-06 19:58:19 +00:00
Joshua Colp
a22bd0df05 Merged revisions 385 via svnmerge from
https://origsvn.digium.com/svn/libpri/branches/1.2

........
r385 | file | 2006-12-30 14:16:17 -0500 (Sat, 30 Dec 2006) | 2 lines

Specify full path to restorecon instead of assuming it will be available from what is in $PATH. (issue #8670 reported by djflux)

........


git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@386 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-12-30 19:17:34 +00:00
Kevin P. Fleming
8192b42674 prepare for new zaptel.h location
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@355 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-07-05 16:17:05 +00:00
Kevin P. Fleming
de00a26f71 remove support for CVS checkouts
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@354 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-06-19 15:18:47 +00:00
Kevin P. Fleming
c6ccbf69ca restore functionality for Debian with FreeBSD kernel without breaking regular FreeBSD
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@335 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-05-09 08:21:45 +00:00
Matthew Fredrickson
f10e2174b4 FreeBSD fixes for build process
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@334 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-05-09 08:15:51 +00:00
Kevin P. Fleming
fd75f5ade1 Merged revisions 316,323,327,332 via svnmerge from
https://origsvn.digium.com/svn/libpri/branches/1.2

........
r332 | kpfleming | 2006-04-30 10:17:47 -0500 (Sun, 30 Apr 2006) | 3 lines

set LDCONFIG_FLAGS for GNU/kFreeBSD as well
use the flags during installation

........


git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@333 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-04-30 15:20:00 +00:00
Matthew Fredrickson
11984069b6 Fix for #6566 (Makefile doesn't honor DESTDIR)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@322 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-04-04 15:34:35 +00:00
Matthew Fredrickson
9447f39f3f Makefile update to correctly do library version numbers
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@289 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-01-10 20:17:34 +00:00
Kevin P. Fleming
8738891752 Merged revisions 274 via svnmerge from
https://origsvn.digium.com/svn/libpri/branches/1.2

........
r274 | kpfleming | 2005-12-01 17:13:49 -0600 (Thu, 01 Dec 2005) | 2 lines

Makefile 'update' target now supports Subversion repositories (issue #5875)

........


git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@275 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-12-02 00:57:34 +00:00
Kevin P. Fleming
cf8c723f8b remove extraneous svn:executable properties
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@266 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-11-29 18:39:18 +00:00
Kevin P. Fleming
326c5c66d6 allow Makefile to be used more easily in automated build environments (issue #5291)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@251 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-09-26 15:57:23 +00:00
Kevin P. Fleming
3269a4b034 cleanups and fixes for Solaris (issue #4999)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@245 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-08-29 19:12:31 +00:00
Matthew Fredrickson
21d693f0b4 Fix pridump so that it works again (bug 4803) Thanks PCadach
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@243 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-07-27 13:14:05 +00:00
Kevin P. Fleming
f622f51004 use libpri_copy_string() (same as ast_copy_string()) instead of strncpy
update file headers for proper copyrights and licenses
various other minor optimizations


git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@230 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-06-21 22:47:39 +00:00
Kevin P. Fleming
099ee35431 suppress harmless warning (bug #4061)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@214 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-04-22 02:37:37 +00:00
Mark Spencer
1630193827 Fix Makefile for update to be better (bug #3284)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@176 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-01-09 01:18:22 +00:00
Mark Spencer
7f2237532a Fix for SE-Linux (bug #3147)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@172 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-12-26 23:10:54 +00:00
Mark Spencer
a6977c6ddb Complete port to solaris (bug #3062)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@168 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-12-15 20:15:28 +00:00
Matthew Fredrickson
cea480c941 Rudimentery support for transmitting and receiving calling name
via facility information elements


git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@150 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-10-27 20:43:23 +00:00
Mark Spencer
12155fa6c3 Minor Makefile fixes for libpri (bug #2330)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@132 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-08-31 17:40:59 +00:00
Mark Spencer
4ae8cc7bcf Make build on FreeBSD
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@99 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-05-22 04:25:53 +00:00
James Golovich
be3a8c206b Add mkdep and 'make depend' to libpri Makefile
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@81 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-03-30 20:18:12 +00:00
Mark Spencer
91b4a60c1f Add test program for windowing, implement proper windowing
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@79 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-03-29 08:09:01 +00:00
James Golovich
d00abddee3 Add pri_dump_info and q921/q931 counters to libpri
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@78 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-03-15 05:53:25 +00:00
Mark Spencer
c3544cb866 Add uninstall target
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@75 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-02-02 05:55:03 +00:00
Mark Spencer
acf0e055ab Makefile fixes (bug #923)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@73 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-01-27 00:39:59 +00:00
Martin Pycko
5f1aba027a Add posibility of choosing a diffrent form of ALERTING messages that has to be changed to work e.g. with Mitel switches.
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@44 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-07-07 23:37:18 +00:00
Matteo Brancaleoni
b00db5738c mar feb 18 19:15:15 CET 2003
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@30 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-02-18 18:15:47 +00:00
Mark Spencer
f81ba655b2 Version 0.3.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@18 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2002-03-15 22:52:37 +00:00
Mark Spencer
802b2d14e0 Version 0.1.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@4 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2001-05-12 16:57:53 +00:00