[asterisk-ss7] adding ss7 pcap support to dahdi

Torrey Searle tsearle at gmail.com
Fri Mar 26 10:50:15 CDT 2010


Has anybody tried using this? would like to get some success/failure
reports back about this :-)

Torrey

On 15 February 2010 23:22, Torrey Searle <tsearle at gmail.com> wrote:
> Ok,
>
> the code is posted here
>
> https://issues.asterisk.org/view.php?id=16831
>
> Torrey
>
> On 15 February 2010 21:34, Russ Meyerriecks <rmeyerriecks at digium.com> wrote:
>> On Feb 15, 2010, at 4:17 AM, Torrey Searle wrote:
>>
>>> Hi,
>>>
>>> I don't know if something similar exists already but I've created a
>>> patch to add the ability to do pcap capturing on dahdi cards. So I'm
>>> posting it here just in case it might be useful to someone. It
>>> consists of 2 parts
>>>
>>> 1. changes to the dahdi driver to add ioctls to mirror reads/writes
>>> from a signaling channel to a pseudo channel
>>> 2. a corresponding user app to set up the mirroring and record the
>>> traffic in a pcap
>>>
>>> This seems to work though I'm not sure if it's the best solution design-wise.
>>> I might be abusing the pseudo channel concept and wanted to ask if you ever
>>> felt the need for similar functionality.
>>>
>>>
>>>
>>> to compile the app do the following
>>> gcc dahdi_pcap.c -o dahdi_pcap -lpcap
>>>
>>> and the syntax to run it is
>>> ./dahdi_pcap chan1  [chan2]* pcap.pcap
>>>
>>> e.g.
>>> ./dahdi_pcap 16 47 test.pcap
>>>
>>>
>>> Regards,
>>> Torrey
>>> <dahdi_pcap.c><driver.patch>--
>>> _____________________________________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>
>>> asterisk-ss7 mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>   http://lists.digium.com/mailman/listinfo/asterisk-ss7
>>
>> Hey Torrey!
>>  We really like to see community contributions to our dahdi code! This seems like a really cool idea. If you're interested in having it reviewed for possible inclusion into the dahdi trunk (and this goes for anybody out there), all you have to do is go to http://issues.asterisk.org, sign the license, and attach your patch to a feature issue.
>>
>>
>> Russ Meyerriecks
>> Digium, Inc. | Linux Kernel Developer
>>
>>
>>
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> asterisk-ss7 mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-ss7
>>
>



More information about the asterisk-ss7 mailing list