Enhanced Disconnection Logging Improvements

Discussions about new features or changes in existing features

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Enhanced Disconnection Logging Improvements

Postby jamiemurray » Sat Feb 13, 2021 9:39 am

I have identified some room for improvements on the Enhanced Disconnection Logging feature within FASTagi_log.pl

This has come off the back of an investigation into why a few clients wait times increased unexpectedly and ASR fell dramatically. It turned out it was because disconnected numbers were being retried up to 5 times (because they were being marked NA or B on previous attempts and then accumulating to the point that's all there was within a list). The recycling is set to 5 attempts 4 hours apart on statuses A,AA,B, and NA in my case.

A) Hangup Cause 19 is treated as AB / B. (Caused by FASTagi_log.pl requiring DIALSTATUS to be CONGESTION at line 1041 when the DIALSTATUS is in fact BUSY)

B) Hangup Cause 18 is treated as NA and the call hangs around on Vici until the dial timeout on the campaign is reached. (Caused by FASTagi_log.pl line 1032 condition not including cause 18 on CHANUNVAIL section)

C) Hangup Cause 102 is not handled by the Enhanced Disconnection Logging section. Some carriers are sending this code back on valid but disconnected or unallocated numbers and should be added in my opinion should be treated as an ADCT.

I posted on the issue tracker and created a patch if anyone else would like to benefit from it http://www.vicidial.org/VICIDIALmantis/view.php?id=1256
Last edited by jamiemurray on Sun Feb 14, 2021 10:35 am, edited 1 time in total.
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands

Re: Enhanced Disconnection Logging

Postby carpenox » Sat Feb 13, 2021 12:11 pm

nice, good shit
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2423
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Enhanced Disconnection Logging Improvements

Postby jamiemurray » Mon Feb 15, 2021 10:48 am

Just posting some feedback after having this in production today, I've seen a decrease in wait time as a result of cause 18 hanging around for dial time out on campaign and lots of invalids detected that weren't before and no ill effects that I can report so far.
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands

Re: Enhanced Disconnection Logging Improvements

Postby sadikhov » Fri Feb 26, 2021 4:14 pm

how to apply this patch?
sadikhov
 
Posts: 41
Joined: Tue Jan 24, 2012 4:49 am
Location: PHILIPPINES

Re: Enhanced Disconnection Logging Improvements

Postby mflorell » Sun Mar 14, 2021 10:15 am

We've added this as a new "Enhanced Disconnect Logging" option '2' in System Settings. Just upgrade to svn/trunk rev 3378 and change the setting and give it a try.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Enhanced Disconnection Logging Improvements

Postby carpenox » Sun Mar 14, 2021 11:48 am

Niiice that's sweet matt
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2423
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL


Return to Features

Who is online

Users browsing this forum: No registered users and 16 guests