Summary:ASTERISK-05812: Defining searchcontexts=yes in voicemail.conf generates a crash
Reporter:Dayton Turner (dayton)Labels:
Date Opened:2005-12-10 13:41:33.000-0600Date Closed:2005-12-21 20:33:56.000-0600
Versions:Frequency of
Environment:Attachments:( 0) app_voicemail-r7425-20051210-1435.diff
( 1) backtrace.txt
Description:I read the fix at bug # 5899 to add context searching to app_voicemail again, and enabled it in my voicemail.conf. Upon executing Voicemail(exten,u) asterisk crashes quietly:

   -- Executing VoiceMail("SIP/202-dcd5", "103|u") in new stack
Disconnected from Asterisk server

Removing searchcontexts=yes from my voicemail.conf and adding the context in to the Voicemail() command works just fine.
Comments:By: Tilghman Lesher (tilghman) 2005-12-10 14:52:29.000-0600

Please read the documentation on generating a backtrace and upload a file containing the backtrace output.

By: Dayton Turner (dayton) 2005-12-10 15:05:26.000-0600

Backtrace attached as per request

By: Jason Parker (jparker) 2005-12-10 15:38:09.000-0600

dayton, try this patch and see if it helps.

Disclaimer on file.

By: Dayton Turner (dayton) 2005-12-10 17:42:59.000-0600

Thanks a ton for the patch north, it works perfectly. Guess we should see about getting this put into the stable tree?

By: Tilghman Lesher (tilghman) 2005-12-10 18:16:42.000-0600

Fixed in 1.2.  Not sure how this got fixed in trunk and not in 1.2, though.

By: Bayan Towfiq (implicit) 2005-12-10 23:18:13.000-0600

Patch hass been applied to trunk by drumkilla.