<div dir="ltr"><div>Hi all,</div><div><br></div>I am studying and improving my understanding of how kamailio works, I have used asterisk for a few years(and starting learning freeswitch too), and I use an application to manage extensions, trunks and other media services.<br>I'm building a new scenario where kamailio is facing the internet and the asterisk(s) are internally on private networks, would like the opinion of you who are more experienced with more complex environments than me.<div><br></div><div> I cannot change the application that uses asterisk for now, due to the effort to develop event monitoring, cdr and other features that I use today.</div><div><br>I imagined and working on making kamailio functional by saving the registration of extensions with location on DB, and with the UAC module making the registration of extensions on asterisk(s), replacing the registration address with the address of kamailio, its functional at this point, but data replication with extensions turns things some hard to mantain manually.</div><div><br>I think about using the DNS domain for each asterisk and make this forwarded, each asterisk response for a fqdn and its extensions, like (<a href="http://pbx1.example.com">pbx1.example.com</a> is forwarded to asterisk1, <a href="http://pbx2.example.com">pbx2.example.com</a> to asterisk2) and so on.</div><div><br>Read about the dispatcher, rr, htable,carrierroute module to identify the domain and forward based on that , none made me sure to be chosen for the role, however, everyone has the resources to do it.</div><div><br></div><div>I am very wrong to follow this path, which option in your opinion is "less" painful for a beginner apprentice like me?</div><div><br>I think about simple proxy based on domain requests(all messages and dialogs) to asterisk where is responsible for the domain(realm)<br>but, loss the ability to use great security features of kamailio, is what I understand now with the knowledge I have.</div><div><br></div><div>Sorry and forgive my english, i'm not very good at writing.</div><div><br></div><div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div>================</div><div>**Daian Conrad**</div><div><br></div><div>E-mail: <a href="mailto:daian.conrad@gmail.com" target="_blank">daian.conrad@gmail.com</a></div><div>OpenS Team (DaCoD)</div><div>Linux user: #248912 </div><div><br></div><div><br></div></div></div></div>