<div>hi <font color="#00681c">Jakub Klausa,</font></div>
<div> </div>
<div>i tired to patch but gives the below message.</div>
<div> </div>
<div>patch -p0 <chan_ss7-0.9.patch-3<br>can't find file to patch at input line 4<br>Perhaps you used the wrong -p or --strip option?<br>The text leading up to this was:<br>--------------------------<br>|diff -urNP chan_ss7.orig/Makefile chan_ss7/Makefile
<br>|--- chan_ss7.orig/Makefile Mon Jul 3 14:55:46 2006<br>|+++ chan_ss7/Makefile Thu Sep 20 19:48:59 2007<br>--------------------------<br>File to patch: Makefile<br>patching file Makefile<br>can't find file to patch at input line 14
<br>Perhaps you used the wrong -p or --strip option?<br>The text leading up to this was:<br>--------------------------<br>|diff -urNP chan_ss7.orig/chan_ss7.c chan_ss7/chan_ss7.c<br>|--- chan_ss7.orig/chan_ss7.c Mon Jul 3 16:08:09 2006
<br>|+++ chan_ss7/chan_ss7.c Thu Sep 20 19:47:01 2007<br>--------------------------<br>File to patch: chan_ss7.c<br>patching file chan_ss7.c<br>can't find file to patch at input line 187<br>Perhaps you used the wrong -p or --strip option?
<br>The text leading up to this was:<br>--------------------------<br>|diff -urNP chan_ss7.orig/config.c chan_ss7/config.c<br>|--- chan_ss7.orig/config.c Tue Jun 6 10:26:49 2006<br>|+++ chan_ss7/config.c Thu Sep 20 19:47:01 2007
<br>--------------------------<br>File to patch: config.c<br>patching file config.c<br>can't find file to patch at input line 291<br>Perhaps you used the wrong -p or --strip option?<br>The text leading up to this was:
<br>--------------------------<br>|diff -urNP chan_ss7.orig/config.h chan_ss7/config.h<br>|--- chan_ss7.orig/config.h Mon Jul 3 16:11:42 2006<br>|+++ chan_ss7/config.h Thu Sep 20 19:47:01 2007<br>--------------------------
<br>File to patch: config.h<br>patching file config.h<br>can't find file to patch at input line 333<br>Perhaps you used the wrong -p or --strip option?<br>The text leading up to this was:<br>--------------------------
<br>|diff -urNP chan_ss7.orig/l4isup.c chan_ss7/l4isup.c<br>|--- chan_ss7.orig/l4isup.c Wed Jul 19 10:13:40 2006<br>|+++ chan_ss7/l4isup.c Thu Sep 20 19:47:01 2007<br>--------------------------<br>File to patch: l4isup.c
<br>patching file l4isup.c<br>can't find file to patch at input line 665<br>Perhaps you used the wrong -p or --strip option?<br>The text leading up to this was:<br>--------------------------<br>|diff -urNP chan_ss7.orig/l4isup.h chan_ss7/l4isup.h
<br>|--- chan_ss7.orig/l4isup.h Thu Jun 15 13:38:46 2006<br>|+++ chan_ss7/l4isup.h Thu Sep 20 19:46:45 2007<br>--------------------------<br>File to patch: l4isup.h<br>patching file l4isup.h<br>can't find file to patch at input line 676
<br>Perhaps you used the wrong -p or --strip option?<br>The text leading up to this was:<br>--------------------------<br>|diff -urNP chan_ss7.orig/mtp.c chan_ss7/mtp.c<br>|--- chan_ss7.orig/mtp.c Mon Jul 3 16:06:46 2006
<br>|+++ chan_ss7/mtp.c Thu Sep 20 19:47:01 2007<br>--------------------------<br>File to patch: mtp.c<br>patching file mtp.c<br>can't find file to patch at input line 884<br>Perhaps you used the wrong -p or --strip option?
<br>The text leading up to this was:<br>--------------------------<br>|diff -urNP chan_ss7.orig/mtp.h chan_ss7/mtp.h<br>|--- chan_ss7.orig/mtp.h Tue Jun 20 14:37:13 2006<br>|+++ chan_ss7/mtp.h Thu Sep 20 19:46:45 2007
<br>--------------------------<br>File to patch: mtp.h<br>patching file mtp.h<br><br><br> </div>
<div><span class="gmail_quote">On 21/09/2007, <b class="gmail_sendername">Jakub Klausa</b> <<a href="mailto:j.klausa@ss7.pl">j.klausa@ss7.pl</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hello,<br><br><br> here's yet another patch we, at ss7.pl wrote for the chan_ss7 0.9.<br><br> This patch adds two features to the chan_ss7 ss7 channel driver by
<br>Sifira.<br><br> First one is a simple feature that shows you what features are<br>enabled on your chan_ss7 instance running under your asterisk:<br><br>*CLI> ss7 version<br>chan_ss7 version 0.9+autopc+watermark+features
<br>*CLI> ss7 show features<br><br>[ss7.pl] SS7 Features:<br><br> [ss7.pl] AutoPC present/enabled<br> [ss7.pl] SS7 Stats enabled<br> [ss7.pl] Preservestats enabled<br><br>*CLI><br><br> The second feature is watermarking/statistics patch, that
<br>let's you simply monitor the usage of your ss7 channels, ASRs (per channel,<br>per link), active call count and much more.<br><br>*CLI> ss7 version<br>chan_ss7 version 0.9+autopc+watermark+features<br>*CLI> ss7 show stats
<br>Stats for linkset<br> Link name : l1<br> Active : 0<br> l1 Active High Water Mark : 0<br><br> CIC Success Failed Total ASR<br> 1 Signalling channel<br> 2 0 0 0
0.00<br> 3 0 0 0 0.00<br> 4 0 0 0 0.00<br>[...]<br> ASR for link l1 : 0.00<br> Link name : l2<br> Active : 0<br> l2 Active High Water Mark : 0
<br><br> CIC Success Failed Total ASR<br> 33 0 0 0 0.00<br> 34 0 0 0 0.00<br> 35 0 0 0 0.00<br>[...]<br> 63 0 0 0
0.00<br> ASR for link l2 : 0.00<br><br> Total Active High Water Mark : 0<br><br> Total calls since last counter restart : 0<br>*CLI><br><br> As you can see, you get quite overwhelming information/statistics
<br>source.<br><br> This patch adds a single ss7.conf configurable option. The options<br>goes under the [host] section, and it states if the stats should be<br>preserved or reset in case of link restart. The default behaviour is to
<br>preserve the stats.<br><br>brooklyn:/etc/asterisk# grep -v ^# ss7.conf<br>[...]<br><br>[host-brooklyn]<br>enabled => yes<br>autopc => yes<br>preservestats => yes<br>[...]<br>brooklyn:/etc/asterisk#<br><br> The patch can be found at:
<br><br> <a href="http://www.ss7.pl/~jacke/patches/chan_ss7/chan_ss7-0.9.patch-3.gz">http://www.ss7.pl/~jacke/patches/chan_ss7/chan_ss7-0.9.patch-3.gz</a><br><br> (in the combined form, with the previous chan_ss7
0.9 patches by ss7.pl)<br><br> If you have any questions - drop me a note.<br><br>--<br>Jakub Klausa | <a href="mailto:j.klausa@ss7.pl">j.klausa@ss7.pl</a> | <a href="http://www.ss7.pl/">http://www.ss7.pl/</a> | <a href="http://www.ngpbx.pl/">
http://www.ngpbx.pl/</a><br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--">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">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br><br></blockquote></div><br>