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 <li...@mksolutions.info>
To: AstLinux Users Mailing List <astlinux-users@lists.sourceforge.net>
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
> <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 <astlinux-users@lists.sourceforge.net>
> Reply-To: The Cadillac Kid <eldorado...@yahoo.com>, AstLinux List
> <astlinux-users@lists.sourceforge.net>
> Date: Monday, 7 August 2017 at 1:26 pm
> To: AstLinux List <astlinux-users@lists.sourceforge.net>
> Cc: The Cadillac Kid <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 <michael.kn...@ipcsolutions.com.au> wrote:
>
> Subject: [Astlinux-users] Asterisk traffic analysis
> To: "AstLinux List" <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
------------------------------------------------------------------------------
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.