|Summary:||ASTERISK-05522: Voicemail Gain Argument|
|Date Opened:||2005-11-09 02:11:08.000-0600||Date Closed:||2005-11-10 20:47:37.000-0600|
|Environment:||Attachments:||( 0) 5670.patch|
|Description:||It looks like the voicemail argument for gain isn't getting handled correctly, when there's a b or u prefixed to the mailbox. For example:|
exten => 123,1,Voicemail(u101@foo,g(5))
will result in:
Nov 9 02:06:48 WARNING: app_voicemail.c:2374 leave_voicemail: No entry in voicemail config file for 'u101'
exten => 123,1,Voicemail(101@foo,g(5))
A show dialplan shows it parsed correctly, so I'm guessing it's voicemail-specific code acting up.
|Comments:||By: BJ Weschke (bweschke) 2005-11-09 08:46:25.000-0600|
Try that patch. The way the options are passed to Voicemail has recently changed in that you're supposed to pass all options (including u,b, and s) as options rather than prepending them before the extension, but I can see alot of people making the same mistake you did just because they were so used to the old way of doing it. Thus, I've put up that patch that should have it work the way you intend.
By: denon (denon) 2005-11-09 11:39:03.000-0600
Thanks, looks good. Tested both with and without "u". All behaves as expected, and gain is properly applied.
By: Kevin P. Fleming (kpfleming) 2005-11-10 20:47:27.000-0600
Sorry, this one won't go in. The old syntax of prefixing the mailbox name with a character is no longer documented and should not be used with trailing options at all.