[OpenSIPS-Users] OpenSIPS and Asterisk integration versions

Nabeel nabeelshikder at gmail.com
Fri Jul 15 18:10:13 CEST 2016


Here is a list of changes I found:


1) Must build asterisk with ODBC storage enabled for voicemail because
using file storage will not store messages in the database.

2) Uncomment the lines *'odbcstorage=asterisk'* and
*'odbctable=voicemessages'* in voicemail.conf to enable database storage
for messages.

3) In file* /etc/asterisk/res_odbc.conf*, add the following under
[asterisk] to correctly limit database connection to the database:

limit => 5
share_connections => no
4) Change *'nat=yes'* to* 'nat=force_rport,comedia'* in the sipusers mysql
view because it is deprecated.

5) Add column 'callbackextension' to the sipusers mysql view using "*NULL
AS `callbackextension*" because it is required in the latest asterisk
version.

6) Change the priority ordering in extensions.conf to start with 1 instead
of n because the old syntax is deprecated.

7) Remove the suffix " |u " from extensions.conf because this causes
incorrect routing to mailboxes.

8) Add the line *'voicemail => odbc,asterisk,vmaliases'* to
extconfig.cfg because
this is missing in the current tutorial.

9) Remove the following parts from default opensips.cfg file because they
clash with the voicemail reply:

     if (!db_does_uri_exist()) {
>                        send_reply("420","Bad Extension");
>                        exit;
>                }
>


>                t_newtran();
>                t_reply("480", "Temporarily Unavailable");



Nabeel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160715/065089b4/attachment.htm>


More information about the Users mailing list