[asterisk-bugs] [Asterisk 0014590]: updatecdr='yes' in agents.conf is not working

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Mar 4 19:01:16 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14590 
====================================================================== 
Reported By:                msetim
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14590
Category:                   Channels/chan_agent
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.23 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-02 19:51 CST
Last Modified:              2009-03-04 19:01 CST
====================================================================== 
Summary:                    updatecdr='yes' in agents.conf is not working
Description: 
Hi guys,

I have been update my asterisk from 1.4.20.1 to 1.4.23.1 (last release)
and updatecdr='yes' doesn't work anymore. I don't change anything in
configuration and it don't work. When I made downgrade to 1.4.20.1 the
updatecdr back to work again.

Well, I really don't know what to post here to help because I only change
the asterisk. My configuration is:

agents.conf

 autologoff=15
 ackcall=yes
 updatecdr=yes
 savecallsin=/var/spool/asterisk/agent
 endcall=yes
 wrapuptime=5000
 createlink=no
 musiconhold=Silence
 recordagentcalls=yes

cdr_odbc.conf

[global]
dsn=PostgreSQL-asterisk
username=XXXXXXXX
password=XXXXXXXX
loguniqueid=yes
dispositionstring=yes
table=tb_cdr

PS. I try to set "I did not set the category correctly" but it give and
error saying that I need to set someone.

====================================================================== 

---------------------------------------------------------------------- 
 (0101241) arabe (reporter) - 2009-03-04 19:01
 http://bugs.digium.com/view.php?id=14590#c101241 
---------------------------------------------------------------------- 
I think so this is a problem in agent_chan and app_queue

I had made the next test:

    1) I have one agent in one queue
    2) I send a call to the queue
    3) While the agent and de call are calling if i make the command show
channel and put the Agent/XXX channel o the caller channel i can see that
the Agent channel have correctly set the userfield with the monitor file
name, but the channel doesn't have any userfield set.

       So when the call finish (by de caller or by de agent) the CDR only
write the call registry but without the userfield.

       If i made the same test with the option unanswered = yes on
cdr.conf

       I get to lines on CDR table, one with the call to the queue without
any userfield command, and another registry  with the agent as channel and
the correct userfield. 

I don't now if this help. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-04 19:01 arabe          Note Added: 0101241                          
======================================================================




More information about the asterisk-bugs mailing list