[OpenSIPS-Users] OpenSIPS and Asterisk integration versions

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Jul 4 10:45:08 CEST 2016


Hi,

0. The cfg block you mentioned as removed does not exists in the cfg as 
per tutorial.

1. the "limit" column does not exist in the sipusers as per tutorial, so 
it might have been added in newer asterisk versions; not sure what is 
its meaning, but if setting it to 1 makes asterisk happy, it should be fine.

2. with odbc_voicemail, you do not have to add the users in 
voicemail.conf . Are you sure you properly set in 
/etc/asterisk/extconfig.conf the lines with:
        voicemail => odbc,asteriskcfg,vmusers
            voicemail => odbc,asteriskcfg,vmaliases

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 03.07.2016 22:59, Nabeel wrote:
> The last error message has been solved by removing the following lines 
> from opensips.cfg:
>
>        if (!db_does_uri_exist()) {
>                            send_reply("420","Bad Extension");
>                            exit;
>                    }
>
>                  t_newtran();
>                    t_reply("480", "Temporarily Unavailable");
>
>
>
> Now voicemail seems to be working, but only if manually adding users 
> to the voicemail.conf file. So the following questions remain:
>
> 1. Adding "limit = 1" to sipusers mysql view resolves a database 
> error. Is this the correct way to fix the error for voicemail integration?
>
> 2. How can voicemail.conf file be configured to use variable 
> substitution for all users in the OpenSIPS subscriber table?
>
> Nabeel
>
> On 2 July 2016 at 13:41, Nabeel <nabeelshikder at gmail.com 
> <mailto:nabeelshikder at gmail.com>> wrote:
>
>     In the latest version of Asterisk, there is a new file
>     voicemail.conf which must be configured correctly for voicemail,
>     but the tutorial does not mention this file at all. Please let me
>     know how to configure this file for integration with OpenSIPS.
>
>     Nabeel
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160704/40abb3e4/attachment-0001.htm>


More information about the Users mailing list