[asterisk-bugs] [Asterisk 0012362]: Asterisk crashes everytime i try to dial a realtime peer. e.g.DIAL(SIP/peer/number, 60, tTwW)

noreply at bugs.digium.com noreply at bugs.digium.com
Sun Apr 6 08:38:56 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12362 
====================================================================== 
Reported By:                vinsik
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12362
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.4.19 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-03-2008 07:36 CDT
Last Modified:              04-06-2008 08:38 CDT
====================================================================== 
Summary:                    Asterisk crashes everytime i try to dial a realtime
peer. e.g.DIAL(SIP/peer/number,60,tTwW)
Description: 
Asterisk crashes everytime i try to dial a realtime peer.

Command line output:
-- AGI Script Executing Application: (SET) Options:
(CDR(accountcode)=10000)
-- AGI Script Executing Application: (SET) Options:
(CALLERID(num)=123456)
-- AGI Script Executing Application: (DIAL) Options:
(SIP/roxser/123456|60|tTwW)
Disconnected from Asterisk server

Local realtime users work fine. Also all local CMD's work.
Cannot find an logical reason. Reverting back to 1.4.18, as it works ok.


Attached is GDB of asterisk process. 
Asterisk debug does not reveal anything relevant.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0012366 Crash within a few seconds of starting
has duplicate       0012372 chan_sip.c: realtime_peer function make...
====================================================================== 

---------------------------------------------------------------------- 
 tecnoxarxa - 04-06-08 08:38  
---------------------------------------------------------------------- 
I have this problem and I reported this:
http://bugs.digium.com/view.php?id=12372

My propose for solution is change only one line:

Old:

if (!strcasecmp(tmp->name, "host")) {
                ^^^

New:

if (!strcasecmp(var->name, "host")) {
                ^^^


I have testing now changes and this work good. Any problem for this ? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-06-08 08:38  tecnoxarxa     Note Added: 0085047                          
======================================================================




More information about the asterisk-bugs mailing list