[asterisk-bugs] [Asterisk 0014619]: Asterisk crashes when Dial() to a sip channel terminates

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Mar 7 19:04:05 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14619 
====================================================================== 
Reported By:                mapelletier
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14619
Category:                   Applications/app_dial
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!): 180677 
Request Review:              
====================================================================== 
Date Submitted:             2009-03-07 14:24 CST
Last Modified:              2009-03-07 19:04 CST
====================================================================== 
Summary:                    Asterisk crashes when Dial() to a sip channel
terminates
Description: 
Inside Dial(), when either endpoint hangs up, the application crashes (gdb
backtrace included).  Problem does not occur on calls going through
Queue().
====================================================================== 

---------------------------------------------------------------------- 
 (0101335) mapelletier (reporter) - 2009-03-07 19:04
 http://bugs.digium.com/view.php?id=14619#c101335 
---------------------------------------------------------------------- 
Barely more; the relevant excerpts:

--

context outside {
    ignorepat => 9;
    _9X. => {
        Set(CALLERID(name)=${DB(exten/${caller}/cidn)});
        Set(CALLERID(num)=${DB(exten/${caller}/cid)});
        Dial(${TRUNK}/${EXTEN:1},,${dialf});
    }
    // ... other extensions
}

context home {
    includes {
        homeext;
        functions;
        outside;
    };

    s => {
        CHANNEL(language) = fr;
        BackGround(who-would-you-like-to-call);
        WaitExten;
    };

    i => {
        BackGround(invalid);
        WaitExten;
    };

    t => Congestion;
};

--

The context home is that of the sip phones (SPA941s) that cause the
problem.  "dialf" is set to "wtkx" from the sip.conf, and caller is set to
a phone ID which then just matches keys in the DB for caller id number and
name.

There are plenty of other contexts for the incoming calls, but they are
not involved and removing them does not eliminate the errors. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-07 19:04 mapelletier    Note Added: 0101335                          
======================================================================




More information about the asterisk-bugs mailing list