[asterisk-bugs] [Asterisk 0013892]: After upgrading from 1.4.21.2 to 1.4.22 unaswered calls aren't correctly saved as CDR

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Feb 20 10:15:37 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13892 
====================================================================== 
Reported By:                dzajro
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   13892
Category:                   CDR/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.4.22 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-11-12 17:11 CST
Last Modified:              2009-02-20 10:15 CST
====================================================================== 
Summary:                    After upgrading from 1.4.21.2 to 1.4.22 unaswered
calls aren't correctly saved as CDR
Description: 
Call from SIP extension into PSTN via Zap to non-existing number. PSTN is
correctly returning unassigne/unallocated number.

    -- Executing [s at macro-to-pstn-4:3] Dial("SIP/421232660232-0a2d22d8",
"Zap/g4/421230123123") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called g4/421230123123
    -- Zap/1-1 is proceeding passing it to SIP/421232660232-0a2d22d8
    -- Channel 0/1, span 1 got hangup request, cause 1
    -- Hungup 'Zap/1-1'
  == Everyone is busy/congested at this time (1:0/0/1)

With 1.4.21.2 and "unanswered = no" in cdr.conf * produces following CDR:

src=421232660232
dst=421230123123
channel=SIP/421232660232-xxx
dstchannel=Zap/1-1
duration=0
billsec=0
disposition=NO ANSWER

1.4.21.2 with "unanswered = yes" produces the same PLUS (the are 2 CDR for
the same call, with the same call_date):

src=421232660232
dst=s
channel=Zap/1-1
dstchannel=
duration=0
billsec=0
disposition=NO ANSWER

With 1.4.22 and "unanswered = no" system produces NO CDR

With 1.4.22 and "unanswered = yes" system produces only ONE CDR:
src=
dst=s
channel=Zap/1-1
dstchannel=
duration=0
billsec=0
disposition=NO ANSWER

This CDR is unusable for billing/documentary purpose, there's NO SRC, no
real channel.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0011849 Missing CDR's for Transfers
related to          0013691 [patch] Unanswered Queue() calls don't ...
related to          0012946 ResetCDR not work now on non-answered c...
====================================================================== 

---------------------------------------------------------------------- 
 (0100454) dzajro (reporter) - 2009-02-20 10:15
 http://bugs.digium.com/view.php?id=13892#c100454 
---------------------------------------------------------------------- 
Sorry for huge delay. I'm ready to test our traffic on svn-1.4, finally. 
But first I have to pass through few childish problems, for example:

   [CC] res_musiconhold.c -> res_musiconhold.o
In file included from
/usr/src/asterisk-1.4/include/asterisk/dahdi_compat.h:27,
                 from res_musiconhold.c:76:
/usr/include/dahdi/user.h:736: error: syntax error before "__s32"
/usr/include/dahdi/user.h:743: error: field `params' has incomplete type
/usr/include/dahdi/user.h:939: error: syntax error before "__s32"
/usr/include/dahdi/user.h:940: error: syntax error before ':' token
make[1]: *** [res_musiconhold.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk-1.4/res'
make: *** [res] Error 2

while compiling asterisk.

below are versions of dahdi/libri/asterisk:
wget
http://downloads.digium.com/pub/telephony/dahdi-tools/releases/dahdi-tools-2.1.0.2.tar.gz

wget
http://downloads.digium.com/pub/telephony/dahdi-linux/releases/dahdi-linux-2.1.0.4.tar.gz

svn checkout http://svn.digium.com/svn/asterisk/branches/1.4 asterisk-1.4

svn checkout http://svn.digium.com/svn/libpri/branches/1.4 libpri-1.4 
wget
http://downloads.digium.com/pub/asterisk/releases/asterisk-addons-1.4.7.tar.gz

what is the correct svn version of dahdi-linux/dahdi-tools? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-20 10:15 dzajro         Note Added: 0100454                          
======================================================================




More information about the asterisk-bugs mailing list