[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
Sun Dec 20 16:15:08 CST 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16477 
====================================================================== 
Reported By:                nic_bellamy
Assigned To:                mattf
====================================================================== 
Project:                    LibPRI
Issue ID:                   16477
Category:                   NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
JIRA:                        
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:              2009-12-20 16:15 CST
====================================================================== 
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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-20 16:15 nic_bellamy    New Issue                                    
2009-12-20 16:15 nic_bellamy    Status                   new => assigned     
2009-12-20 16:15 nic_bellamy    Assigned To               => mattf           
2009-12-20 16:15 nic_bellamy    Asterisk Version          => SVN             
2009-12-20 16:15 nic_bellamy    SVN Branch (only for SVN checkouts, not tarball
releases) =>  1.4            
2009-12-20 16:15 nic_bellamy    SVN Revision (number only!) => 1395            
======================================================================




More information about the asterisk-bugs mailing list