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 <[email protected]>
Reply-To: The Cadillac Kid <[email protected]>, AstLinux List 
<[email protected]>
Date: Monday, 7 August 2017 at 9:48 pm
To: AstLinux List <[email protected]>
Cc: The Cadillac Kid <[email protected]>
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 <[email protected]>
To: AstLinux Users Mailing List <[email protected]>
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 
> <[email protected]<mailto:[email protected]>>:
>
> 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 
> <[email protected]<mailto:[email protected]>>
> Reply-To: The Cadillac Kid 
> <[email protected]<mailto:[email protected]>>, AstLinux List 
> <[email protected]<mailto:[email protected]>>
> Date: Monday, 7 August 2017 at 1:26 pm
> To: AstLinux List 
> <[email protected]<mailto:[email protected]>>
> Cc: The Cadillac Kid <[email protected]<mailto:[email protected]>>
> 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 
> <[email protected]<mailto:[email protected]>> 
> wrote:
>
> Subject: [Astlinux-users] Asterisk traffic analysis
> To: "AstLinux List" 
> <[email protected]<mailto:[email protected]>>
> 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
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].<mailto:[email protected].>

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].

Reply via email to