[asterisk-bugs] [Asterisk 0013859]: crash after misdn_set_opt_exec

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 8 12:59:46 CST 2009


The following issue requires your FEEDBACK. 
====================================================================== 
http://bugs.digium.com/view.php?id=13859 
====================================================================== 
Reported By:                dwagner
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13859
Category:                   Channels/chan_misdn
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.22 
Blocks for Version:         None 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-11-07 10:26 CST
Last Modified:              2009-01-08 12:59 CST
====================================================================== 
Summary:                    crash after misdn_set_opt_exec
Description: 
Today we have 3 crashes by receiveing a fax.
We use the misdn_set_opt_exec command to disable echo-cancelation with the
DB-Parameter NEC.

This is our dialplan

;--- Ungueltige Durchwahlen abfangen
exten => h,1,Hangup
exten => i,1,Goto(call,1)
exten => t,1,Goto(call,1)
exten => 0,1,Goto(call,1)

;--- Start-Extension fuer ohne Durchwahl oder analoge Geraete
exten => s,1,NoOp(Start-Extension fuer ohne Durchwahl oder analoge
Geraete)
exten => s,2,Waitfordigits(2000,,,,3)
exten => s,3,Goto(call,1)

;--- Direkte Durchwahl
exten => _X.,1,NoOp(Direkte Durchwahl)
exten => _X.,n,Waitfordigits(2000,,,,3)
exten =>
_X.,n,SIPAddHeader("Alert-Info:<http://www.notused.com>\;info=alert-external")
; fuer snoms
exten => _X.,n,ExecIf($["${DB(NEC/${EXTEN})}"="-1"],misdn_set_opt,!e:vt0)
exten => _X.,n,LookupCIDName
exten => _X.,n,Set(CALLERID(num)=0${CALLERID(num)})
exten => _X.,n,Set(REALCALLERIDNUM=${CALLERID(num)})
exten => _X.,n,Answer
exten => _X.,n,Macro(dial,30,${DIAL_OPTS},${EXTEN})
exten => _X.,n,ExecIf($["${DB(CFB/${EXTEN})}"="-1"],Busy)
exten => _X.,n,Goto(call,6)

;--- Keine Durchwahl gewaehlt
exten => call,1,NoOp(Keine Durchwahl gewaehlt)
exten => call,2,NoOp
exten => call,3,Set(CALLERID(num)=0${CALLERID(num)})
exten => call,4,Set(REALCALLERIDNUM=${CALLERID(num)})
exten =>
call,5,SIPAddHeader("Alert-Info:<http://www.notused.com>\;info=alert-external")
; fuer snoms
exten => call,6,Answer
;--- Wenn Ausserhalb der Geschaeftszeiten dann gehe auf 100
exten => call,7,NoOp(Zu den Geschaeftszeiten)
exten => call,n,GotoIfTime(07:30-17:30|mon-thu|*|*?call,100)
exten => call,n,GotoIfTime(07:30-12:00|fri|*|*?call,100)
exten => call,n,Macro(dial,60,${DIAL_OPTS_AGZ},${FALLBACK_EXT})
exten => call,n,Macro(dial,15,${DIAL_OPTS_AGZ},${BACKUP_EXT})
exten => call,n,Macro(dial,999,${DIAL_OPTS_AGZ},${FALLBACK_EXT})
exten => call,n,Voicemail(${FALLBACK_EXT}@default)
exten => call,100,Macro(dial,60,${DIAL_OPTS},${FALLBACK_EXT})
exten => call,n,Macro(dial,999,${DIAL_OPTS},${BACKUP_EXT})

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

---------------------------------------------------------------------- 
 (0097212) Corydon76 (administrator) - 2009-01-08 12:59
 http://bugs.digium.com/view.php?id=13859#c97212 
---------------------------------------------------------------------- 
dwagner:  You're going to need to recompile with DONT_OPTIMIZE in order for
us to be able to help you. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-08 12:59 Corydon76      Note Added: 0097212                          
2009-01-08 12:59 Corydon76      Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list