[Asterisk-bugs] [Asterisk 0009573]: updatecdr in agents.conf is not working

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jul 9 15:06:20 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 15:06 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...
====================================================================== 

---------------------------------------------------------------------- 
 nyt - 07-09-07 15:06  
---------------------------------------------------------------------- 
I'm using cdr-csv and mysql logging, its the same in either place.

If you see the log entry in the last note I added, you'll see it didn't
update the channel with Agent/4198 for the outgoing call, but instead left
it as SIP/3198 (nothing there is updated with the agent number, except
userfield which I set in the dialplan).

""test agent"
<3198>","3198","715162488400","internal-real","SIP/3198-082a1750","Zap/1-1","Dial","Zap/g1/15162488400||WT","2007-07-06
07:10:16","2007-07-06 07:10:32","2007-07-06
07:10:34","18","2","ANSWERED","DOCUMENTATION","","1183731016.243","4198"

I think that patch may have also broke something as I had reports of call
logging issues, sorry I can't be more specific but I reverted the patch
already to its previous state. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-09-07 15:06  nyt            Note Added: 0066832                          
======================================================================




More information about the Asterisk-bugs mailing list