Discussion:
[SR-Users] Outbound registration?
James Cloos
2014-07-19 22:29:35 UTC
Permalink
I don't see anything relevant in the docs, nor greping the src, but in
case I missed something:

Does the core, or do any of the modules support originating registration
requests to other proxies a/o endpoints?

I'd like to move registration responsibility to kama, and have it add a
header on incoming INVITEs and the like from anything with which it has
REGISTERed indicating which outbound registration is relevant to said
request.

If I'm right that there isn't support for that, do any of the app modules
expose enough sip capability easily to write such?

-JimC
--
James Cloos <cloos-GRsvFm/Gh/***@public.gmane.org> OpenPGP: 0x997A9F17ED7DAEA6
Alex Balashov
2014-07-20 10:07:00 UTC
Permalink
Post by James Cloos
I don't see anything relevant in the docs, nor greping the src, but in
Does the core, or do any of the modules support originating registration
requests to other proxies a/o endpoints?
I'd like to move registration responsibility to kama, and have it add a
header on incoming INVITEs and the like from anything with which it has
REGISTERed indicating which outbound registration is relevant to said
request.
If I'm right that there isn't support for that, do any of the app modules
expose enough sip capability easily to write such?
The 'uac' module supports this:

http://kamailio.org/docs/modules/4.1.x/modules/uac.html#uac.p.reg-db-url-id

But, the functionality is kind of skeletal. You can't closely manage the
registrations. This isn't a role for which Kamailio is especially
well-suited.
--
Alex Balashov - Principal
Evariste Systems LLC
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/

Please be kind to the English language:

http://www.entrepreneur.com/article/232906
Olle E. Johansson
2014-07-21 09:51:24 UTC
Permalink
Post by Alex Balashov
Post by James Cloos
I don't see anything relevant in the docs, nor greping the src, but in
Does the core, or do any of the modules support originating registration
requests to other proxies a/o endpoints?
I'd like to move registration responsibility to kama, and have it add a
header on incoming INVITEs and the like from anything with which it has
REGISTERed indicating which outbound registration is relevant to said
request.
If I'm right that there isn't support for that, do any of the app modules
expose enough sip capability easily to write such?
http://kamailio.org/docs/modules/4.1.x/modules/uac.html#uac.p.reg-db-url-id
But, the functionality is kind of skeletal. You can't closely manage the registrations. This isn't a role for which Kamailio is especially well-suited.
But it could be. We would need some events and RPC commands to make it a bit more useful.
Also a function to check if a particular registration is active or not.

/O
James Cloos
2014-07-23 22:16:52 UTC
Permalink
AB> The 'uac' module supports this:

AB> http://kamailio.org/docs/modules/4.1.x/modules/uac.html#uac.p.reg-db-url-id

Clearly I was drowsier than I thought when I researched that, as I
completely missed that part of uac. [SIGH]

Thanks.

-JimC
--
James Cloos <cloos-GRsvFm/Gh/***@public.gmane.org> OpenPGP: 0x997A9F17ED7DAEA6
James Cloos
2014-07-23 22:26:05 UTC
Permalink
AB> The 'uac' module supports this:

AB> http://kamailio.org/docs/modules/4.1.x/modules/uac.html#uac.p.reg-db-url-id

Clearly I was drowsier than I thought when I researched that, as I
completely missed that part of uac. [SIGH]

Thanks.

-JimC
--
James Cloos <cloos-GRsvFm/Gh/***@public.gmane.org> OpenPGP: 0x997A9F17ED7DAEA6
Loading...