[asterisk-bugs] [Asterisk 0012907]: NoCDR() is not working

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jun 23 16:09:50 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12907 
====================================================================== 
Reported By:                falves11
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   12907
Category:                   Channels/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 122766 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             06-20-2008 16:02 CDT
Last Modified:              06-23-2008 16:09 CDT
====================================================================== 
Summary:                    NoCDR() is not working
Description: 
I have this tiny dialplan:
exten =>_X.,1,NoCDR() ;bridge does not store cdr
exten =>_X.,n,NoOp(${CHANNEL(channeltype)})
exten =>_X.,n,GotoIf($["${CHANNEL(channeltype)}" =
"H323"]?default,${EXTEN},300)
exten =>_X.,n,Set(SIPIP=${SIPCHANINFO(recvip)})
exten =>_X.,n,Set(CALLERPRES()=allowed)
exten =>_X.,n,Set(SIPIP=${SIPCHANINFO(recvip)})
exten =>_X.,n(entrada),Set(CALLERID(name)=${SIPIP})
exten =>_X.,n,Verbose(0,Callerid: ${CALLERID(num)} From: ${CALLERID(name)}
To: ${EXTEN})
exten =>_X.,n,GotoIf($["${EXTEN:0:1}" = "1"]?dialout,${EXTEN},1)
exten =>_X.,n,GotoIf($["${EXTEN:0:1}" = "0"]?dialout,${EXTEN},1)
exten =>_X.,n,Goto(dialout,${EXTEN},1)
exten =>_X.,100,Hangup(34)
exten =>_X.,300,NoOp(${CHANNEL})
exten =>_X.,301,Set(SIPIP=${CUT(CHANNEL,:,1):8})
exten =>_X.,302,Goto(entrada)

[dialout]
exten =>_#X.,1,NoCDR()
exten =>_#X.,n,Dial(SIP/${EXTEN:1}@${GW},45,L(3600000))
exten =>_#X.,n,Hangup()
exten =>_X.,1,NoCDR()
exten =>_X.,n,Dial(SIP/${EXTEN}@${GW},45,L(3600000))
exten =>_X.,n,Hangup()

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

---------------------------------------------------------------------- 
 murf - 06-23-08 16:09  
---------------------------------------------------------------------- 
falves11-- many, many thanks for testing the CDRfix code!
I have a few other bugs depending on these changes, and as soon as 
what "feels" like a sufficient number of them respond positively, I will
commit the CDRfix code to 1.4, trunk, and 1.6.0. Hopefully this week!

As to the pthread timer code, just keep the noload in place until this
brand
new module gets some more testing and bug fixes. The problems will be
found
soon, hopefully, and fixed, which will allow you the luxury of a choice
between
the two. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-23-08 16:09  murf           Note Added: 0089123                          
======================================================================




More information about the asterisk-bugs mailing list