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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 10 01:54:34 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://insects.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:                     new
Asterisk Version:           1.4.22 
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:              2008-11-10 01:54 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})

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

---------------------------------------------------------------------- 
 (0094702) dwagner (reporter) - 2008-11-10 01:54
 http://insects.digium.com/view.php?id=13859#c94702 
---------------------------------------------------------------------- 
(gdb) p ch
$1 = <value optimized out>
(gdb) p ch->bc
Cannot access memory at address 0x12ac
(gdb) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-10 01:54 dwagner        Note Added: 0094702                          
======================================================================




More information about the asterisk-bugs mailing list