<div dir="ltr"><div class="gmail_extra">Here is a list of changes I found:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">1) Must build asterisk with ODBC storage enabled for voicemail because using file storage will not store messages in the database.</div><div class="gmail_extra"><p dir="ltr" style="font-size:12.8px"><span style="font-size:small">2) Uncomment the lines </span><span style="font-size:12.8px"><i>&#39;odbcstorage=asterisk&#39;</i> and <i>&#39;odbctable=voicemessages&#39;</i> in voicemail.conf to enable database storage for messages.</span></p><p dir="ltr" style="font-size:12.8px"><span style="font-size:12.8px">3) In file</span><i style="font-size:12.8px"> /etc/asterisk/res_odbc.conf</i><span style="font-size:12.8px">, add the following under [asterisk] to correctly limit </span><span style="font-size:12.8px">database</span><span style="font-size:12.8px"> connection to the database:</span></p><p dir="ltr" style="font-size:12.8px">limit =&gt; 5<br>share_connections =&gt; no</p></div><div class="gmail_extra">4) Change <span style="font-size:12.8px"><i>&#39;nat=yes&#39;</i> to<i> &#39;nat=force_rport,comedia&#39;</i> in the sipusers mysql view because it is deprecated.</span><br></div><div class="gmail_extra"><span style="font-size:12.8px"><br></span></div><div class="gmail_extra"><span style="font-size:12.8px">5) Add column &#39;callbackextension&#39; to the sipusers mysql view using &quot;</span><i style="font-size:12.8px">NULL AS `callbackextension</i><span style="font-size:12.8px">&quot; because it is required in the latest asterisk version.</span></div><div class="gmail_extra"><br></div><div class="gmail_extra"><span style="font-size:12.8px">6) Change the </span><span style="font-size:12.8px">priority ordering in extensions.conf to start with 1 instead of n because the old syntax is deprecated.</span><br></div><div class="gmail_extra"><span style="font-size:12.8px"><br></span></div><div class="gmail_extra"><span style="font-size:12.8px">7) </span><span style="font-size:12.8px">Remove the suffix </span><span style="font-size:12.8px">&quot; |u &quot; from extensions.conf because this causes incorrect routing to mailboxes.</span><span style="font-size:12.8px"><br></span></div><div class="gmail_extra"><span style="font-size:12.8px"><br></span></div><div class="gmail_extra"><div>8) <span style="font-size:12.8px">Add the line<font color="#000000"> </font></span><i style="font-size:12.8px"><font color="#000000">&#39;voicemail =&gt; odbc,asterisk,vmaliases&#39;</font></i><span style="font-size:12.8px"><font color="#000000"> to extconfig.cfg b</font>ecause this is missing in the current tutorial.</span></div></div><div class="gmail_extra"><span style="font-size:12.8px"><br></span></div><div class="gmail_extra"><span style="font-size:12.8px">9) Remove the following parts from default opensips.cfg file because they clash with the voicemail reply:</span></div><div class="gmail_extra"><br></div><blockquote class="gmail_quote" style="font-size:12.8px;margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">     if (!db_does_uri_exist()) {<br>                       send_reply(&quot;420&quot;,&quot;Bad Extension&quot;);<br>                       exit;<br>               }<br></blockquote><div style="font-size:12.8px"> </div><blockquote class="gmail_quote" style="font-size:12.8px;margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">               t_newtran();<br>               t_reply(&quot;480&quot;, &quot;Temporarily Unavailable&quot;);</blockquote><div><br></div><div><br></div><div>Nabeel</div></div>