[asterisk-bugs] [JIRA] (ASTERISK-16809) [patch] cannot override mailbox/context per user in users.conf.

Sean Bright (JIRA) noreply at issues.asterisk.org
Sun Apr 3 13:36:57 CDT 2022


     [ https://issues.asterisk.org/jira/browse/ASTERISK-16809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Bright closed ASTERISK-16809.
----------------------------------

    Resolution: Workaround Available

>From [{{users.conf.sample}}|https://github.com/asterisk/asterisk/blob/94df607771e579336efc0b6b9b1cf7fdd0bbfd9a/configs/samples/users.conf.sample]:

bq. Using users.conf is not intended to provide you with as much flexibility as using the separate configuration files (e.g. sip.conf, iax.conf, etc) but is intended to accelerate the simple task of adding users.

> [patch] cannot override mailbox/context per user in users.conf.
> ---------------------------------------------------------------
>
>                 Key: ASTERISK-16809
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-16809
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Applications/app_voicemail
>            Reporter: Marc Jauvin
>              Labels: patch
>         Attachments: app_voicemail.c.patch
>
>
> There is no way to override the voicemail mailbox name and context PER USER within users.conf (as is possible for most other parameters). I have verified this against 1.4.x, 1.6.2.x and latest SVN trunk.
> e.g. (users.conf)
> [user1]
> hassip=yes
> hasvoicemail=yes
> vmsecret=mysecret
> mailbox=100 at vmail
> This would create a voicemail mailbox=user1 with context=default and a SIP peer with Mailbox=100 at vmail (Notice the discrepancy)
> ****** ADDITIONAL INFORMATION ******
> I created a patch that fixes this. The patch has been created against latest SVN trunk, but I can provide patches for earlier releases as well (1.4.x / 1.6.2.x)
> The same users.conf snippet would now create a voicemail mailbox=100 and context=vmail, identical to the SIP Mailbox.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list