Summary: | ASTERISK-03307: Using "send text" to a SIP phone crashes Asterisk | ||
Reporter: | dg (dg) | Labels: | |
Date Opened: | 2005-01-19 04:16:36.000-0600 | Date Closed: | 2008-01-15 15:22:33.000-0600 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) asterisk_bt.txt ( 1) chan_alsa.c.diff | |
Description: | If I call the console (x1234) from a SIP phone (SNOM 190) and then issue "send text hello" on the console, Asterisk terminates. I run Asterisk with the command line "asterisk" then connect to it using "asterisk -r" On the console I get: asterisk*CLI> set debug 9 Core debug was 0 and is now 9 << Call placed to 'dsp' on console >> << Auto-answered >> asterisk*CLI> send text hello asterisk*CLI> Disconnected from Asterisk server If I try to "asterisk -r" I'm told "Unable to connect to remote asterisk" and a quick "ps" shows no running server. ****** ADDITIONAL INFORMATION ****** I'm using ALSA for sound load => chan_alsa.so noload => chan_oss.so The machine is running Debian GNU/Linux 3.1, kernel 2.6.8 SMP on a dual-processor 2.4GHz Xeon machine with 1Gb memory. | ||
Comments: | By: Andrey S Pankov (casper) 2005-01-19 05:47:00.000-0600 Please include gdb backtrace from generated asterisk core as per "Bug Placing Guidelines". Thanks! By: dg (dg) 2005-01-19 06:39:37.000-0600 Have uploaded the gdb backtrace. (asterisk_bt.txt) Sorry if I've put too much in there. It's my first time. :) By: Andrey S Pankov (casper) 2005-01-19 07:41:52.000-0600 Try chan_alsa.c.diff patch please... By: dg (dg) 2005-01-19 08:00:42.000-0600 Works like a charm. Asterisk no long crashes. Great work. By: Mark Spencer (markster) 2005-01-19 08:48:04.000-0600 Fixed in CVS head, curiously this wasn't a problem in chan_oss. By: Russell Bryant (russell) 2005-01-19 21:35:33.000-0600 fixed in 1.0 By: Digium Subversion (svnbot) 2008-01-15 15:22:30.000-0600 Repository: asterisk Revision: 4845 U trunk/channels/chan_alsa.c ------------------------------------------------------------------------ r4845 | markster | 2008-01-15 15:22:30 -0600 (Tue, 15 Jan 2008) | 2 lines Fix "send text" crash (bug ASTERISK-3307) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=4845 By: Digium Subversion (svnbot) 2008-01-15 15:22:33.000-0600 Repository: asterisk Revision: 4848 U branches/v1-0/channels/chan_alsa.c ------------------------------------------------------------------------ r4848 | russell | 2008-01-15 15:22:32 -0600 (Tue, 15 Jan 2008) | 2 lines Fix "send text" crash (bug ASTERISK-3307) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=4848 |