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

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jun 23 12:20:04 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 12:20 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 12:20  
---------------------------------------------------------------------- 
yes, you would do roughly the same:

svn co http://svn.digium.com/svn/asterisk/team/murf/CDRfix6 

should check this out and leave it in "CDRfix6".

If you want it in some other directory, you can say:

svn co http://svn.digium.com/svn/asterisk/team/murf/CDRfix6 someother

(and try to ignore the [^] stuff inserted by the bug tracker. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-23-08 12:20  murf           Note Added: 0089100                          
======================================================================




More information about the asterisk-bugs mailing list