[asterisk-bugs] [LibPRI 0016477]: [patch] Add pri_new_bri_cb() API - Create BRI D-channel with user defined I/O callbacks and data
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Jun 10 11:25:45 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16477
======================================================================
Reported By: nic_bellamy
Assigned To:
======================================================================
Project: LibPRI
Issue ID: 16477
Category: NewFeature
Reproducibility: N/A
Severity: feature
Priority: normal
Status: ready for testing
Asterisk Version: SVN
JIRA: SWP-1686
libpri Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): 1.4
SVN Revision (number only!): 1395
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2009-12-20 16:15 CST
Last Modified: 2010-06-10 11:25 CDT
======================================================================
Summary: [patch] Add pri_new_bri_cb() API - Create BRI
D-channel with user defined I/O callbacks and data
Description:
There currently exists a pri_new_cb() API call that allows you to create a
PRI with user-defined I/O read and write callbacks, and option userdata.
I'm using this to hook read/write calls and log the raw data to PCAP files
for later analysis with Wireshark, among other bits and pieces such as
using userdata to point back to the related zt_pri structure for logging
the span number with any libpri messages.
The attached patch adds the same capability for BRI interfaces by adding a
pri_new_bri_cb() API function.
======================================================================
----------------------------------------------------------------------
(0123248) jtodd (administrator) - 2010-06-10 11:25
https://issues.asterisk.org/view.php?id=16477#c123248
----------------------------------------------------------------------
I'd love to see something find it's way into the config files or CLI that
allows access to this to generate named pcap files on demand.
Issue History
Date Modified Username Field Change
======================================================================
2010-06-10 11:25 jtodd Note Added: 0123248
======================================================================
More information about the asterisk-bugs
mailing list