[asterisk-bugs] [Asterisk 0011774]: CALLERID is not logged correctly into cdrs

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Feb 13 00:45:31 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11774 
====================================================================== 
Reported By:                voipgate
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11774
Category:                   CDR/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.17 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             01-15-2008 14:53 CST
Last Modified:              02-13-2008 00:45 CST
====================================================================== 
Summary:                    CALLERID is not logged correctly into cdrs
Description: 
I can set my callerid using the CALLERID function and this works great on
the dialplan. I can read and write to it,the callerid is applied, but
inside the cdr records it is the first callerid that has been provided and
not the one that i defined.


If I modify my CALLERID it should be logged to the cdr table.
====================================================================== 

---------------------------------------------------------------------- 
 Corydon76 - 02-13-08 00:45  
---------------------------------------------------------------------- 
Ah, I think I know what the problem is.  Try adding a Sleep(1) before the
first step in your dialplan.  The key is that this is a PRI circuit, and
the callerid sometimes arrives in a duplicate message, AFTER the initial
setup message (in the duplicate message, the calleridname is also set). 
You may notice that you'll suddenly start receiving calleridname on the SIP
phone when you do this.

For the record, what I suspect is happening is that you are indeed setting
it correctly in the CDR, and then it's getting RESET back to the original
value when the duplicate message comes in over the PRI circuit.  You think
that the second value is not having an effect on the CDR -- but it does;
it's just getting set one more time by the PRI. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-13-08 00:45  Corydon76      Note Added: 0082125                          
======================================================================




More information about the asterisk-bugs mailing list