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

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jun 23 13:02:22 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 13:02 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()

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

---------------------------------------------------------------------- 
 falves11 - 06-23-08 13:02  
---------------------------------------------------------------------- 
The code works fine relating to the NoCDR() part but blows up every 3
mins.

Loaded symbols for /lib64/libgcc_s.so.1
Core was generated by `/usr/sbin/asterisk -vvvf >/dev/null'.
Program terminated with signal 11, Segmentation fault.
http://bugs.digium.com/view.php?id=0  0x00002aaac5afb716 in
pthread_timer_disable_continuous (handle=Cannot
access memory at address 0x3ffec
) from /usr/lib/asterisk/modules/res_timing_pthread.so
(gdb) bt full
http://bugs.digium.com/view.php?id=0  0x00002aaac5afb716 in
pthread_timer_disable_continuous (handle=Cannot
access memory at address 0x3ffec
) from /usr/lib/asterisk/modules/res_timing_pthread.so
        timer = (struct pthread_timer *) Cannot access memory at address
0x3fff8
(gdb) 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-23-08 13:02  falves11       Note Added: 0089104                          
======================================================================




More information about the asterisk-bugs mailing list