Re: [Astlinux-users] Asterisk traffic analysis

2017-08-07 Thread Michael Knill
Cool I didn't know about Hangup Handlers. I need to use them I think.

Thanks all. Looks like the dial plan is the go here.

Regards
Michael Knill

From: AstLinux List 
Reply-To: The Cadillac Kid , AstLinux List 

Date: Monday, 7 August 2017 at 9:48 pm
To: AstLinux List 
Cc: The Cadillac Kid 
Subject: Re: [Astlinux-users] Asterisk traffic analysis

I have found hangup handlers to be MUCH more accurate than the h extension..  
it seemed whe ni was using the h extension that it wouldnt trigger..  or 
triggered in a different context than I expected  when calls failed.
-Christopher


From: Michael Keuter 
To: AstLinux Users Mailing List 
Sent: Monday, August 7, 2017 5:49 AM
Subject: Re: [Astlinux-users] Asterisk traffic analysis


> Am 07.08.2017 um 05:45 schrieb Michael Knill 
> mailto:michael.kn...@ipcsolutions.com.au>>:
>
> Thanks Christopher for the info.
>
> Regards
> Michael Knill

Hi Michael,

I often use the h-extension (or hangup-handler) to get the HANGUPCAUSE, e.g.:

exten => h,1,Set(CDR(userfield)=${CDR(userfield)} Hangup:${HANGUPCAUSE})

Then you can react based on the HANGUPCAUSE.

> -Original Message-
> From: AstLinux List 
> mailto:astlinux-users@lists.sourceforge.net>>
> Reply-To: The Cadillac Kid 
> mailto:eldorado...@yahoo.com>>, AstLinux List 
> mailto:astlinux-users@lists.sourceforge.net>>
> Date: Monday, 7 August 2017 at 1:26 pm
> To: AstLinux List 
> mailto:astlinux-users@lists.sourceforge.net>>
> Cc: The Cadillac Kid mailto:eldorado...@yahoo.com>>
> Subject: Re: [Astlinux-users] Asterisk traffic analysis
>
> I do it within asterisk itself, I use custom cel events that get logged to 
> SQLite on the box, there's also an agi that gets run in the event I run out 
> of trunks. This notifies my noc, all failed trunk calls are logged specially, 
> this is extra important on my hosted sites as I should not fail trunk calls 
> on hosted systems.
>
> Custom cel is pretty easy to do and have it go to SQLite , a d you could have 
> a cron script query it for any failed attempts and act accordingly
> Christopher
> ------------
> On Sun, 8/6/17, Michael Knill 
> mailto:michael.kn...@ipcsolutions.com.au>> 
> wrote:
>
> Subject: [Astlinux-users] Asterisk traffic analysis
> To: "AstLinux List" 
> mailto:astlinux-users@lists.sourceforge.net>>
> Date: Sunday, August 6, 2017, 10:18 PM
>
> Hi group
>
> Im looking at options for
> recording and notifications of Asterisk trunk traffic
> information e.g. is there trunk traffic
> congestion
>
> Here are some of the methods I can
> think this could be done (possibly):
>
> Within the Asterisk dial plan
> itselfMonitZabbixSNMPSomething else?
>
> Has anyone had any experience with
> these or anything else? Any recommendations?
>
> Regards
> Michael
> Knill

Michael

http://www.mksolutions.info<http://www.mksolutions.info/>





--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net<mailto:Astlinux-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.<mailto:pay...@krisk.org.>

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Re: [Astlinux-users] Asterisk traffic analysis

2017-08-07 Thread The Cadillac Kid via Astlinux-users
I have found hangup handlers to be MUCH more accurate than the h extension..  
it seemed whe ni was using the h extension that it wouldnt trigger..  or 
triggered in a different context than I expected  when calls failed.-Christopher


  From: Michael Keuter 
 To: AstLinux Users Mailing List  
 Sent: Monday, August 7, 2017 5:49 AM
 Subject: Re: [Astlinux-users] Asterisk traffic analysis
   

