List of rejected extension per date

Amethyst - Advance Call Recording Solution(Trunk,Extension, VoIP and clientside) with Agent Quality Management and 3rd party integration SDK

Moderators: Leon van Heerden, Luanda_Junzi, Belinda Frick, Lee Hendricks

List of rejected extension per date

Postby Belinda Frick » Thu May 26, 2016 11:37 am

How do I pull the list of rejected recordings for a specific date?

cat /opt/amethyst/logs/2015012*/amtreject.log | cut -d "-" -f 5 | cut -d "|" -f 1 | sort -u

NOTE: This example is January 2015 from 20-29
Belinda Frick
 
Posts: 3808
Joined: Fri Nov 12, 2010 4:25 pm

Re: List of rejected extension per date

Postby Luanda_Junzi » Mon Jun 06, 2016 5:00 pm

cat /opt/amethyst/logs/20160606/amtreject.log | cut -d "-" -f 5 | cut -d "|" -f 1 | sort -u

Results

Code: Select all
1008
1017
9024
9026
9032
9033
9034
9036
9046
9047
9048
9049
9050
9051
9052
9065




Code: Select all
cat /opt/amethyst/logs/`date +%Y%m%d`/amtreject.log | cut -d "-" -f 5 | cut -d "|" -f 1,2 | sort -u -t"|" -k1,1


Gives you EXT and usernamee

Code: Select all
1008|MFUNDO MKHWANAZI
1017|ZANELE MNGOMEZULU
9024|JUDY KARAM
9026|Tshepo Mbikwana
9032|NICOLA MATTHEWS
9033|Queen
9034|MESHA HARRILAL
9036|SHAMONA CHINNAPA
9046|EXT9046
9047|Travis Berry
9048|EXT9048
9049|EXT9049
9050|EXT9050
9051|Jezreel Snyders
9052|Calem
9065|EXT9065
Luanda_Junzi
 
Posts: 142
Joined: Wed Feb 25, 2015 2:30 pm

Re: List of rejected extension per date

Postby Belinda Frick » Tue Jul 19, 2016 4:38 pm

Create a file with a list of all the rejected recording references, showing the extension and user name:

cat /opt/amethyst/logs/`date +%Y%m%d`/amtreject.log | cut -d "]" -f 3 | cut -d "|" -f 1,2 | sort -u -t"|" -k1,1 > b1.txt

This is useful if you have more than one recorder and/or redundant recording and want to see from which recorder the rejected recordings are. Use the recording reference prefix to find the recorder:

B160719-0012C9.zlb - 8901|ONTVANGS
Belinda Frick
 
Posts: 3808
Joined: Fri Nov 12, 2010 4:25 pm


Return to Amethyst

Who is online

Users browsing this forum: No registered users and 1 guest

cron