yes, dahdi_pcap is a new file that the patch adds.<br><br>I think you should appy the patch with -p1 from within the dahdi-tools directory<br><br>Kindest regards,<br>Torrey<br><br><div class="gmail_quote">2011/1/23 José Pablo Méndez Soto <span dir="ltr"><<a href="mailto:auxcri@gmail.com">auxcri@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Excuse me, gmail shortcuts misbehaving and sending emails before time....<div class="im"><br>
<br><br>Hi Torrey,<br><br>Last time I got the SS7 digest version of the mail so I got wrong who answered my first question about dahdi_pcap installation.<br>
<br>I tried your instructions as follows:<br><ol><li><pre><code>svn checkout <a href="http://svn.asterisk.org/svn/dahdi/linux/trunk" target="_blank">http://svn.asterisk.org/svn/dahdi/linux/trunk</a> dahdi-linux</code></pre>
</li><li>Uncommented the define directive to look like <br><pre>#define CONFIG_DAHDI_MIRROR</pre></li><li><pre><font size="2">svn checkout <a href="http://svn.asterisk.org/svn/dahdi/tools/trunk" target="_blank">http://svn.asterisk.org/svn/dahdi/tools/trunk</a> dahdi-tools</font><code></code></pre>
</li><li><pre><code>svn checkout <a href="http://svn.asterisk.org/svn/libsst/trunk" target="_blank">http://svn.asterisk.org/svn/libsst/trunk</a> libss7</code></pre></li><li>Apply patch as in issue 18362<span style="display: inline; font-family: monospace;"></span></li>
</ol><div style="margin-left: 40px;"><span style="display: inline; font-family: monospace;">wget '<a href="https://issues.asterisk.org/file_download.php?file_id=27784&type=bug" target="_blank">https://issues.asterisk.org/file_download.php?file_id=27784&type=bug</a>' -O - | patch -p0</span><br>
</div><br><br></div>The problem Im having is that patch can't find a file to actually patch. dahdi_pcap.c is not inside dahdi_tools package:<br><font size="1"><br>root@ubuntu:/usr/src/dahdi-tools# wget '<a href="https://issues.asterisk.org/file_download.php?file_id=27784&type=bug" target="_blank">https://issues.asterisk.org/file_download.php?file_id=27784&type=bug</a>' -O - | patch -p0<br>
--2011-01-22 22:19:52-- <a href="https://issues.asterisk.org/file_download.php?file_id=27784&type=bug" target="_blank">https://issues.asterisk.org/file_download.php?file_id=27784&type=bug</a><br>Resolving issues.asterisk.org... 76.164.171.231<br>
Connecting to <a href="http://issues.asterisk.org" target="_blank">issues.asterisk.org</a>|76.164.171.231|:443... connected.<br>HTTP request sent, awaiting response... 200 OK<br>Length: 7720 (7.5K) [text/plain]<br>Saving to: `STDOUT'<br>
<br>100%[=================================================================================================================>] 7,720 24.0K/s in 0.3s <br><br>2011-01-22 22:19:54 (24.0 KB/s) - `-' saved [7720/7720]<br>
<br>patching file tools/dahdi_pcap.c<br>can't find file to patch at input line 313<br>Perhaps you used the wrong -p or --strip option?<br>The text leading up to this was:<br>--------------------------<br>|Index: tools/Makefile<br>
|===================================================================<br>|--- tools/Makefile (revision 9495)<br>|+++ tools/Makefile (working copy)<br>--------------------------<br>File to patch: </font><br><br><br>What am I doing wrong?<br>
<br>Thanks,<br><br clear="all"> <b style="color: rgb(153, 153, 153);"><span style="color: rgb(153, 153, 153);"><font size="2"><font size="2"><span style="font-family: verdana,sans-serif;"><span style="font-family: trebuchet ms,sans-serif;"><span style="font-family: verdana,sans-serif;">José Pablo Méndez</span></span></span></font><br>
<img src="" width="68" height="40"> </font></span></b><img src="" width="40" height="40"><b style="color: rgb(153, 153, 153);"><span style="color: rgb(153, 153, 153);"></span></b><b style="color: rgb(153, 153, 153);"><span style="color: rgb(153, 153, 153);"></span></b><b style="color: rgb(153, 153, 153);"><span style="color: rgb(153, 153, 153);"></span></b><b style="color: rgb(153, 153, 153);"><span style="color: rgb(153, 153, 153);"></span></b><br>
<br><br><div class="gmail_quote"><div class="im">2011/1/13 José Pablo Méndez Soto <span dir="ltr"><<a href="mailto:auxcri@gmail.com" target="_blank">auxcri@gmail.com</a>></span><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Thanks Krzysztof,<div><div></div><div class="h5"><br><br>Will try this as soon as possible. I see this is probably a forward from Torrey's email already in the mailing lists. Can you tell me where you found this post? I tried to find something in the issue tracker and in the ss7 mailing list to no avail. <br>
<br><br>Thanks<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 13 Jan 2011 18:20:36 +0100<br>
From: Krzysztof Drewicz <<a href="mailto:krzysztofdrewicz@gmail.com" target="_blank">krzysztofdrewicz@gmail.com</a>><br>
Subject: Re: [asterisk-ss7] adding ss7 pcap support to dahdi<br>
To: <a href="mailto:asterisk-ss7@lists.digium.com" target="_blank">asterisk-ss7@lists.digium.com</a><br>
Message-ID:<br>
<<a href="mailto:AANLkTimR-6xRfNw64ykUA46n5sk0pT0ReKn7CyuCyfHv@mail.gmail.com" target="_blank">AANLkTimR-6xRfNw64ykUA46n5sk0pT0ReKn7CyuCyfHv@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
2011/1/13 Torrey Searle <<a href="mailto:tsearle@gmail.com" target="_blank">tsearle@gmail.com</a>><br>
<br>
> First you take the latest svn version of the dahdi driver.<br>
><br>
> modify<br>
><br>
> include/dahdi/dahdi_config.h<br>
><br>
> and uncomment the following line<br>
><br>
> /* #define CONFIG_DAHDI_MIRROR */<br>
><br>
><br>
> compile and install this version of dahdi<br>
><br>
><br>
Only Digium's cards are supported, or every dahdi-compatible cards like<br>
Sangoma will work?<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br></div>
URL: <<a href="http://lists.digium.com/pipermail/asterisk-ss7/attachments/20110113/c8826b7a/attachment-0001.htm" target="_blank">http://lists.digium.com/pipermail/asterisk-ss7/attachments/20110113/c8826b7a/attachment-0001.htm</a>l
</blockquote></div><br>
</div></div></blockquote></div><br>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-ss7 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br></blockquote></div><br>