<div dir="ltr">Dear list:<div><br></div><div>I am quite new to Kamailio and i am really struggling to get some answer to some questions i have been trying to get answers by reading documentation and other questions or solutions around internet.</div><div><br></div><div>Even though i am integrating Kamailio with two Asterisk boxes with the module dispatcher, i didnt follow the quite popular guide of Asterisk Kamailio Realtime Integration (<a href="http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb">http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb</a>). The reason why i didnt is that it actually behaved weird since i wanted Kamailio to be a stateful proxy and also wanted Kamailio to act as a Registrar Server and Location Server using subscriber and location tables of kamailio database, keeping both Asterisk strictly as Media Servers. </div><div><br></div><div>Also i have been able to solve some NAT Traversal issues using RTPProxy and not using those Asterisk boxes with their nat or qualify parameters to solve NAT issues. Most of my solution started following this guide (<a href="http://saevolgo.blogspot.com/2013/08/rtpproxy-revisited-kamailio-40.html">http://saevolgo.blogspot.com/2013/08/rtpproxy-revisited-kamailio-40.html</a>) which let me handle registration and location with Kamailio and also changed it putting kamailio behind NAT.</div><div><br></div><div>Now to the real question, is there anyway to include Asterisk voicemail functionality with the solution I already mentioned? the question is because, as I far as I know, Asterisk needs to associate mailboxes to its users. So i believe that i have to practically change most of my solution and find a way to make Kamailio register and locate users with the Realtime integration of Asterisk and map the registration accordingly to the table fields. </div><div><br></div><div>But it destroys most of my NAT and register solution since i also configured one of the private IPs as a peer in Asterisk sort of like in that guide </div><div><br></div><div><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:15.6pt;background-image:initial;background-repeat:initial"><span style="font-family:"Courier New"">[Kamailio]</span><span style="font-family:Arial,sans-serif"></span></p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:15.6pt;background-image:initial;background-repeat:initial"><span style="font-family:"Courier New"">type=friend</span><span style="font-family:Arial,sans-serif"></span></p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:15.6pt;background-image:initial;background-repeat:initial"><span style="font-family:"Courier New"">host=192.168.1.244</span><span style="font-family:Arial,sans-serif"></span></p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:15.6pt;background-image:initial;background-repeat:initial"><span style="font-family:"Courier New"">port=5060</span><span style="font-family:Arial,sans-serif"></span></p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:15.6pt;background-image:initial;background-repeat:initial"><span style="font-family:"Courier New"">disallow=all</span><span style="font-family:Arial,sans-serif"></span></p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:15.6pt;background-image:initial;background-repeat:initial"><span style="font-family:"Courier New"">allow=gsm</span><span style="font-family:Arial,sans-serif"></span></p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:15.6pt;background-image:initial;background-repeat:initial"><span style="font-family:"Courier New"">allow=g729</span><span style="font-family:Arial,sans-serif"></span></p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:15.6pt;background-image:initial;background-repeat:initial"><span style="font-family:"Courier New"">allow=alaw</span><span style="font-family:Arial,sans-serif"></span></p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:15.6pt;background-image:initial;background-repeat:initial"><span style="font-family:"Courier New"">allow=ulaw</span><span style="font-family:Arial,sans-serif"></span></p></div><div><br></div><div><div style="color:rgb(204,204,204);font-family:Arial,Tahoma,Helvetica,FreeSans,sans-serif;font-size:14.85px;line-height:20.79px"><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:15.6pt;background-image:initial;background-repeat:initial"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal">Sorry for making the question so long and to be quite ignorant with some of the concepts involving Kamailio with Asterisk</span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:15.6pt;background-image:initial;background-repeat:initial"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal"><br></span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:15.6pt;background-image:initial;background-repeat:initial"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal">Thanks </span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:15.6pt;background-image:initial;background-repeat:initial"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal"><br></span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:15.6pt;background-image:initial;background-repeat:initial"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal">Alejandro</span></p></div>
</div></div>