[asterisk-dev] LibPRI
Matt Fredrickson
creslin at digium.com
Tue May 23 10:27:28 CDT 2017
On Tue, May 23, 2017 at 5:06 AM, Konrad Endruszkiewicz
<konradend at gmail.com> wrote:
> Hi,
>
> I looking for documentation for LibPRI 1.6 or any samples where this
> library is used.
> I need to build a software on top of this library to support big callcenter.
Hi Konrad,
Libpri is a library that runs on top of a DAHDI channel that operates
in HDLC mode. It assumes that the HDLC encoding/decoding as well as
CRC generation/checking occurs at lower layers - typically the dahdi
layer. It implements an abstraction over the Q.921 and Q.931 layers
that is easier to use and understand that dealing with messages
directly.
The best place to look for an example with high use is that used in
chan_dahdi.c (more specifically, sig_pri.c) in the Asterisk source
code. There are one or two test applications in the libpri repo that
can be seen as simpler implementations, but I can't remember if they
still work or not (testprilib.c and pritest.c, IIRC).
Hope that helps!
--
Matthew Fredrickson
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
More information about the asterisk-dev
mailing list