[asterisk-bugs] [Asterisk 0018504]: SIP autocreated peers crash asterisk on call

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Dec 20 21:38:32 UTC 2010


The following issue has been RESOLVED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18504 
====================================================================== 
Reported By:                kkm
Assigned To:                mmichelson
====================================================================== 
Project:                    Asterisk
Issue ID:                   18504
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.8.1.1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-12-20 15:04 CST
Last Modified:              2010-12-20 15:38 CST
====================================================================== 
Summary:                    SIP autocreated peers crash asterisk on call
Description: 
So I am the only person in the world using autopeers, out in the cold
alone. Scary. Proud but scared.

Any call to any SIP autopeer crashes, by way of either Dial() or Queue().

Note that a call on other direction, to a static peer, won't crash
asterisk.
====================================================================== 

---------------------------------------------------------------------- 
 (0129810) svnbot (reporter) - 2010-12-20 15:38
 https://issues.asterisk.org/view.php?id=18504#c129810 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 299248

U   branches/1.8/channels/chan_sip.c

------------------------------------------------------------------------
r299248 | mmichelson | 2010-12-20 15:38:31 -0600 (Mon, 20 Dec 2010) | 20
lines

Fix a couple of CCSS issues.

* Make sure to allocate a cc_params structure
  when creating autopeers.

* Use sip_uri_cmp when retrieving SIP CC agents
  and monitors in case parameters appear in the
  URI.

(closes issue https://issues.asterisk.org/view.php?id=18504)
Reported by: kkm

(closes issue https://issues.asterisk.org/view.php?id=18338)
Reported by: GeorgeKonopacki
Patches: 
      18338.diff uploaded by mmichelson (license 60)
Tested by: GeorgeKonopacki



------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=299248 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-20 15:38 svnbot         Checkin                                      
2010-12-20 15:38 svnbot         Note Added: 0129810                          
2010-12-20 15:38 svnbot         Status                   new => assigned     
2010-12-20 15:38 svnbot         Assigned To               => mmichelson      
2010-12-20 15:38 svnbot         Status                   assigned => resolved
2010-12-20 15:38 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list