[Asterisk-bugs] [Asterisk 0009573]: updatecdr in agents.conf is not working
noreply at bugs.digium.com
noreply at bugs.digium.com
Mon Jul 9 14:56:58 CDT 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=9573
======================================================================
Reported By: nyt
Assigned To: murf
======================================================================
Project: Asterisk
Issue ID: 9573
Category: Core/General
Reproducibility: always
Severity: minor
Priority: normal
Status: feedback
Asterisk Version: 1.4.2
SVN Branch (only for SVN checkouts, not tarball releases): 1.4
SVN Revision (number only!): 61708
Disclaimer on File?: No
Request Review:
======================================================================
Date Submitted: 04-21-2007 05:50 CDT
Last Modified: 07-09-2007 14:56 CDT
======================================================================
Summary: updatecdr in agents.conf is not working
Description:
Apparently there were changes made to the way cdr functions (I noticed the
changes took affect when I upgraded around Dec 12 2006).
with updatecdr enabled, this is how it used to look:
(3XXX are SIP IDs, 4XXX are agent IDs. My test agent is 4198)
4198 (test agent) available at '3198 at queue' (musiconhold is
'default')
""Agent Name Edited"
<4129>","4129","EDITEDNUMBER","internal-real","SIP/3046-68c3","Zap/1-1"
,"Dial","Zap/g1/EDITEDNUMBER||WT","2006-04-08 21:28:38","2006-04-08
21:29:07","2006-04-08 2
1:29:15","37","8","ANSWERED","DOCUMENTATION","","1144556918.7509",""
Now, with updatecdr enabled still (it changes the callerid name from what
sip specifies, to the agent name now, but nothing else)
""test agent"
<3198>","3198","4116","internal-real","SIP/3198-082bfdb8","","VoiceMail","4116|u","2007-04-21
03:24:51","2007-04-21 03:24:51","2007-04-21
03:24:52","1","1","ANSWERED","DOCUMENTATION","","1177151091.17",""
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
has duplicate 0010011 CDR channel column doesn't change to Ag...
======================================================================
----------------------------------------------------------------------
murf - 07-09-07 14:56
----------------------------------------------------------------------
OK, hang on; I'm a bit confused, I admit.
First of all, all updatecdr does is update the channel name to
"Agent/whatever..."-- and that is all. Nothing else.
The suggested change should have worked at least for the channel name
field;
and your testing shows it didn't, so back to the blackboard, I guess! (it
worked for another user, tho!).
What CDR backend are you using? the cdr_csv? Do you use any database?
The CDR code gives priority to the ANI field in CID structure... is ANI
set?
Your
Issue History
Date Modified Username Field Change
======================================================================
07-09-07 14:56 murf Note Added: 0066830
======================================================================
More information about the Asterisk-bugs
mailing list