> Am 07.08.2017 um 05:45 schrieb Michael Knill 
> :
> 
> Thanks Christopher for the info.
> 
> Regards
> Michael Knill

Hi Michael,

I often use the h-extension (or hangup-handler) to get the HANGUPCAUSE, e.g.:

exten => h,1,Set(CDR(userfield)=${CDR(userfield)} Hangup:${HANGUPCAUSE})

Then you can react based on the HANGUPCAUSE.

> -Original Message-
> From: AstLinux List 
> Reply-To: The Cadillac Kid , AstLinux List 
> 
> Date: Monday, 7 August 2017 at 1:26 pm
> To: AstLinux List 
> Cc: The Cadillac Kid 
> Subject: Re: [Astlinux-users] Asterisk traffic analysis
> 
> I do it within asterisk itself, I use custom cel events that get logged to 
> SQLite on the box, there's also an agi that gets run in the event I run out 
> of trunks. This notifies my noc, all failed trunk calls are logged specially, 
> this is extra important on my hosted sites as I should not fail trunk calls 
> on hosted systems. 
> 
> Custom cel is pretty easy to do and have it go to SQLite , a d you could have 
> a cron script query it for any failed attempts and act accordingly
> Christopher
> --------
> On Sun, 8/6/17, Michael Knill  wrote:
> 
> Subject: [Astlinux-users] Asterisk traffic analysis
> To: "AstLinux List" 
> Date: Sunday, August 6, 2017, 10:18 PM
> 
> Hi group 
> 
> Im looking at options for
> recording and notifications of Asterisk trunk traffic
> information e.g. is there trunk traffic
> congestion 
> 
> Here are some of the methods I can
> think this could be done (possibly): 
> 
> Within the Asterisk dial plan
> itselfMonitZabbixSNMPSomething else? 
> 
> Has anyone had any experience with
> these or anything else? Any recommendations? 
> 
> Regards 
> Michael
> Knill 

Michael

http://www.mksolutions.info




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


   --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Re: [Astlinux-users] Asterisk traffic analysis

2017-08-07 Thread Michael Keuter

> Am 07.08.2017 um 05:45 schrieb Michael Knill 
> :
> 
> Thanks Christopher for the info.
> 
> Regards
> Michael Knill

Hi Michael,

I often use the h-extension (or hangup-handler) to get the HANGUPCAUSE, e.g.:

exten => h,1,Set(CDR(userfield)=${CDR(userfield)} Hangup:${HANGUPCAUSE})

Then you can react based on the HANGUPCAUSE.

> -Original Message-
> From: AstLinux List 
> Reply-To: The Cadillac Kid , AstLinux List 
> 
> Date: Monday, 7 August 2017 at 1:26 pm
> To: AstLinux List 
> Cc: The Cadillac Kid 
> Subject: Re: [Astlinux-users] Asterisk traffic analysis
> 
> I do it within asterisk itself, I use custom cel events that get logged to 
> SQLite on the box, there's also an agi that gets run in the event I run out 
> of trunks. This notifies my noc, all failed trunk calls are logged specially, 
> this is extra important on my hosted sites as I should not fail trunk calls 
> on hosted systems. 
> 
> Custom cel is pretty easy to do and have it go to SQLite , a d you could have 
> a cron script query it for any failed attempts and act accordingly
> Christopher
> --------
> On Sun, 8/6/17, Michael Knill  wrote:
> 
> Subject: [Astlinux-users] Asterisk traffic analysis
> To: "AstLinux List" 
> Date: Sunday, August 6, 2017, 10:18 PM
> 
> Hi group 
> 
> Im looking at options for
> recording and notifications of Asterisk trunk traffic
> information e.g. is there trunk traffic
> congestion 
> 
> Here are some of the methods I can
> think this could be done (possibly): 
> 
> Within the Asterisk dial plan
> itselfMonitZabbixSNMPSomething else? 
> 
> Has anyone had any experience with
> these or anything else? Any recommendations? 
> 
> Regards 
> Michael
> Knill 

Michael

http://www.mksolutions.info




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] Asterisk traffic analysis

2017-08-06 Thread Michael Knill
Thanks Christopher for the info.

