Summary:ASTERISK-01571: Asterisk crashes when originating call to unknow extension (-stable)
Reporter:geertn (geertn)Labels:
Date Opened:2004-05-09 08:29:07Date Closed:2008-01-15 14:54:15.000-0600
Versions:Frequency of
Environment:Attachments:( 0) bt.txt
Description:I originate a call from the manager interface using a script to connect to tcp 5038. This works fine, but when I originate a call to a not known extension, I get a deadlock or a crash.

I tried with both chan_sip2s.so (backported to stable) and with stable chan_sip.so. I get them both to crash, however chan_sip.so crashes earlier.

I attached the BT's in a txt file. The first two are chan_sip2, the last two are chan_sip.

I will test some more with a fresh CVS version without the quadBRI software patches, but I don't think this is caused by the quadbri software.
Comments:By: Mark Spencer (markster) 2004-05-09 10:40:28

Backported the fix from CVS head.  I strongly recommend you work from cvs head rather than -stable.

By: Digium Subversion (svnbot) 2008-01-15 14:54:15.000-0600

Repository: asterisk
Revision: 2932

U   branches/v1-0_stable/asterisk.c

r2932 | markster | 2008-01-15 14:54:14 -0600 (Tue, 15 Jan 2008) | 2 lines

Backport gethostbyname fix from cvs head (bug ASTERISK-1571)