On Jan 3, 2023, at 2:20 PM, Sergiu Pojoga
<pojogas(a)gmail.com> wrote:
Interesting workaround Alex, thanks for sharing.
For those who are looking for a less convoluted solution - may I suggest setting
endpoint's outbound_proxy value to Kamailio's address, such as
sip:proxy.mydomain.com\;lr
Though necessary, it is not sufficient. It'll get the REGISTER to Asterisk, but it
won't cause Asterisk to reach the registrant back via Kamailio.
Or do you mean "endpoint" in the chan_pjsip configuration sense? If so, and if
the flexibility is to do it that way, it should be fine.
In my case, I had phones which registered to Asterisk directly and phones which registered
via Kamailio. Hence the need for, as you say, a convoluted solution. :-)
-- Alex
--
Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web:
http://www.evaristesys.com/,
http://www.csrpswitch.com/