On 17.02.23 11:44, Bernd Krueger-Knauber wrote:
Ok, one step further.
I need to use save() to add the phone as 'contact' when I get a REGISTER
I get now keepalive packets to the phone, but ...
I need them also to the PBX.
I can not add the PBX as contact, because it does not register.
I think there is no possibilty to add a manual entry in the usrloc
memory.
How can I also send the keepalive packets to the PBX?
Interconnect with a SIP system that does not register is usually done
with dispatcher module, which can send keepalives as well. Or if you
want to do with static rule in kamailio.cfg, look at keepalive module,
maybe you can build the solution you need.
Adding a manual entry in the usrloc is possibe via rpc or directly to db
table (for db only mode).
Cheers,
Daniel
--
Daniel-Constantin Mierla --
www.asipto.com
www.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio World Conference - June 5-7, 2023 -
www.kamailioworld.com
Kamailio Advanced Training - Online - March 27-30, 2023 -
www.asipto.com