Summary:ASTERISK-05625: [patch] VoiceMail() in the dial plan segfaults after collecting an extension
Reporter:BJ Weschke (bweschke)Labels:
Date Opened:2005-11-17 00:04:35.000-0600Date Closed:2011-06-07 14:00:29
Versions:Frequency of
Environment:Attachments:( 0) app_voicemail.patch
Description:tmp is getting populated from the read, but then it's not getting copied into argv[0].
Comments:By: BJ Weschke (bweschke) 2005-11-17 00:26:33.000-0600

credit to Vco on #asterisk for pointing this one out.

By: BJ Weschke (bweschke) 2005-11-17 09:04:09.000-0600

This patch worked for me when I tested it this morning. If a few others folks could provide some feedback to confirm, that'd be great. Thanks.

By: Serge Vecher (serge-v) 2005-11-17 09:39:28.000-0600

bweschke: under which conditions does the segfault occur?

By: BJ Weschke (bweschke) 2005-11-17 09:46:52.000-0600

When you've got just a VoiceMail() (eg. no arguments/options) in your dialplan which makes the app itself try and collect the extension for which it's leaving a message for.

By: vco (vco) 2005-11-18 11:05:18.000-0600

I have applied this patch and can confirm it has resolved the issue in my case.
On a side note, the same problem was appearing even in 1.0.9

By: twisted (twisted) 2005-11-20 01:02:42.000-0600

Fixed in CVS HEAD, thanks!

By: Russell Bryant (russell) 2005-11-20 19:02:45.000-0600

fixed in v1-2 as well

By: Digium Subversion (svnbot) 2008-01-15 15:56:47.000-0600

Repository: asterisk
Revision: 7141

U   trunk/ChangeLog
U   trunk/apps/app_voicemail.c

r7141 | twisted | 2008-01-15 15:56:47 -0600 (Tue, 15 Jan 2008) | 2 lines

issue ASTERISK-5625



By: Digium Subversion (svnbot) 2008-01-15 15:57:02.000-0600

Repository: asterisk
Revision: 7153

U   branches/v1-2/ChangeLog
U   branches/v1-2/apps/app_voicemail.c

r7153 | russell | 2008-01-15 15:57:01 -0600 (Tue, 15 Jan 2008) | 2 lines

issue ASTERISK-5625