With the caveat of “everyone does things a bit differently”, etc…
Here’s an example of how I would approach a kamailio front/uac to carrier:
On Nov 28, 2023, at 9:44 PM, Fred Posner via sr-users
<sr-users(a)lists.kamailio.org> wrote:
Hi Saul,
Great to see you here…
So, there’s not a ton of examples out there on UAC, but many of us have done what you’re
describing and later on I’ll try to respond with a config example.
Nick vs Networking has some good, verbose discussions on many modules including;
https://nickvsnetworking.com/kamailio-bytes-sip-uac-module-to-act-as-a-uac-…
For what you’re talking about doing, I’d probably have the credentials stored in a DB
(mariadb, Postgres, etc) and then have that register to the carriers.
Asterisk would connect to your Kamailio, and then using whatever logic you want (LCR,
x-header, favorite, etc) you would then send out to the carrier with kamailio handling
(via uac) the authentication on the INVITEs.
For incoming, it depends on the carrier how you receive the call. Some carriers will send
all dids to just your registered username, others will send with DID info in the SIP.
Every carrier is a snowflake.
Keeping with the snowflake theme, some carriers are also “finicky” on outbound traffic
and don’t like to see certain SIP; where some modules like topos may assist.
Regards,
Fred Posner
p: +1 (352) 664-3733
On Nov 28, 2023, at 8:26 PM, Saul Ibarra via
sr-users <sr-users(a)lists.kamailio.org> wrote:
Thanks for your response,
I have checked the UAC module, but i would like get more information about how it works.
I have worked with Asterisk in the past, if i were to handle this let's say with an
asterisk in the middle, it will probably be two sip accounts + a dialplan config to make
them call each other
So here the "equivalent" is UAC module to do the 'register' to the
provider, but, does it means that as soon as kamailio have the provider credentials it
will try to register?
While using a DB (i'm using mariadb), will any update on the DB be automatically
accessible by Kamailio or i should do some 'reload' for it?
I'm confused by the way it works which is pretty different from Asterisk in the end,
but i like the idea of having also full control over what's happening and when
On Tue, Nov 28, 2023 at 9:39 PM Yuriy G <ovoshlook(a)gmail.com> wrote:
Hi. Use UAC module
Examples of the configuration are in the docs
https://www.kamailio.org/docs/modules/5.7.x/modules/uac.html#idm700
On Wed, Nov 29, 2023, 01:26 Saul Ibarra via sr-users <sr-users(a)lists.kamailio.org>
wrote:
Hi,
I am needing some help setting up kamailio as a sip proxy between a provider(trunk) and a
test pbx
The trunk requires username&password and i would like to add that information to the
request within the Kamailio proxy, so that the PBX can authenticate directly by IP
(without username&password) through the Kamailio proxy.
As a programmer with a limited background in SIP (currently learning), I am keen on
understanding the intricacies of this setup at the SIP level.
Could you please direct me to resources or documentation that covers scenarios similar to
mine?
Any help or guidance you could provide would be greatly appreciated.
Thanks
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave(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:
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave(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:
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave(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: