AMD_log.txt how to make it log dialed number?

All installation and configuration problems and questions

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

AMD_log.txt how to make it log dialed number?

Postby okli » Sat Oct 11, 2008 6:57 pm

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.
okli
 
Posts: 669
Joined: Mon Oct 01, 2007 5:09 pm

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

Postby Nortelguy » Sat Oct 11, 2008 9:27 pm

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.
Nortelguy
 
Posts: 120
Joined: Wed Sep 24, 2008 9:06 pm

Postby mflorell » Sun Oct 12, 2008 2:13 pm

The callerID string has the lead_id of the lead at the end of it.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby okli » Sun Oct 12, 2008 2:30 pm

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?
okli
 
Posts: 669
Joined: Mon Oct 01, 2007 5:09 pm

Postby mflorell » Sun Oct 12, 2008 4:22 pm

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)
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby okli » Sun Oct 12, 2008 7:57 pm

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.
okli
 
Posts: 669
Joined: Mon Oct 01, 2007 5:09 pm

Postby mflorell » Mon Oct 13, 2008 12:34 am

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.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby okli » Mon Oct 13, 2008 2:10 am

That it would be, thanks.
okli
 
Posts: 669
Joined: Mon Oct 01, 2007 5:09 pm


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 275 guests