From: The C. K. <eld...@ya...> - 2017-08-07 11:47:58
|
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...@mk...> To: AstLinux Users Mailing List <ast...@li...> 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 <mic...@ip...>: > > 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 <ast...@li...> > Reply-To: The Cadillac Kid <eld...@ya...>, AstLinux List <ast...@li...> > Date: Monday, 7 August 2017 at 1:26 pm > To: AstLinux List <ast...@li...> > Cc: The Cadillac Kid <eld...@ya...> > 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 <mic...@ip...> wrote: > > Subject: [Astlinux-users] Asterisk traffic analysis > To: "AstLinux List" <ast...@li...> > 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 Ast...@li... https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pa...@kr.... |