Watermark and features patch for chan_ss7 0.9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,


	here's yet another patch we, at ss7.pl wrote for the chan_ss7 0.9.

	This patch adds two features to the chan_ss7 ss7 channel driver by
Sifira.

	First one is a simple feature that shows you what features are
enabled on your chan_ss7 instance running under your asterisk:

*CLI> ss7 version
chan_ss7 version 0.9+autopc+watermark+features
*CLI> ss7 show features

[ss7.pl] SS7 Features:

        [ss7.pl] AutoPC present/enabled
        [ss7.pl] SS7 Stats enabled
        [ss7.pl] Preservestats enabled

*CLI>

	The second feature is watermarking/statistics patch, that
let's you simply monitor the usage of your ss7 channels, ASRs (per channel,
per link), active call count and much more.

*CLI> ss7 version
chan_ss7 version 0.9+autopc+watermark+features
*CLI> ss7 show stats
Stats for linkset
        Link name : l1
        Active : 0
        l1 Active High Water Mark : 0

        CIC     Success Failed  Total   ASR
        1       Signalling channel
        2       0       0       0       0.00
        3       0       0       0       0.00
        4       0       0       0       0.00
[...]
        ASR for link l1 : 0.00
        Link name : l2
        Active : 0
        l2 Active High Water Mark : 0

        CIC     Success Failed  Total   ASR
        33      0       0       0       0.00
        34      0       0       0       0.00
        35      0       0       0       0.00
[...]
        63      0       0       0       0.00
        ASR for link l2 : 0.00

        Total Active High Water Mark : 0

        Total calls since last counter restart : 0
*CLI>

	As you can see, you get quite overwhelming information/statistics
source.

	This patch adds a single ss7.conf configurable option. The options
goes under the [host] section, and it states if the stats should be
preserved or reset in case of link restart. The default behaviour is to
preserve the stats.

brooklyn:/etc/asterisk# grep -v ^# ss7.conf
[...]

[host-brooklyn]
enabled => yes
autopc => yes
preservestats => yes
[...]
brooklyn:/etc/asterisk#

	The patch can be found at:

	http://www.ss7.pl/~jacke/patches/chan_ss7/chan_ss7-0.9.patch-3.gz

	(in the combined form, with the previous chan_ss7 0.9 patches by ss7.pl)

        If you have any questions - drop me a note.

-- 
Jakub Klausa | j.klausa at ss7.pl | http://www.ss7.pl/ | http://www.ngpbx.pl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-ss7/attachments/20070921/d22c9073/attachment.pgp 


[Index of Archives]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Backpacking]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]     [Asterisk Books]

  Powered by Linux