[asterisk-tech] Contents of tech digest tech Digest, Vol 50, Issue 26

Stelio Gouveia stelio at skyrove.com
Thu Mar 18 14:16:55 SAST 2010


Thanks Tumelo

The script works great.

- Stelio

On Wed, Mar 17, 2010 at 10:30 AM, Tumelo Lathane <tlathane at icas.co.za>wrote:

>
> Try the script attached
>
> -----Original Message-----
> From: tech-bounces at asterisk.org.za [mailto:tech-bounces at asterisk.org.za]
> On Behalf Of tech-request at asterisk.org.za
> Sent: 16 March 2010 04:41 PM
> To: tech at asterisk.org.za
> Subject: tech Digest, Vol 50, Issue 26
>
> Send tech mailing list submissions to
>        tech at asterisk.org.za
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://asterisk.org.za/mailman/listinfo/tech
> or, via email, send a message with subject or body 'help' to
>        tech-request at asterisk.org.za
>
> You can reach the person managing the list at
>        tech-owner at asterisk.org.za
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of tech digest..."
>
>
> Today's Topics:
>
>   1. Monitoring DAHDI channels (Stelio Gouveia)
>   2. Re: Monitoring DAHDI channels (Frans Schneider)
>   3. Re: Monitoring DAHDI channels (Jens von B?low)
>   4. Re: Monitoring DAHDI channels (Stelio Gouveia)
>   5. Re: Monitoring DAHDI channels (Stephen Davies)
>   6. Re: Monitoring DAHDI channels (Michael Walton)
>   7. Re: Monitoring DAHDI channels (Stelio Gouveia)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 16 Mar 2010 13:33:49 +0200
> From: Stelio Gouveia <stelio at skyrove.com>
> Subject: [asterisk-tech] Monitoring DAHDI channels
> To: tech at asterisk.org.za
> Message-ID:
>        <cfb1a70e1003160433m7b604825u48158003f794b6e8 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Folks
>
> I'm looking for a way to monitor and notify (email or webgui) if one of
> my
> Telkom lines become faulty or unavailable (no dial tone).
>
> Have anyone know of a solution?
>
> - Stelio
>
> --
> Skyrove Software Engineer,
> Skyrove (Pty) Ltd
> Technology Top 100 Award Winner (2006)
> Mobile: +27 82 34 09 120
> Tel: +27 861 ROVERS (0861 768 377)
> Fax: +27 86 6204077
> Email & Gtalk: stelio at skyrove.com
> Web:   www.skyrove.com
>
> This message contains confidential information. If you are not the
> intended
> recipient you are notified that disclosing, copying, distributing or
> taking
> any action in reliance on the contents of this information is strictly
> prohibited. E-mail transmission cannot be guaranteed to be secure or
> error-free as information could be intercepted, corrupted, lost,
> destroyed,
> arrive late or incomplete, or contain viruses. The sender therefore does
> not
> accept liability for any errors or omissions in the contents of this
> message.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://asterisk.org.za/pipermail/tech/attachments/20100316/feef6902/atta
> chment-0001.htm
>
> ------------------------------
>
> Message: 2
> Date: Tue, 16 Mar 2010 13:47:14 +0200
> From: Frans Schneider <frans.schneider at gmail.com>
> Subject: Re: [asterisk-tech] Monitoring DAHDI channels
> To: Asterisk Tech <tech at asterisk.org.za>
> Message-ID:
>        <827bee341003160447i774f669y313234e07bb3e2bd at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> analogue or bri or pri?
>
>
> Regards
> Frans Schneider
>
> Sunfire Technologies
> sunfireshop.co.za - under construction
> "IT hardware mega-reseller. We sell everything @ 10% markup"
>
> [image: Google Talk:] frans.schneider [image: Skype:] frans.schneider
> A
>
> On Tue, Mar 16, 2010 at 13:33, Stelio Gouveia <stelio at skyrove.com>
> wrote:
>
> > Hi Folks
> >
> > I'm looking for a way to monitor and notify (email or webgui) if one
> of my
> > Telkom lines become faulty or unavailable (no dial tone).
> >
> > Have anyone know of a solution?
> >
> > - Stelio
> >
> > --
> > Skyrove Software Engineer,
> > Skyrove (Pty) Ltd
> > Technology Top 100 Award Winner (2006)
> > Mobile: +27 82 34 09 120
> > Tel: +27 861 ROVERS (0861 768 377)
> > Fax: +27 86 6204077
> > Email & Gtalk: stelio at skyrove.com
> > Web:   www.skyrove.com
> >
> > This message contains confidential information. If you are not the
> intended
> > recipient you are notified that disclosing, copying, distributing or
> taking
> > any action in reliance on the contents of this information is strictly
> > prohibited. E-mail transmission cannot be guaranteed to be secure or
> > error-free as information could be intercepted, corrupted, lost,
> destroyed,
> > arrive late or incomplete, or contain viruses. The sender therefore
> does not
> > accept liability for any errors or omissions in the contents of this
> > message.
> >
> > _______________________________________________
> > asterisk tech mailing list
> > tech at asterisk.org.za
> > http://www.asterisk.org.za/mailman/listinfo/tech
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://asterisk.org.za/pipermail/tech/attachments/20100316/3436628b/atta
> chment-0001.htm
>
> ------------------------------
>
> Message: 3
> Date: Tue, 16 Mar 2010 13:47:00 +0200
> From: Jens von B?low <jens at nha.co.za>
> Subject: Re: [asterisk-tech] Monitoring DAHDI channels
> To: "Asterisk Tech" <tech at asterisk.org.za>
> Message-ID:
>        <D0FF3F59D191A146B4D757CBEE72C6AE02016E2E at tacora.dot.co.za>
> Content-Type: text/plain;       charset="iso-8859-1"
>
> >> analogue or bri or pri?
>
> How about all?
>
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 16 Mar 2010 13:50:31 +0200
> From: Stelio Gouveia <stelio at skyrove.com>
> Subject: Re: [asterisk-tech] Monitoring DAHDI channels
> To: Asterisk Tech <tech at asterisk.org.za>
> Message-ID:
>        <cfb1a70e1003160450v1ec844adr1272b9e61ca8d1c1 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Gents
>
> In my case, just analogue for now
>
> - Stelio
>
> 2010/3/16 Jens von B?low <jens at nha.co.za>
>
> > >> analogue or bri or pri?
> >
> > How about all?
> >
> >
> >
> > _______________________________________________
> > asterisk tech mailing list
> > tech at asterisk.org.za
> > http://www.asterisk.org.za/mailman/listinfo/tech
> >
>
>
>
> --
> Regards
> Stelio Gouveia
> --
> Skyrove Software Engineer,
> Skyrove (Pty) Ltd
> Technology Top 100 Award Winner (2006)
> Mobile: +27 82 34 09 120
> Tel: +27 861 ROVERS (0861 768 377)
> Fax: +27 86 6204077
> Email & Gtalk: stelio at skyrove.com
> Web:   www.skyrove.com
>
> This message contains confidential information. If you are not the
> intended
> recipient you are notified that disclosing, copying, distributing or
> taking
> any action in reliance on the contents of this information is strictly
> prohibited. E-mail transmission cannot be guaranteed to be secure or
> error-free as information could be intercepted, corrupted, lost,
> destroyed,
> arrive late or incomplete, or contain viruses. The sender therefore does
> not
> accept liability for any errors or omissions in the contents of this
> message.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://asterisk.org.za/pipermail/tech/attachments/20100316/dd50ce76/atta
> chment-0001.htm
>
> ------------------------------
>
> Message: 5
> Date: Tue, 16 Mar 2010 13:53:51 +0200
> From: Stephen Davies <steve at connection-telecom.com>
> Subject: Re: [asterisk-tech] Monitoring DAHDI channels
> To: Asterisk Tech <tech at asterisk.org.za>
> Message-ID:
>        <BCFB1A38-346E-400F-9DFE-339DEBECA7F1 at connection-telecom.com>
> Content-Type: text/plain; charset=iso-8859-1
>
>
> On 16 Mar 2010, at 13:47, Jens von B?low wrote:
>
> >>> analogue or bri or pri?
> >
> > How about all?
>
>
> So zaptel/dahdi will show an alarm on the span or line if its down.
> This works for analogue too - it detects no battery on the line.
>
> So you could check /proc/zaptel or /proc/dahdi and look for alarms?
>
> Steve
>
>
>
> ------------------------------
>
> Message: 6
> Date: Tue, 16 Mar 2010 14:06:05 +0200
> From: Michael Walton <michael.walton at telkomsa.net>
> Subject: Re: [asterisk-tech] Monitoring DAHDI channels
> To: Asterisk Tech <tech at asterisk.org.za>
> Message-ID: <1268741165.7067.252.camel at fsn-mike.intra.farsouthnet.com>
> Content-Type: text/plain; charset="utf-8"
>
> > On 16 Mar 2010, at 13:47, Jens von B?low wrote:
> >
> > >>> analogue or bri or pri?
> > >
> > > How about all?
> >
> >
> > So zaptel/dahdi will show an alarm on the span or line if its down.
> This works for analogue too - it detects no battery on the line.
> >
>
> And will prevent calls from being attempted on the broken channel, so if
> it is in a DAHDI group another line in the group will be chosen.
>
> > So you could check /proc/zaptel or /proc/dahdi and look for alarms?
> >
> > Steve
> >
> > _______________________________________________
> > asterisk tech mailing list
> > tech at asterisk.org.za
> > http://www.asterisk.org.za/mailman/listinfo/tech
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://asterisk.org.za/pipermail/tech/attachments/20100316/46a462b9/atta
> chment-0001.htm
>
> ------------------------------
>
> Message: 7
> Date: Tue, 16 Mar 2010 16:34:51 +0200
> From: Stelio Gouveia <stelio at skyrove.com>
> Subject: Re: [asterisk-tech] Monitoring DAHDI channels
> To: Asterisk Tech <tech at asterisk.org.za>,
>        steve at connection-telecom.com,   michael.walton at telkomsa.net
> Message-ID:
>        <cfb1a70e1003160734h72a171bbmaafa796172d3122 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Stephen
>
> I'm running Asterisk 1.4.26.1
>
> cat /proc/dahdi/1
> Span 1: WCTDM/4 "Wildcard TDM400P REV I Board 5" (MASTER)
>
>   1 WCTDM/4/0 FXSKS (In use) (SWEC: OSLEC)
>   2 WCTDM/4/1 FXSKS (In use) (SWEC: OSLEC)
>   3 WCTDM/4/2 FXSKS (In use) (SWEC: OSLEC)
>   4 WCTDM/4/3 FXSKS (In use) (SWEC: OSLEC)
>
> while if i cat /proc/dahdi/dynamic-ethmf
> Errors: 0
>
> Could you provide me with an example of what alerts would look like?
>
> Michael: Thanks, good to know. Though my idea is to have some sort of
> warning before my agents start getting the infamous "All circuits are
> busy
> now" message.
>
> - Stelio
>
> On Tue, Mar 16, 2010 at 1:53 PM, Stephen Davies <
> steve at connection-telecom.com> wrote:
>
> >
> > On 16 Mar 2010, at 13:47, Jens von B?low wrote:
> >
> > >>> analogue or bri or pri?
> > >
> > > How about all?
> >
> >
> > So zaptel/dahdi will show an alarm on the span or line if its down.
> This
> > works for analogue too - it detects no battery on the line.
> >
> > So you could check /proc/zaptel or /proc/dahdi and look for alarms?
> >
> > Steve
> >
> > _______________________________________________
> > asterisk tech mailing list
> > tech at asterisk.org.za
> > http://www.asterisk.org.za/mailman/listinfo/tech
> >
>
>
>
> --
> Regards
> Stelio Gouveia
> --
> Skyrove Software Engineer,
> Skyrove (Pty) Ltd
> Technology Top 100 Award Winner (2006)
> Mobile: +27 82 34 09 120
> Tel: +27 861 ROVERS (0861 768 377)
> Fax: +27 86 6204077
> Email & Gtalk: stelio at skyrove.com
> Web:   www.skyrove.com
>
> This message contains confidential information. If you are not the
> intended
> recipient you are notified that disclosing, copying, distributing or
> taking
> any action in reliance on the contents of this information is strictly
> prohibited. E-mail transmission cannot be guaranteed to be secure or
> error-free as information could be intercepted, corrupted, lost,
> destroyed,
> arrive late or incomplete, or contain viruses. The sender therefore does
> not
> accept liability for any errors or omissions in the contents of this
> message.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://asterisk.org.za/pipermail/tech/attachments/20100316/23659838/atta
> chment.htm
>
> ------------------------------
>
> _______________________________________________
> asterisk tech mailing list
> tech at asterisk.org.za
> http://www.asterisk.org.za/mailman/listinfo/tech
>
>
> End of tech Digest, Vol 50, Issue 26
> ************************************
>
> IMPORTANT NOTE: This e-mail contains confidential information and any
> unauthorised use or interception is illegal. If this e-mail is not intended
> for you, you may not copy, distribute or disclose the contents, including
> any attachments, to anyone, nor take any action in reliance on the content.
> If you receive this in error, please contact the sender and delete the
> material from any computer.
>
> _______________________________________________
> asterisk tech mailing list
> tech at asterisk.org.za
> http://www.asterisk.org.za/mailman/listinfo/tech
>



-- 
Regards
Stelio Gouveia
--
Skyrove Software Engineer,
Skyrove (Pty) Ltd
Technology Top 100 Award Winner (2006)
Mobile: +27 82 34 09 120
Tel: +27 861 ROVERS (0861 768 377)
Fax: +27 86 6204077
Email & Gtalk: stelio at skyrove.com
Web:   www.skyrove.com

This message contains confidential information. If you are not the intended
recipient you are notified that disclosing, copying, distributing or taking
any action in reliance on the contents of this information is strictly
prohibited. E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore does not
accept liability for any errors or omissions in the contents of this
message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://asterisk.org.za/pipermail/tech/attachments/20100318/f74721bb/attachment-0001.htm 


More information about the tech mailing list