Summary: | ASTERISK-10947: Calling parkandannounce from the dial plan causes Asterisk to core dump | ||
Reporter: | Doug Lytle (lytledd) | Labels: | |
Date Opened: | 2007-12-02 09:21:05.000-0600 | Date Closed: | 2007-12-03 14:56:12.000-0600 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_parkandannounce |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) backtrace.txt ( 1) res_features.c.1.4.patch ( 2) res_features.c.trunk.patch | |
Description: | Using the below dialplan entry will cause Asterisk to core dump. I've tested on version 1.4.14 and 1.4.15: ParkAndAnnounce(local/bullhorn:pbx-transfer:paging:PARKED|100|console/dsp|auto_attend,s,2) console output: [Dec 2 10:16:29] VERBOSE[22108] logger.c: -- Executing [46@sip:1] ParkAndAnnounce("SIP/3501-08249ac0", "local/bullhorn:pbx-transfer:paging:PARKED|100|console/dsp|auto_attend|s|2") in new stack [Dec 2 10:16:29] VERBOSE[22108] logger.c: -- Dial Tech,String: (console,dsp) [Dec 2 10:16:29] VERBOSE[22108] logger.c: -- Return Context: (auto_attend,s,2) ID: 3501 [Dec 2 10:16:29] VERBOSE[22108] logger.c: -- Started music on hold, class 'default', on SIP/3501-08249ac0 [Dec 2 10:16:29] VERBOSE[22108] logger.c: == Parked SIP/3501-08249ac0 on 90@parkedcalls. Will timeout back to extension [auto_attend] s, 2 in 100 seconds ****** ADDITIONAL INFORMATION ****** Mandriva Linux 2007 Asterisk 1.4.15 Linux 2.6.19.2 | ||
Comments: | By: Doug Lytle (lytledd) 2007-12-02 09:48:41.000-0600 Just tested under 1.4.13 and it works fine. By: Eliel Sardanons (eliel) 2007-12-02 14:33:04.000-0600 file uploaded res_features.c.1.4.patch against branch 1.4. Try it and report back. By: Eliel Sardanons (eliel) 2007-12-02 14:40:58.000-0600 Also uploaded file res_features.c.trunk.patch against trunk. Could reproduce it on trunk, and seems fixed with this patch. By: Doug Lytle (lytledd) 2007-12-02 15:55:46.000-0600 This appears to fix the issue on my test machine. By: Digium Subversion (svnbot) 2007-12-03 14:48:53.000-0600 Repository: asterisk Revision: 90607 U branches/1.4/res/res_features.c ------------------------------------------------------------------------ r90607 | qwell | 2007-12-03 14:48:52 -0600 (Mon, 03 Dec 2007) | 4 lines Fix crash in ParkAndAnnounce application. Issue ASTERISK-10947, reported by lytledd, patch by eliel. ------------------------------------------------------------------------ By: Digium Subversion (svnbot) 2007-12-03 14:56:12.000-0600 Repository: asterisk Revision: 90631 _U trunk/ U trunk/res/res_features.c ------------------------------------------------------------------------ r90631 | qwell | 2007-12-03 14:56:11 -0600 (Mon, 03 Dec 2007) | 13 lines Merged revisions 90607 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 (Closes issue ASTERISK-10947) ........ r90607 | qwell | 2007-12-03 14:51:17 -0600 (Mon, 03 Dec 2007) | 4 lines Fix crash in ParkAndAnnounce application. Issue ASTERISK-10947, reported by lytledd, patch by eliel. ........ ------------------------------------------------------------------------ |