Heads-up though, before you get over excited about the suggested simplicity
of using PATH. Don't try it if your asterisk farm runs on PJSIP - it simply
won't work.
On Fri, May 28, 2021 at 11:53 AM Alex Balashov <abalashov(a)evaristesys.com>
wrote:
Hi Daian,
Rather than reoriginaring registrations with Kamailio’s UAC module, I
suggest you look into the Path extension and Kamailio’s PATH module as a
means of relaying registrations inward to Asterisk.
You can still benefit from security features of Kamailio in that case,
while removing 90% of the complexity in your proposal. :-)
— Alex
—
Sent from mobile, with due apologies for brevity and errors.
On May 28, 2021, at 10:24 AM, Daian Conrad <daian.conrad(a)gmail.com> wrote:
Hi all,
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.
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.
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.
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.
I think about using the DNS domain for each asterisk and make this
forwarded, each asterisk response for a fqdn and its extensions, like (
pbx1.example.com is forwarded to asterisk1,
pbx2.example.com to
asterisk2) and so on.
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.
I am very wrong to follow this path, which option in your opinion is
"less" painful for a beginner apprentice like me?
I think about simple proxy based on domain requests(all messages and
dialogs) to asterisk where is responsible for the domain(realm)
but, loss the ability to use great security features of kamailio, is what
I understand now with the knowledge I have.
Sorry and forgive my english, i'm not very good at writing.
--
================
**Daian Conrad**
E-mail: daian.conrad(a)gmail.com
OpenS Team (DaCoD)
Linux user: #248912
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to
the sender!
Edit mailing list options or unsubscribe:
*
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to
the sender!
Edit mailing list options or unsubscribe:
*
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users