Commit Graph

292 Commits

Author SHA1 Message Date
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
Kevin P. Fleming
b9bd97cdb7 fix the indentation in this function so that it is actually possible to read it and understand the logic and flow
git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@544 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2008-04-16 00:21:01 +00:00
Joshua Colp
c93dfbae5f If inband audio is being provided with a disconnect message let the audio be heard before releasing the channel.
(closes issue #10552)
Reported by: paravoid
Patches:
      disconnect-audio.diff uploaded by paravoid (license 200)


git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@528 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2008-02-21 16:38:11 +00:00
Matthew Fredrickson
160be09f76 Improve transmission, receiving, and dumping of bearer capability IE (#11593)
git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@524 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2008-02-18 20:31:38 +00:00
Matthew Fredrickson
ba46c5ca03 Merged revisions 513 via svnmerge from
https://origsvn.digium.com/svn/libpri/branches/1.2

........
r513 | mattf | 2008-01-11 10:33:52 -0600 (Fri, 11 Jan 2008) | 1 line

We should not be parsing further into the bearer capability IE if the length does not confirm that there actually is data present
........


git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@514 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2008-01-11 16:34:44 +00:00
Kevin P. Fleming
33a28eeda1 Merged revisions 478 via svnmerge from
https://origsvn.digium.com/svn/libpri/branches/1.2

........
r478 | kpfleming | 2007-10-22 10:09:27 -0500 (Mon, 22 Oct 2007) | 3 lines

we need to include stddef.h for 'size_t'


........


git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@479 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2007-10-22 15:10:06 +00:00
Jason Parker
595154da5a Fix an incorrect pri_event structure definition.
Issue 10832, patch by flefoll


git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@470 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2007-10-05 16:45:39 +00:00
Matthew Fredrickson
cdb9c294c1 Fix user-user IE order in setup message (#10705)
git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@468 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2007-09-25 21:37:40 +00:00
Matthew Fredrickson
2a27c0f173 Fix for #10189. Make sure we properly report the user layer 1 for H.223 and H.245
git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@465 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2007-09-14 21:32:54 +00:00
Matthew Fredrickson
e498bef21f Merged revisions 460 via svnmerge from
https://origsvn.digium.com/svn/libpri/branches/1.2

........
r460 | mattf | 2007-09-06 10:06:42 -0500 (Thu, 06 Sep 2007) | 1 line

TBCT now works.  It should work for NI2, 4E, and 5E.  This code was tested on NI2.
........


git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@462 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2007-09-06 15:11:29 +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
Matthew Fredrickson
cd56dc1b1c Merged revisions 426 via svnmerge from
https://origsvn.digium.com/svn/libpri/branches/1.2

........
r426 | mattf | 2007-06-19 13:22:33 -0500 (Tue, 19 Jun 2007) | 1 line

Try to send pending facility messages if we receive alerting (for when we don't get proceeding) (#9651)
........


git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@427 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2007-06-19 18:23:36 +00:00
Matthew Fredrickson
a17ce5bdea Merged revisions 423 via svnmerge from
https://origsvn.digium.com/svn/libpri/branches/1.2

........
r423 | mattf | 2007-06-06 16:57:15 -0500 (Wed, 06 Jun 2007) | 1 line

Oops, that should not be on one line
........


git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@424 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2007-06-06 21:58:22 +00:00
Matthew Fredrickson
fcd5775b8b Merged revisions 415 via svnmerge from
https://origsvn.digium.com/svn/libpri/branches/1.2

........
r415 | mattf | 2007-06-06 08:20:05 -0500 (Wed, 06 Jun 2007) | 2 lines

Make sure we only send the NFE when we are talking QSIG

........


git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@416 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2007-06-06 13:22:15 +00:00
Matthew Fredrickson
199d4c7fc5 Merged revisions 389 via svnmerge from
https://origsvn.digium.com/svn/libpri/branches/1.2

........
r389 | mattf | 2007-01-22 16:20:59 -0600 (Mon, 22 Jan 2007) | 2 lines

Make sure we send DISCONNECT if we reached the active state and a call is disconnected, regardless of cause code.

........


git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@390 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2007-01-22 22:29:24 +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
a898653315 how about we use the correct name for this one
git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@373 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-09-20 21:00:32 +00:00
Kevin P. Fleming
16ae0df732 it's time :-)
git-svn-id: https://origsvn.digium.com/svn/libpri/branches/branch-1.4@372 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-09-20 20:58:27 +00:00
Matthew Fredrickson
342c1f81ca Make sure we send any pending facility APDUs after we receive proceeding. #7551
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@367 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-07-28 14:41:57 +00:00
Matthew Fredrickson
9969553056 Make IE debug more consistent and readable. (#7559)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@366 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-07-21 15:55:54 +00:00
Matthew Fredrickson
9037525b7b Improve call state handling code. (#7269)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@365 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-07-21 15:43:31 +00:00
Russell Bryant
f245f64a2e Blocked revisions 360 via svnmerge
........
r360 | russell | 2006-07-12 15:08:31 -0400 (Wed, 12 Jul 2006) | 2 lines

ensure buffer is initialized (issue #7512, klaus3000)

........


git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@361 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-07-12 19:09:07 +00:00
Russell Bryant
cd91dba660 ensure buffer gets initialized (issue #7512, klaus3000)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@359 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-07-12 19:04:12 +00:00
Matthew Fredrickson
a24748c0f8 Fix for #7378, namespace collision issue.
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@357 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-07-07 15:35:48 +00:00
Matthew Fredrickson
8c69834e21 Updates to add T309 to libpri. Thanks flefoll!
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@356 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-07-06 21:11:37 +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
fe9fff6dcb revert change that didn't actually change anything, and fix formatting of conditional expression so it's more clear what it does
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@352 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-06-08 22:34:25 +00:00
Matthew Fredrickson
2ce7890fdd Make sure we don't send display if callername is set to a 0 length string.
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@351 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-06-08 22:16:55 +00:00
Matthew Fredrickson
de008c4d60 Changes to improve state reporting in libpri. (#7260)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@350 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-06-06 22:06:52 +00:00
Matthew Fredrickson
7db8af4b80 Minor state fix (#7269)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@348 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-06-02 16:06:27 +00:00
Matthew Fredrickson
a33fd59dc6 Fix for 7115. Don't call pri_message multiple times
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@346 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-06-02 14:34:20 +00:00
Matthew Fredrickson
a3ee176154 Fixes so that fields are initialized in events from #7241. Thanks flefoll!
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@343 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-06-01 18:00:31 +00:00
Kevin P. Fleming
f316eed834 this is a portable sh script, not a bash script
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@336 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-05-09 08:22:27 +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
ed9c90a985 Make sure we pass the call back in setup_ack
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@328 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-04-27 16:09:11 +00:00
Matthew Fredrickson
f57f033aac Fix for 6841, so that we offer caller name on NI1 within the display IE
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@324 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-04-04 15:38:25 +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
533412e361 Fix the transmit_display function to not send DISPLAY from CPE->Network on EuroISDN
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@321 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-03-31 22:37:46 +00:00
Matthew Fredrickson
e2091c29ef Cause code clarifications (Q.SIG versus non Q.SIG)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@317 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-02-17 21:19:37 +00:00
Matthew Fredrickson
b92b08dad7 Fix for 6480 (crash when accepting calling_part_subaddress with nothing in it)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@315 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-02-17 18:54:20 +00:00
Matthew Fredrickson
e225476864 More TODO updates
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@314 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-02-16 19:21:30 +00:00
Matthew Fredrickson
e17aebfc82 Update our TODO list
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@313 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-02-16 19:07:06 +00:00
Matt O'Gorman
d8f64e6c98 Merged revisions 311 via svnmerge from
https://svn.digium.com/svn/libpri/branches/1.2

........
r311 | mogorman | 2006-02-15 11:59:38 -0600 (Wed, 15 Feb 2006) | 2 lines

bug 6500 typo in README.

........


git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@312 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-02-15 18:01:03 +00:00
Matthew Fredrickson
3c061000b5 Make sure we reset the field if we get one in a disconnect
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@310 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-02-14 19:30:32 +00:00
Kevin P. Fleming
a98061f019 set mime-type and eol-style on all files
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@309 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-02-14 19:22:26 +00:00
Kevin P. Fleming
3ea2ea8cf1 Merged revisions 296,306 via svnmerge from
https://origsvn.digium.com/svn/libpri/branches/1.2

........
r296 | russell | 2006-01-17 22:53:47 -0600 (Tue, 17 Jan 2006) | 2 lines

remove old ChangeLog ... it will now only be in the tags

........
r306 | kpfleming | 2006-02-13 17:06:02 -0600 (Mon, 13 Feb 2006) | 2 lines

suppress annoying message about unsupported components in facility messages

........


git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@308 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-02-13 23:07:56 +00:00