Page 1 of 1

AMD_log.txt how to make it log dialed number?

PostPosted: Sat Oct 11, 2008 6:57 pm
by okli
How can be made /var/log/astguiclient/AMD_log.txt to show the dialed number?
Now it displays campaign's callerID. Would be helpful when adjusting AMD settings.

Re: AMD_log.txt how to make it log dialed number?

PostPosted: Sat Oct 11, 2008 9:27 pm
by Nortelguy
okli wrote:How can be made /var/log/astguiclient/AMD_log.txt to show the dialed number?
Now it displays campaign's callerID. Would be helpful when adjusting AMD settings.


That would be helpful, however you can get that information from the CLI with grep.

PostPosted: Sun Oct 12, 2008 2:13 pm
by mflorell
The callerID string has the lead_id of the lead at the end of it.

PostPosted: Sun Oct 12, 2008 2:30 pm
by okli
What do you mean Matt? Here is what we are getting:

Code: Select all
vici1:~# tail -50 /var/log/astguiclient/AMD_log.txt
2008-10-11 17:42:40|784062|      |AMD_MACHINE|AMD_MAXWORDS-4-4|888308XXXX|
2008-10-11 17:43:42|785574|      |AMD_PERSON|AMD_HUMAN-1000-1000|888308XXXX|
2008-10-11 17:44:50|785573|      |AMD_MACHINE|AMD_INITIALSILENCE-2000-2000|888308XXXX|
2008-10-11 17:46:16|785572|      |AMD_MACHINE|AMD_MAXWORDS-4-4|888308XXXX|
2008-10-11 17:46:52|898061|      |AMD_MACHINE|AMD_MAXWORDS-4-4|888308XXXX|
2008-10-11 17:48:00|1072925|      |AMD_PERSON|AMD_HUMAN-1000-1000|888308XXXX|
2008-10-11 17:48:11|785566|      |AMD_PERSON|AMD_HUMAN-1000-1000|888308XXXX|
2008-10-11 17:49:16|785563|      |AMD_MACHINE|AMD_INITIALSILENCE-2000-2000|888308XXXX|
2008-10-11 17:49:42|1072924|      |AMD_MACHINE|AMD_MAXWORDS-4-4|888308XXXX|
2008-10-11 17:50:06|785562|      |AMD_MACHINE|AMD_MAXWORDS-4-4|888308XXXX|
2008-10-11 17:50:32|1072923|      |AMD_PERSON|AMD_HUMAN-1000-1000|888308XXXX|
2008-10-11 17:51:50|1072922|      |AMD_MACHINE|AMD_MAXWORDS-4-4|888308XXXX|
2008-10-11 17:51:54|785561|      |AMD_PERSON|AMD_HUMAN-1000-1000|888308XXXX|
2008-10-11 17:52:52|1072920|      |AMD_PERSON|AMD_HUMAN-1000-1000|888308XXXX|
2008-10-11 17:53:40|1072919|      |AMD_PERSON|AMD_HUMAN-1000-1000|888308XXXX|
2008-10-11 17:54:42|1072918|      |AMD_PERSON|AMD_HUMAN-1000-1000|888308XXXX|
2008-10-11 17:55:06|1072917|      |AMD_PERSON|AMD_HUMAN-1000-1000|888308XXXX|
2008-10-11 17:55:45|1072916|      |AMD_NOTSURE|AMD_TOOLONG-5000|888308XXXX|
2008-10-11 17:58:13|1072915|      |AMD_MACHINE|AMD_MAXWORDS-4-4|888308XXXX|
2008-10-11 18:00:26|1072914|      |AMD_MACHINE|AMD_MAXWORDS-4-4|888308XXXX|
2008-10-11 18:01:18|1072904|      |AMD_PERSON|AMD_HUMAN-1000-1000|888308XXXX|
2008-10-11 18:01:43|785016|      |AMD_PERSON|AMD_HUMAN-1000-1000|888308XXXX|
2008-10-11 18:01:51|1072903|      |AMD_PERSON|AMD_HUMAN-1000-1000|888308XXXX|
2008-10-11 18:03:14|785559|      |AMD_MACHINE|AMD_INITIALSILENCE-2000-2000|888308XXXX|
2008-10-11 18:04:28|785550|      |AMD_MACHINE|AMD_LONGGREETING-2000-2000|888308XXXX|
2008-10-11 18:05:44|1072896|      |AMD_MACHINE|AMD_INITIALSILENCE-2000-2000|888308XXXX|
2008-10-11 18:05:50|785542|      |AMD_PERSON|AMD_HUMAN-1000-1000|888308XXXX|
2008-10-11 18:08:14|785535|      |AMD_PERSON|AMD_HUMAN-1000-1000|888308XXXX|
2008-10-11 18:08:39|1072895|      |AMD_PERSON|AMD_HUMAN-1000-1000|888308XXXX|
2008-10-11 18:09:00|785529|      |AMD_PERSON|AMD_HUMAN-1000-1000|888308XXXX|
2008-10-11 18:10:09|785526|      |AMD_PERSON|AMD_HUMAN-1000-1000|888308XXXX|
2008-10-11 18:10:25|1072892|      |AMD_MACHINE|AMD_MAXWORDS-4-4|888308XXXX|
2008-10-11 18:11:16|1072891|      |AMD_MACHINE|AMD_INITIALSILENCE-2000-2000|888308XXXX|
2008-10-11 18:12:46|785523|      |AMD_MACHINE|AMD_INITIALSILENCE-2000-2000|888308XXXX|
2008-10-11 18:12:48|1072888|      |AMD_PERSON|AMD_HUMAN-1000-1000|888308XXXX|
2008-10-12 12:22:34|906045|      |AMD_PERSON|AMD_HUMAN-1000-1000|888308XXXX|
vici1:~#

888308XXXX is our campaign CallerID #.

Ahh, you mean next to date-time is the lead ID? How can we put lead phone number instead?

PostPosted: Sun Oct 12, 2008 4:22 pm
by mflorell
Correct, as for adding the phone number, at the point that logging is taking place it is not looking up the original record. If you wanted to add that in you would need to add a database lookup to pull the phone number to that script (VD_amd.agi)

PostPosted: Sun Oct 12, 2008 7:57 pm
by okli
I wish I knew what to add :)

Will have to live with callerID for now.
The thing is that having phone number in the log, would help to check how accurate AMD is, by calling quickly the last few dialed numbers marked as AA in this log, rather than going through tons of info on the CLI output.

PostPosted: Mon Oct 13, 2008 12:34 am
by mflorell
just use the "Search for a lead" link in the admin.php Lists section and put the lead_id in to find the phone number. This should only take a few seconds each and should not be too troublesome if you are only looking for a few at a time.

PostPosted: Mon Oct 13, 2008 2:10 am
by okli
That it would be, thanks.