Regards
Michael Knill

-Original Message-
From: AstLinux List 
Reply-To: The Cadillac Kid , AstLinux List 

Date: Monday, 7 August 2017 at 1:26 pm
To: AstLinux List 
Cc: The Cadillac Kid 
Subject: Re: [Astlinux-users] Asterisk traffic analysis

I do it within asterisk itself, I use custom cel events that get logged to 
SQLite on the box, there's also an agi that gets run in the event I run out of 
trunks. This notifies my noc, all failed trunk calls are logged specially, this 
is extra important on my hosted sites as I should not fail trunk calls on 
hosted systems. 

Custom cel is pretty easy to do and have it go to SQLite , a d you could have a 
cron script query it for any failed attempts and act accordingly
Christopher

On Sun, 8/6/17, Michael Knill  wrote:

 Subject: [Astlinux-users] Asterisk traffic analysis
 To: "AstLinux List" 
 Date: Sunday, August 6, 2017, 10:18 PM
 
 
 
  
  
  
  
 
 
 
 
 Hi group 

 Im looking at options for
 recording and notifications of Asterisk trunk traffic
 information e.g. is there trunk traffic
 congestion 

 Here are some of the methods I can
 think this could be done (possibly): 
 
 Within the Asterisk dial plan
 itselfMonitZabbixSNMPSomething else? 

 Has anyone had any experience with
 these or anything else? Any recommendations? 

 Regards 
 Michael
 Knill 
 
 
 
 --
 Check out the vibrant tech community on one of the world's
 most
 engaging tech sites, Slashdot.org! 
http://sdm.link/slashdot___
 Astlinux-users mailing list
 Astlinux-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/astlinux-users
 
 Donations to support AstLinux are graciously accepted via
 PayPal to pay...@krisk.org.
 -Inline Attachment Follows-
 
 
 -Inline Attachment Follows-
 
 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] Asterisk traffic analysis

2017-08-06 Thread The Cadillac Kid via Astlinux-users
I do it within asterisk itself, I use custom cel events that get logged to 
SQLite on the box, there's also an agi that gets run in the event I run out of 
trunks. This notifies my noc, all failed trunk calls are logged specially, this 
is extra important on my hosted sites as I should not fail trunk calls on 
hosted systems. 

Custom cel is pretty easy to do and have it go to SQLite , a d you could have a 
cron script query it for any failed attempts and act accordingly
Christopher

On Sun, 8/6/17, Michael Knill  wrote:

 Subject: [Astlinux-users] Asterisk traffic analysis
 To: "AstLinux List" 
 Date: Sunday, August 6, 2017, 10:18 PM
 
 
 
  
  
  
  
 
 
 
 
 Hi group 
    
 Im looking at options for
 recording and notifications of Asterisk trunk traffic
 information e.g. is there trunk traffic
 congestion 
    
 Here are some of the methods I can
 think this could be done (possibly): 
 
 Within the Asterisk dial plan
 itselfMonitZabbixSNMPSomething else? 
    
 Has anyone had any experience with
 these or anything else? Any recommendations? 
    
 Regards 
 Michael
 Knill 
 
 
 
 --
 Check out the vibrant tech community on one of the world's
 most
 engaging tech sites, Slashdot.org! 
http://sdm.link/slashdot___
 Astlinux-users mailing list
 Astlinux-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/astlinux-users
 
 Donations to support AstLinux are graciously accepted via
 PayPal to pay...@krisk.org.
 -Inline Attachment Follows-
 
 
 -Inline Attachment Follows-
 
 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

[Astlinux-users] Asterisk traffic analysis

2017-08-06 Thread Michael Knill
Hi group

Im looking at options for recording and notifications of Asterisk trunk traffic 
information e.g. is there trunk traffic congestion

Here are some of the methods I can think this could be done (possibly):

  1.  Within the Asterisk dial plan itself
  2.  Monit
  3.  Zabbix
  4.  SNMP
  5.  Something else?

Has anyone had any experience with these or anything else? Any recommendations?

Regards
Michael Knill
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.